Galactic Airport - Keep the space safe

Monkey Archive Forums/Monkey Projects/Galactic Airport - Keep the space safe

NotSure(Posted 2012) [#1]
Just released ...

HTML5:
http://kstadler.ch/ga/

FLASH:
http://kstadler.ch/ga/flash.html

ANDROID: (no ads, free)
http://kstadler.ch/ga/galacticairport.apk


Beaker(Posted 2012) [#2]
Not bad Flight Control clone. HTML5 version works well on iPad.


chrisc2977(Posted 2012) [#3]
I Really like this, great job :)


Neuro(Posted 2012) [#4]
Plays well too in fullscreen on the iPhone 4s. Too bad we can't bring up the keyboard to submit out name for the leaderboards :).


slenkar(Posted 2012) [#5]
nice little game there,
technically its a spaceport :D


semar(Posted 2012) [#6]
Nice one !

How did you achieve the full-screen mode ?

Sergio.


Neuro(Posted 2012) [#7]
How did you achieve the full-screen mode ?

http://www.monkeycoder.co.nz/Community/posts.php?topic=1434


NoOdle(Posted 2012) [#8]
Nice, unlocked the first 6. It gets very very hard! I noticed a bug, it spawned two spaceships almost on top of each other off of the screen and all my ships exploded and I lost the level.

Good fun!


semar(Posted 2012) [#9]
Thanks Neuro for the link.

I suppose, we can call a javascript function from within monkey then - am I right ?

If so, could you (or someone else) share his/hers wisdom on how to accomplish this ?

(a working example would be great)

Many thanks,
Sergio.


Neuro(Posted 2012) [#10]
I suppose, we can call a javascript function from within monkey then - am I right ?


Yes you can, and i believe you can even call external C++ code too but not sure about C# though. I don't want to hi-jack this thread so i'll create a little tutorial later on it.


NotSure(Posted 2012) [#11]
@NoOdle

Thanks for playing. I've updated the game so collisions should not occure anymore when the ships spawn.

The progress should be saved since it just make usage of LoadState and SaveState. Did you play the HMTL or FLASH version ?

@semar
To run it fullscreen all you do is

#GameCanvas {
  position:absolute;
  width: 100%;
  height: 100%;
}


on the css part and changing in main.js the RESIZEABLE_CANVAS from false to true

//Change this to true for a stretchy canvas!
//
var RESIZEABLE_CANVAS=true;



NoOdle(Posted 2012) [#12]
I'm not sure why the progress didn't show last night, just been playing this again and it was fine. My browser might have got its knickers in a twist!