Device Testing: New RI-built pseudo 3D game

33 views
Skip to first unread message

Greg Holland

unread,
Aug 13, 2010, 7:07:33 PM8/13/10
to ReplicaIsland Coding Community
Hi,
Please help me test my new game "Fruit Samurai" for android. The
game itself is inspired by the top selling iphone "Fruit Ninja" game.
I did all of the modelling, artwork, texturing and coding by myself
over a period of 5 weeks on nights and weekends. The game engine uses
a highly modified version of the ReplicaIsland engine with the
rendering pipeline completely re-written to handle 3D meshes. I also
wrote a particle system and a motion-streak system on top of the
ReplicaIsland code.

Obviously, the links from the demo to the android market to my full
app is not available at this point since its not published yet =P

Here's the .apk:

http://www.sendspace.com/file/km272x

Cheers,
Greg

Chris Pruett

unread,
Aug 13, 2010, 7:33:25 PM8/13/10
to replica-island-...@googlegroups.com
Hi Greg,

Wow, this sounds really cool. I'm getting an assert, though (I have
asserts turned on, most users do not):

AndroidRuntime E FATAL EXCEPTION: Thread-17
3520 AndroidRuntime E java.lang.AssertionError
3520 AndroidRuntime E at
com.karthik.fruitsamurai.engine.FixedSizeArray.get(FixedSizeArray.java:
164)
3520 AndroidRuntime E at
com
.karthik
.fruitsamurai.engine.GameProfiler.startSection(GameProfiler.java:50)
3520 AndroidRuntime E at
com.karthik.fruitsamurai.simulation.GameThread.run(GameThread.java:52)
3520 AndroidRuntime E at
java.lang.Thread.run(Thread.java:1096)
86 ActivityManager W Force finishing activity
com.karthik.fruitsamuraidemo/.MainActivity

Looks like the FixedSizeArray in the profiler is overflowing.

Cheers,
Chris

Greg Holland

unread,
Aug 13, 2010, 7:57:08 PM8/13/10
to ReplicaIsland Coding Community
Oops, indeed I didn't setup my profiler properly, good catch! I didn't
even know I had to set compat. to 1.4 in order to have asserts
working.

Here's the updated .apk with the error fixed!
http://www.sendspace.com/file/52zooo

Thanks Chris for the help!

Greg

Chris Pruett

unread,
Aug 13, 2010, 8:11:59 PM8/13/10
to replica-island-...@googlegroups.com
Hey Greg,

The new version loads but then hangs on the Loading Game screen,
though I can see the menu in the background. I'm on a Froyo N1.
Anything I can do to help debug?

Chris

Greg Holland

unread,
Aug 13, 2010, 8:27:52 PM8/13/10
to ReplicaIsland Coding Community
Hi Chris,
Thanks for the feedback, I borrowed a froyo N1 a moment ago and
reproduced this. apparantly the N1 is so fast that it loads up the
screen and sends the "oncomplete" message before the dialog even gets
shown. However, on the G1, the loading can actually take up to 30
seconds which is why I have this dialog in the first place. I have
handled this case and the updated .apk is below:

http://www.sendspace.com/file/d6x0j3

Thanks again for the help, i really appreciate it

Cheers,
Greg

Bart Hirst

unread,
Aug 13, 2010, 9:14:40 PM8/13/10
to replica-island-...@googlegroups.com
Greg, first time I loaded on the D1 I swiped and nothing happened, just the background screen looking at me (maybe because I just hit the "full version" fruit and not the demo?)  I went out and came back in and saw the "Loading Game" screen as Chris mentioned above.  I went back out, killed the task, and went back in.  Seemed to be running just fine at that point.

All that aside the game is awesome!  The pacing, art, animations and sound are all great, and the addictiveness is definitely solid.  I couldn't stop playing! lol.

p.s. I may have just reproduced the "loading game" issue.  My phone went to sleep at the menu screen, woke up and said it crashed and sent you crash report.  I relaunched the game and there's the "loading" screen.

Andrex

unread,
Aug 13, 2010, 9:38:44 PM8/13/10
to ReplicaIsland Coding Community
Works perfectly on my ODROID-S. You've made a very fun demo!

Greg Holland

unread,
Aug 13, 2010, 9:46:32 PM8/13/10
to ReplicaIsland Coding Community
Thanks for the kind words guys! Thanks to acra: http://code.google.com/p/acra/
, which i highly recommends, i've made some more fixes for the loading
screen issue here:

http://www.sendspace.com/file/cnr2ld

I'm going to try release this so i can clean up parts of this game
which i'd love to opensource, specifically, i will release the
Particle Designer compatible particle system.

Greg Holland

unread,
Aug 13, 2010, 10:03:29 PM8/13/10
to ReplicaIsland Coding Community
updated, i just realized how unreliable showDialog/dismissDialog can
be by reading here:

http://stackoverflow.com/questions/891451/android-dismissdialog-does-not-dismiss-the-dialog

Its been refactored to avoid these problems:

http://www.sendspace.com/file/ub2rpn

Once again, thank you guys so much for the help
Reply all
Reply to author
Forward
0 new messages