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

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4039
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re: iOS & Android port advance info
« Respuesta #30 en: Noviembre 16, 2011, 11:44:40 am »
Thanks for your feedback.

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4039
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re: iOS & Android port advance info
« Respuesta #31 en: Diciembre 27, 2011, 07:28:52 pm »
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 27, 2011, 07:30:57 pm por josebita »

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4039
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #32 en: Febrero 15, 2012, 04:33:32 pm »
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 :)

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4039
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #33 en: Marzo 10, 2012, 06:45:14 pm »
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.

Desconectado MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
    • Ver Perfil
Re:iOS & Android port advance info
« Respuesta #34 en: Marzo 10, 2012, 07:01:22 pm »
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

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4039
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #35 en: Marzo 10, 2012, 07:12:16 pm »
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.

Desconectado MisterN

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

Desconectado josebita

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

Desconectado MisterN

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

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4039
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #39 en: Abril 02, 2012, 12: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

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4039
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #40 en: Julio 19, 2012, 12: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, 01:50:57 pm por josebita »

Desconectado handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • Sexo: Masculino
  • I'm the eye in the sky.
    • Ver Perfil
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #41 en: Julio 20, 2012, 04:06:33 am »
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.


Conectado panreyes

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 2009
  • Karma: 64
  • Sexo: Masculino
    • Ver Perfil
    • panreyes.com
Re:iOS & Android port advance info
« Respuesta #42 en: Julio 20, 2012, 04:18:00 am »
Do not doubt it :)


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

Desconectado handsource-dyko

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

Desconectado MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
    • Ver Perfil
Re:iOS & Android port advance info
« Respuesta #44 en: Julio 20, 2012, 11:26:20 am »
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