nice to see orx running in a android game available in the market
of course I didn't have a look at the help before starting the game. then I was a bit clueless what to do and it took some time to figure out what the actual aim of the game is. so displaying some hint in the beginning of the level would be nice.(maybe only on first start)
the ads were blocking the time line on the bottom.
app2sd would be nice. Is this possible with orx on android?
out of curiosity: will the game run with any resolution and aspect ratio, or do you require a specific one?
app2sd should not be an issue, i just need to add an attribute in the AndroidManifest.xml of the game
for resolution/aspect ratio, it's all orx default behaviour.
the resolution is sent at orx initialisation with the values of the android window resolution, and orx keep the aspect ratio by adding black bar on the sides if necessary.
Bit of a late reply, but I'm digging the game! It's rather gratifying once you get your comet/asteroid/ball looping around for a long time.
Out of curiosity, how did you map Android gestures to Orx input events? Is there a tutorial on this specifically? The Orx-Android tutorial is basically just how to compile stuff for the platform; actually using the gestural input is another story.
Mmh, I haven't developed anything for Android myself yet, but I was wondering what you were calling gestures. Are they the same as in iPhone terminology (ie. gyroscopique pre-determined moves such as shake) or do you mean the shapes written with touches?
If so, single touch can be retrieved via the mouse interface (and thus mapped to the input plugin using the MOUSE_LEFT input). Multi-touches, on the other hand, require you to listen to a system event that will send you all the information you need.
So yes, in this case, a single touch is mapped to the MOUSE_LEFT input. Also, for convenience, the accelerometer is mapped to the first joystick (JOY_1_X/Y/Z).
For advanced gestures, I don't know what Android natively supports but iOS only has one: Shake. If you want other gestures, you'll have to analyze/detect them yourself.
Comments
I'll try to grab it on my wife's Android during the week.
of course I didn't have a look at the help before starting the game. then I was a bit clueless what to do and it took some time to figure out what the actual aim of the game is. so displaying some hint in the beginning of the level would be nice.(maybe only on first start)
the ads were blocking the time line on the bottom.
app2sd would be nice. Is this possible with orx on android?
out of curiosity: will the game run with any resolution and aspect ratio, or do you require a specific one?
app2sd should not be an issue, i just need to add an attribute in the AndroidManifest.xml of the game
for resolution/aspect ratio, it's all orx default behaviour.
the resolution is sent at orx initialisation with the values of the android window resolution, and orx keep the aspect ratio by adding black bar on the sides if necessary.
Gravity use a Viewport of 800x480
Out of curiosity, how did you map Android gestures to Orx input events? Is there a tutorial on this specifically? The Orx-Android tutorial is basically just how to compile stuff for the platform; actually using the gestural input is another story.
And good references?
If so, single touch can be retrieved via the mouse interface (and thus mapped to the input plugin using the MOUSE_LEFT input). Multi-touches, on the other hand, require you to listen to a system event that will send you all the information you need.
Not sure if that's what you were after!
Eventually I'll need more complex movements, but we'll cross that bridge when we get there.
For advanced gestures, I don't know what Android natively supports but iOS only has one: Shake. If you want other gestures, you'll have to analyze/detect them yourself.
Couple things:
Just some ideas, realy liked it, very cool!