pls refer this image. http://www.sumea.com/racingfever2/racingfever2_176x208_3650_1.gif I am strugling to understatnd the basic technique behind this Racing game. I had asked this in so many j2me and game forums. some suggest Raycasting some suggest 2d perspective i am confused pls help me or atleast give me a ref. Sites or forums where i can do the same. Javaranch is last hope for me thanx wating for reply
Well, racing games are not different from any other animation games. David Fox and Roman Verhovsek's Micro Java Game Development has a good example on race car games. A more generic game example can found in Jason Lam's online book J2ME and Gaming.
Jason Lam's book is in the progress, and there is another 50% to fill in. Another great book named [Micro Java Game Development] do cover car racing game, just that it looks like pure 2D game. To simulate 3D game, yours car racing game can be built with isometric methods. The most difficult parts should goes to the background and the synchronized-small-moving-points on the map. Normally the background is put as static, or just moving repetitively left-n-right. MIDP 2.0 provides Game API, which MIDP 1.0 doesn't have. And...my manager wants me to develop a car racing game using MIDP 1.0. It's a slow progress in fact.
posted 14 years ago
For 3D games, you need JSR 184 (the Mobile 3D API). It is coming to highend Nokia and Motorola phones within this year. (I hope they can make Java better on NGage 2!) But it is not much help today.
Originally posted by vishwas bhatt: I had asked this in so many j2me and game forums. some suggest Raycasting
I don't know if you are referring to raytracing. Its the process of determining where shadows should be since the computer can't just 'know'. You need a decent phone though to be able to implement shadows and stuff - the graphic chip people (e.g. ATI) might probably handle some of that implementation, as soon as their chips are more comonly found in popular handsets.