Autor Tema: Advance info  (Leído 3864 veces)

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Advance info
« en: Enero 01, 2013, 04:57:24 pm »
I'm happy to say that I've patched SDL2 to include joystick support for Android, so the new SVN code now supports joysticks in Android!
You'll need Android 4.1 or over, though.

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12778
  • Karma: 375
Re:Advance info
« Respuesta #1 en: Enero 01, 2013, 05:03:58 pm »
I'm happy to say that I've patched SDL2 to include joystick support for Android, so the new SVN code now supports joysticks in Android!
You'll need Android 4.1 or over, though.

android 4.1 minimal?! is very high request... :(

I have an recent android device, and I don't have 4.1... you need support early versions...
« última modificación: Enero 01, 2013, 05:06:21 pm por SplinterGU »
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:Advance info
« Respuesta #2 en: Enero 01, 2013, 05:21:42 pm »
I'm happy to say that I've patched SDL2 to include joystick support for Android, so the new SVN code now supports joysticks in Android!
You'll need Android 4.1 or over, though.

android 4.1 minimal?! is very high request... :(

I have an recent android device, and I don't have 4.1... you need support early versions...
Android 4.1 is required to have working joysticks. I still need to do some testing but the exact same binaries will work in previous Android versions, you just won't be able to use joysticks if you don't have Android 4.1 or over.


One of my premises is that BennuGD on Android must work on anything above Android 2.3.

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12778
  • Karma: 375
Re:Advance info
« Respuesta #3 en: Enero 01, 2013, 11:34:09 pm »
but I don't understand... I have lot of games with joys support.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:Advance info
« Respuesta #4 en: Enero 06, 2013, 06:10:15 pm »
but I don't understand... I have lot of games with joys support.
Sorry for taking so long to answer.

The thing is that when SDL is initialized it has to know the full list of joysticks attached to the system. In order to do that you need a list of all the input devices attached to the system and you need to be able to tell the joysticks apart.
As far as I know you can do that only in Android 4.1 or over.

However, joystick button and movement where included much earlier. You can parse those events in earlier versions of Android, but you can only (as far as I know) get a full list of joysticks attached to the system in Android 4.1 or later.
The problem here is creating the list of devices, then, not parsing the input itself.

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12778
  • Karma: 375
Re:Advance info
« Respuesta #5 en: Enero 07, 2013, 02:18:32 am »
but is possible with previous SDL use the joys attached or not (without refresh when you connect and disconnect)?
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:Advance info
« Respuesta #6 en: Febrero 15, 2013, 11:13:10 am »
Hi,

I'd like people to test the following APK in older versions of Android (2.3) and in newer ones and report on the result:
https://www.dropbox.com/s/ef7i2g5jn2azddo/MyGame-debug_20130215.apk

It should include the newer joystick code but it should be working in Android 2.3, too.

Thanks a lot in advance :)

panreyes

  • Administrator
  • *****
  • Mensajes: 2184
  • Karma: 74
    • panreyes.com
Re:Advance info
« Respuesta #7 en: Febrero 15, 2013, 11:17:11 am »
Glad to know that :D


I will test it as soon as possible, but I don't know where. My Samsung Galaxy S i9000 has Android 4.2.1 xD

FreeYourMind

  • Hero Member
  • *****
  • Mensajes: 5648
  • Karma: 127
    • GECA soft
Re:Advance info
« Respuesta #8 en: Febrero 15, 2013, 11:52:12 am »
no works in 2.2 (in the other forum you put 2.2)

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:Advance info
« Respuesta #9 en: Julio 11, 2013, 05:54:12 pm »
Here's some update to the status of the port:
http://bennugd-mobile.blogspot.com/2013/07/new-release-coming-this-time-for-ios-too.html

The code is pretty much done, it just needs testing.

BlackCurtain

  • Full Member
  • ***
  • Mensajes: 187
  • Karma: 9
    • Black Curtain Studio
Re:Advance info
« Respuesta #10 en: Julio 12, 2013, 10:57:31 am »
Here's some update to the status of the port:
http://bennugd-mobile.blogspot.com/2013/07/new-release-coming-this-time-for-ios-too.html

The code is pretty much done, it just needs testing.
Karma to that!

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:Advance info
« Respuesta #11 en: Agosto 20, 2013, 02:54:07 pm »
Here's some info on the latest development of the iOS/Android ports, I think it's pretty interesting :)
http://bennugd-mobile.blogspot.com.es/2013/08/wip-games-gpu-scaling-and-bennugd-2.html

tmoney

  • Jr. Member
  • **
  • Mensajes: 64
  • Karma: 9
Re:Advance info
« Respuesta #12 en: Agosto 22, 2013, 12:19:08 am »
cool. do you have any idea when you will post an updated version of the packager?

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:Advance info
« Respuesta #13 en: Octubre 14, 2013, 08:01:15 pm »
Here's a new post with info on the latest developments:
http://bennugd-mobile.blogspot.com.es/2013/10/mvr-gpu-scaling-in-app-purchases.html

For those of you looking for an easy way to package your games, see PixTemplate at the end of the post.