Friday, July 16, 2010 - 11:08 PM
Last night I started working on the Riichi Mahjong game for Android. I got everything set up and did a bunch of research on how the game should be structured, what technology to use, etc. There's an open source game called Replica Island that structures it's game in a good way that should be efficient on a mobile platform. I searched many blogs and things getting advice on which OpenGL ES version and Android platform I should use, and I poked around Replica Island's source for a while. I also took a good look at what Mahjong games (and games in general) are available on Android at present.
I decided to target OpenGL ES 2.0, but also have a OpenGL ES 1.0 version as well, so that I can actually debug the program (Currently, the emulator cannot run OpenGL ES 2.0 applications, requiring me to actually get an Android phone for me to run and debug... all in due time, but not now). There are other Mahjong games, but mine will be much better. I will use a similar underlying structure as in Replica Island, with a an update and render thread (Actually, I already use an update and render thread with double buffering in DUI2, so I'm glad that great minds think alike!).
So far I have OpenGL ES 1.0 running and making a green screen. It's full screen and I receive touch screen input. I also have the update and render threads running in synch with each other. So far I think my implementation is a little cleaner than Replica Island's, but time will tell once I start adding more stuff to it.
I decided to target OpenGL ES 2.0, but also have a OpenGL ES 1.0 version as well, so that I can actually debug the program (Currently, the emulator cannot run OpenGL ES 2.0 applications, requiring me to actually get an Android phone for me to run and debug... all in due time, but not now). There are other Mahjong games, but mine will be much better. I will use a similar underlying structure as in Replica Island, with a an update and render thread (Actually, I already use an update and render thread with double buffering in DUI2, so I'm glad that great minds think alike!).
So far I have OpenGL ES 1.0 running and making a green screen. It's full screen and I receive touch screen input. I also have the update and render threads running in synch with each other. So far I think my implementation is a little cleaner than Replica Island's, but time will tell once I start adding more stuff to it.
0 Comments
Write a Comment!