developing a 2D mobile game in J2ME
I'm developing a 2D mobile game in J2ME. I want different background, different pictures in each level. We wrote the different class for each level. Is this the correct way to? We do not use cards in J2ME. Pls let me know if you have any sample code for that. And also we want to detect a collision with the TiledLayer animated sprite hero. And the hero must lose if enegry key hits empty as animated tiles. How can this be done? Please help... :rolleyes:
Re: developing a 2D mobile game in J2ME
If you are using LayerManager and TiledLayer with Sprites have you will already have all the tools that may be needed, There are lots of examples on the net about how to view a background in java or level it with specifically TiledLayer and LayerManager... You can also define sprite as a seperate class itself. Hope this helps... :thumbup1:
Re: developing a 2D mobile game in J2ME
A much more better way to implement maps is using tile editor. Also try mappy if you feel thats easy. You can make a class in general section for loading map data into game instead of creating class seperately for different levels altogether... Hope this helps..! :thumbup1:
Re: developing a 2D mobile game in J2ME
I haven't tried tile editor, will give it a try. I have used mappy, but it isnt that easy to implement. Anyways, thanks guys, will try it out and give the feedbacks, Thanks for the answers... :biggrin: