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

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #45 en: Agosto 04, 2012, 12:40:03 pm »
Galaxy S should work, yeah. It's more of an OS version thing than anything else.
As for the resolution question: you can do that in BennuGD right now using scale_resolution:
http://www.bennugd.org/?q=node/27

Today I've added mod_key to the builds:
http://bennugd-mobile.blogspot.com.es/2012/08/modkey-working.html

mod_regex is still missing, will have to look at it at some point.

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #46 en: Agosto 04, 2012, 01:33:59 pm »
Mod_key eh? Does that mean that external bleutooth keyboards can be used? Some tablets like the ASUS transformer and the Galaxy tab support a special keyboard add-on. I wonder if it behaves like a normal pc keyboard. I don't know much about android's device handling. But I suppose such a keyboard would work? Some android phones have a physical (miniature) keyboard too. Keyboard support would be advantages so that I don't have to create a virtual d-pad because I don't want to (they are kind of crap with the emulators I play on the galaxy S2 and feel I don't want to use that for Malvado). With a lot of android devices you can simply plug in a usb device or use some bluetooth periphial and it'll work more or less. A lot of emulators support external devices and I want to use those too because I think it's better for most games. Sony got this right with the playstation phone by including hardware buttons and a d-pad.

Just a side note: does mod_key activate the virtual keyboard? That seems sort of standard in a lot android apps and I wonder if it's an api function that can be activated.

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #47 en: Agosto 04, 2012, 02:08:09 pm »
I haven't tested bluetooth/USB keyboards and, really, have no idea on how they work. If anyone can test those in the future, that'd be great as it's a very interesting feature :)
The buttons in the Android phones (Volume Up/Down, call, return...) are treated like keys and that's what this is mainly useful for.
You can, of course, also implement standard keyboard input through mod_key for devices with attached keyboards.

And no, mod_key doesn't -currently- implement a way for displayng the on-screen keyboard. Will have to look at that.

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #48 en: Agosto 04, 2012, 10:08:23 pm »
mod_regex built in. I've compiled an apk that implements the wiki's Split example. If you want to try it, it's here:
https://t.co/S549QIfg

Just be warned that it only dumps info to the adb logcat, nothing should happen on the phone more than seeing the app open and close instantly.

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #49 en: Agosto 05, 2012, 09:14:44 am »
I've seen the video on your blog with the Android emulator with the key demo, and I'll think key inputs may work out of the box with the virtual keyboard. The keyboard in the emulator looks very similair to the on-screen keyboard. I'd reckon since Android is linux based, keyboard inputs could be universal regardless of the physical or virtual nature. So you may be in luck here.

I've seen demos of people testing playstation controllers with android devices and they seem to work out of the box because Android 4 has usb host support built-in. So that may possibly make the job a little easier. :D Android looks to me like a very flexible and open system with a lot of pc-like features.

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #50 en: Agosto 09, 2012, 10:16:37 pm »
I really cannot test keyboard input myself in anything other than the emulator. It'd be great if someone got one of those bluetooth keyboards and tested it.

Also, today I've added the ability to open links in the Android OS from within BennuGD code:
http://bennugd-mobile.blogspot.com/2012/08/opening-links-from-code.html

And I've published a couple of images of what the packager looks like:
http://bennugd-mobile.blogspot.com/2012/08/packager-update.html

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #51 en: Agosto 10, 2012, 07:10:05 am »
Wow. Looking nice, is there also a packager for windows? Or more specifiacally, can I modify an existing package? Apk files are zip files with a directory structure. Only some xml files seem to have binary content when I view them with notepad++.

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #52 en: Agosto 10, 2012, 11:03:43 am »
Wow. Looking nice, is there also a packager for windows? Or more specifiacally, can I modify an existing package? Apk files are zip files with a directory structure. Only some xml files seem to have binary content when I view them with notepad++.
The packager currently runs in Windows, Linux and MacOS X. It can be made to run in other desktop systems too, if needed.

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #53 en: Agosto 13, 2012, 03:35:57 pm »
Volume keys are now working normally in Android games created with BennuGD:
http://bennugd-mobile.blogspot.com/2012/08/volume-keys-file-saving-on-android.html

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #54 en: Agosto 18, 2012, 01:56:41 am »
This is how the Android packager is looking right now:



Things that are working:
  • Selective game packaging (will package your game but ignore *.exe, *.dll and so on)
  • Game name changing
  • Game icon changing
  • Debug/release packaging
  • Game installation after packaging
  • Automatic detection of installed android virtual machines. They can be launched from the app menu.
I'll probably release a preview version this weekend.


PS: Javis is the author of the icon; thanks a lot!

gecko

  • Hero Member
  • *****
  • Mensajes: 809
  • Karma: 47
    • Torres Baldi Studio
Re:iOS & Android port advance info
« Respuesta #55 en: Agosto 18, 2012, 01:58:54 am »
this looks REALLLLLLY GOOD!

Torres Baldi Studio
http://torresbaldi.com

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #56 en: Agosto 18, 2012, 02:03:58 am »
this looks REALLLLLLY GOOD!
Thanks :) I hope it's useful. When all the android packaging code is working as it should, I'll try to add some more platform options: Mac, Linux DEB, Linux TAR...

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12837
  • Karma: 377
Re:iOS & Android port advance info
« Respuesta #57 en: Agosto 18, 2012, 02:36:33 am »
wow! karma!
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #58 en: Agosto 18, 2012, 08:16:13 am »
Wow! Pretty sweet. I see it supports different cpu architectures.

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re:iOS & Android port advance info
« Respuesta #59 en: Septiembre 01, 2012, 03:42:15 pm »
Hey Dyko, did you get my last email? I need help with my engine, once I can finish all these minor things up and give the enemy AI, then its done (or so I hope). And then I will port it to the Android (the platform I am going to release it to most likely first).
werg