Bennu Game Development

English Forums => Helpdesk => Topic started by: Zip on January 10, 2014, 06:30:56 PM

Title: help need how to port game to android
Post by: Zip on January 10, 2014, 06:30:56 PM
hello ppl !
I no longer used bennu for a while and do not know the situation Android how has evolved.
I would like to bring my game earth (invasion originally developed for Pandora) and port to Android.
but I do not know where to start,
for example, the native resolution of the game was: 800 x 480
I never developed on android, there is a standard resolution? how do I change the game about the resolution?
how to compile it? etc.

thanks
Title: Re:help need how to port game to android
Post by: FreeYourMind on January 10, 2014, 08:11:45 PM
You have X different resolutions, depends of tablet or phone xD i recomend use always fullscreen stretch. See pix games code
Title: Re:help need how to port game to android
Post by: Zip on January 10, 2014, 08:49:00 PM
where is the source of pix's game?
Title: Re:help need how to port game to android
Post by: FreeYourMind on January 10, 2014, 09:33:38 PM
Google code pixjuegos
Title: Re:help need how to port game to android
Post by: panreyes on January 10, 2014, 10:15:01 PM
Or PiX Template :)
http://www.bennugd.org/es/node/192
Title: Re:help need how to port game to android
Post by: Zip on January 12, 2014, 05:32:56 PM
nothing in english? i know im italian and i should understand spanish, but its not my case :P
thanks
Title: Re:help need how to port game to android
Post by: FreeYourMind on January 12, 2014, 07:42:18 PM
Bennu sintax is english based xD for comments use google translator jajaja
Title: Re:help need how to port game to android
Post by: Zip on January 13, 2014, 06:58:51 PM
ok ill study spanish :P

wait my question soon for port:)

edit: ok
where to start?
Title: Re:help need how to port game to android
Post by: l1nk3rn3l on January 13, 2014, 09:05:53 PM
Quote from: Zip on January 13, 2014, 06:58:51 PM

where to start?




PLEASE DOWNLOAD BENNUPACK (INCLUDE TOOLS, IDE AND GAME EXAMPLES  )
https://code.google.com/p/colombiandevelopers/downloads/list (https://code.google.com/p/colombiandevelopers/downloads/list)









Title: Re:help need how to port game to android
Post by: JaViS on January 14, 2014, 02:43:11 PM
Quote from: PiXeL on January 10, 2014, 10:15:01 PM
Or PiX Template :)
http://www.bennugd.org/es/node/192 (http://www.bennugd.org/es/node/192)


you should definitely look at this. It's a project template with all the scripts necessary to export the game to OUYA nd Android phones
Title: Re:help need how to port game to android
Post by: Zip on January 16, 2014, 02:09:14 PM
@ l1nk3rn3l (http://forum.bennugd.org/index.php?action=profile;u=44) the game is already made! (with bennupack :P) i need to port

@javis

downloaded yet,

there is'nt a tutorial?
like a list of what you need to add for make a game runnable on android?

thanks to all

Title: Re:help need how to port game to android
Post by: JaViS on January 16, 2014, 03:27:14 PM
there isn't a tutorial, it's actually very simple, you just need to look at that project and figure out what you need to change. there are some .bat files that does all the work for you. exportar_ouya.bat and exportar_android I thin are their names.
Title: Re:help need how to port game to android
Post by: Zip on January 21, 2014, 07:11:11 PM
im going mad for editing this bat file, my game files is not structured like plantilla.prg example

1) i need to recompile fpg?
2) could you make a folder with various script more generic editing "plantilla.prg""plantilla.dcb" etc with "insertnamegame.prg" ?
3) why when i compile plantilla.prg in temp folder doesnt appear nothing?
4) i usually dont use in my code :
import mod math
import mod draw etc
i just put bgdc.import in same folder of source of game, that its a problem for android port?

thanks
Title: Re:help need how to port game to android
Post by: Zip on February 04, 2014, 04:47:11 PM
any help? :S
Title: Re:help need how to port game to android
Post by: Grew on March 22, 2014, 12:51:57 PM
I have the same problem as you.
When I run exportar-android.bat, the "temp" folder opens, but there is nothing inside.
I know this is a very good thing to have done this template and I'm sure this is a good job, but please could you juste give us some instructions to help us ?