Alien Runner W.I.P

Started by EgonOlsen, July 18, 2010, 10:16:26 PM

Previous topic - Next topic

zammbi

QuoteDoes the sky look right?
Seems fine on mine.

How do you change the map without a keyboard?
Maybe you should add a quit button on screen somewhere since the back button doesn't quit.
If I open the keyboard on the loading screen it still crashes.


raft

QuoteDoes the sky look right?
seems ok on my N1

EgonOlsen

#62
Had the possibility to run it on a Samsung Galaxy S with 2.2 installed. It never dropped below the Samsung's fps limit of 56 fps no matter what i did...very cool!

Thomas.

Quote from: EgonOlsen on November 17, 2010, 08:31:45 AM
Had the possibility to run it on a Samsung Galaxy S with 2.2 installed. It never dropped below the Samsung's fps limit of 56 fps no matter what i did...very cool!
Is it your SGS? When will be support for OGL 2.0? ;D

EgonOlsen

No, it wasn't mine. Support for 2.0 will be added when i have a capable phone and there's actually a real need for it. Currently, i don't see any...

raft

Quote from: EgonOlsen on September 30, 2010, 11:46:13 PM
Has some simple sound effects now. I tried to add music too, but it either needed too much memory or was annoying because it looped after a few seconds, so i finally decided against it.

BTW: Use ogg, not wav when using the SoundPool...

seems as SoundPool is not suitable for -relatively- long sounds like music. -at least on N1- MediaPlayer can effectively handle a few minutes long music files

EgonOlsen

#66
Thats because SoundPool decompresses after loading and MediaPlayer doesn't. However, using MediaPlayer on a phone like mine leaves not enough cpu available for the game to run fast enough.

paulscode

I'm working on a software mixer in native code.  It might be a better option for long sounds.  I'll post the code when I get it working.

Prafful

Is "alien runner" code available for study?

EgonOlsen

Not yet, but i can zip the project files and upload it if it helps to look at some undocumented. messy code.

EgonOlsen

#70
Here's the project: http://jpct.de/download/AlienRunner-AE.zip

Edit: A word about the license for these sources...basically, it's the same "do with it whatever you want"-license with one exception: I don't want to see modified Alien Runners appear in the market. You are free to use the sources, extract stuff, add stuff...build your own game based on them. But please don't change two textures and call it Belien Runner or similar. It's not worth it anyway, because Alien Runner is only a mediocre game.

Thomas.


Prafful

Quote from: Thomas. on February 10, 2011, 09:29:03 PM
Thanks, it is useful :)
No worries, EgonOlsen: I will try to document the code and publish it back. It might help other learn the engine like it helped me.

tbtest550

 I have a simple question after learning your code. why don't u use collisonevent and collisionlistener to instead of foreach. does it because of the efficiency ???

EgonOlsen

I use this polling instead of the events to avoid object creations. Each event creates a new instance and on older devices, this may become an issue.