[Showcase] Asteroids:Galactic Wars. My first game, a space shoot-em-up + Some android tips

37 views
Skip to first unread message

ThunderXBlitZ

unread,
Dec 21, 2015, 1:47:34 AM12/21/15
to HaxeFlixel
https://play.google.com/store/apps/details?id=com.jabberwocky.asteroids

My first game in haxeflixel, made for android phones. Its a 360 degrees space shoot-em-up. Hope u guys have fun! (Completely free to play)


Some tips for android development:

1) Scaling seems to be very slow on older devices. Running multi-resolution assets is much faster.
2) To disable/override android back button:
*** Create ***
#if android
FlxG.android.preventDefaultBackAction = true;
#end
*** Update ***
#if android
if (FlxG.android.justPressed("BACK")) DoSomething();
#end
3) Use extension-admob for admob ads and google services (havent tested this). Super easy setup, just remember to target the latest android version in project.xml
(<android target-sdk-version="23" />  for me, older versions caused some weird errors when building)

4) To hide android menu bar (home button, back button, task manager button) see this.

5) Publishing to appstore, see this

Reply all
Reply to author
Forward
0 new messages