Autor Tema: iOS & Android port advance info  (Leído 48400 veces)

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re: iOS & Android port advance info
« Respuesta #30 en: Noviembre 16, 2011, 07:44:40 pm »
Thanks for your feedback.

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re: iOS & Android port advance info
« Respuesta #31 en: Diciembre 28, 2011, 03:28:52 am »
Changes committed to the tree today (today I focused on Android, but some changes are universal):

  • mod_multi now returns an absolute position (considering your screen resolution) and for pressure it returns a value between 0 and 255. It still doesn't take rotation or scaling into account.
  • libcurl is now compiled in Android, too.
  • mod_curl integrated into the default Android build.
  • Added another script to automatically fetch FMOD Ex for Android API from fmod.org. I won't be distributing their binaries on the repo.
  • Added a new Android project for the FMOD Ex-enabled build (it's just a placeholder, yet).
Please note that I'm having some trouble with the compilation scripts and I haven't been able to compile the APK today. I'm not in the same computer where I usually code so it might just be a setup issue or maybe I really broke something in the scripts...
« última modificación: Diciembre 28, 2011, 03:30:57 am por josebita »

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #32 en: Febrero 16, 2012, 12:33:32 am »
Well, some things in the Android port had stopped working with the latest changes to the SDL code and with my focus to the iOS code.
Now that I've finished my exams, I've been working a bit on getting the Android port to work again:





It's not anything too big. I just wanted to share that code is working, again :)

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #33 en: Marzo 11, 2012, 02:45:14 am »
I'm releasing a very early preview release of BennuGD for Android here:
http://bennugd-mobile.blogspot.com/2012/03/bennugd-for-android-preview-release.html

Please, report unknown bugs here.

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:iOS & Android port advance info
« Respuesta #34 en: Marzo 11, 2012, 03:01:22 am »
Will there be a way to make an app that includes both bennugd and the game itself? Like an app you buy from the app store or whatever?
werg

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #35 en: Marzo 11, 2012, 03:12:16 am »
Will there be a way to make an app that includes both bennugd and the game itself? Like an app you buy from the app store or whatever?
Obviously, yeah. I don't see what point it'd have to have any other way of distribution.

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:iOS & Android port advance info
« Respuesta #36 en: Marzo 11, 2012, 04:56:27 am »
Is there a tutorial on your page? google code isnt loading right now on my pc :(
werg

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #37 en: Marzo 11, 2012, 05:58:20 am »
The link I just posted contains detailed instructons. You'll still need the package from google code, though.

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:iOS & Android port advance info
« Respuesta #38 en: Marzo 11, 2012, 06:27:54 am »
thanks! im gonna test this with my samsung galaxy s 4g
werg

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #39 en: Abril 02, 2012, 08:40:41 pm »
mod_multi for windows: Won't give you multitouch in windows but will allow you to compile games that run in ios&android, where you do have multitouch:
http://code.google.com/p/bennugd-monolithic/downloads/detail?name=bennugd-module-multi-fake_win32.7z

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #40 en: Julio 19, 2012, 08:43:19 pm »
New post with info and a video showing the current status of the Android port:
http://bennugd-mobile.blogspot.com/2012/07/android-progress.html


[Edit] This is how it'll work: if you don't call set_mode() the screen will be set to your devices default resolution. If you do, then a "virtual" resolution will be set in the center of your screen.
Once your device's resolution has been set, you can retrieve it with:
graphic_info(0, 0, G_WIDTH);
graphic_info(0, 0, G_HEIGHT);
[Edit2] If you want to test the code and report on the results, here you have the apk. It should start on your device's native resolution:
https://www.dropbox.com/s/idii1isnjalvu2t/SDLApp-debug_20120719.apk
[size=78%]If it fails, please attach the result of:[/size]
Código: [Seleccionar]
adb logcat Debug:* SDL:* SDL/APP:* *:S

Thanks for your help
« última modificación: Julio 19, 2012, 09:50:57 pm por josebita »

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #41 en: Julio 20, 2012, 12:06:33 pm »
I've just tested the package, and it works just fine on a Samsung Galaxy S2, with android 4 ICS.  :)

Just a few questions: Is it possible to support the "back" button and the left menu button?
Also Android 4 has support for usb host devices and gamepads, are these kinds of input devices supported? That would be handy, because I've heard of the http://www.kickstarter.com/projects/ouya/ouya-a-new-kind-of-video-game-console OUYA project that is a proposal for a $100 opensource android based gameconsole. It would be cool if we could support it.


panreyes

  • Administrator
  • *****
  • Mensajes: 2060
  • Karma: 65
    • panreyes.com
Re:iOS & Android port advance info
« Respuesta #42 en: Julio 20, 2012, 12:18:00 pm »
Do not doubt it :)


BennuGD will be supported in OUYA no matter what! :D

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #43 en: Julio 20, 2012, 12:36:59 pm »
Awsome!  :)

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:iOS & Android port advance info
« Respuesta #44 en: Julio 20, 2012, 07:26:20 pm »
All I have is a galaxy s 4g will that work? Also I am wondering a bit about the resolution (because I havent messed with the droid port).

*Does android have the capabilities of allowing a game regardless of the resolution to play on a phone? The Galaxy S 4G's resolution is 800x480, if I were to put my game on it which is 320x240, would the phones resolution be set to that and make everything all weird, or would the game just be scaled on the phone (while still in the proper aspect ratio)
werg