19 articles and counting

Back from trip, ready to work

Last week I traveled around Europe. I visited Poland (Warsaw), Slovakia, Hungary (Budapest, Balaton lake), Austria (Vienna) and Czechia (Praha, Brno). During the journey I got a lot of new inspiration for my work :)

While I wait my mac-mini, I decided to create simple game for mobile phones with J2ME.
Here it is what I have done so far:

Network platform – simple commands sending, receiving and processing classes using TCP. Server side was made with c++ (scalable for multi-user) and client with J2ME (using two threads – one for commands receive and one for send).

Login system – client gui and some code on network platform.

Lobby – client gui (list, buttons, text box, font rendering):

Some environment design stages:

Currently I get ~22-30fps on my Nokia 6120c.

Collision system – firstly it was simple ray test collision, but for the performance issues (M3G checks ray test for all triangles in the scene) I changed it to circle-lines collision. My game will be based on “one height” plane, so this is fit for me, especially when it’s x2 faster now:

Note: collision lines can be non-perpendiculars and connected in to different groups.

Gun animation – I decided that gun should be animated 2d frames instead of 3d models for a better performance:

Sum up: Those, who have java skills already, J2ME is perfect environment to create games for mobile phones.

Next: I will try to create game play mechanics (player movements, shooting, different gun types)…

2 Responses to “Back from trip, ready to work”

1
Lukas - 09/07/09
Nice stuff dude :)
2
admin - 09/07/09
Thanks man :D

Comment / Leave a Review

  Name (required)
  Mail (will not be published) (required)