Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

umarfm13

[java] Level Map ????

This topic is 5318 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi ! I wanted to make a game engine for java mobiles. And i am currently in the design phase of my Engine. Can anybody with an engine design experience guide me how possibly could i define my level maps. What i mean by level maps is that if my engine wants to load a particula level of a game lets say level-01 then it should be able to load all the entitities, sounds, sprites etc. required for this level using a level map file. and i need suggestions of how to design the format of a level map. Regards, Umar

Share this post


Link to post
Share on other sites
Advertisement
Metinks it depends on what kind of game you are developing. I load all the tiles and a script index (if any). The script itself would contain the actions, images and such in a seperate file. Works best for rpg''s.

3
3
1,1,1
1,2,s17,1
1,1,1

This map would load all tiles of 1 except the middle tile. The middle tile is 2 with a script 17 attached. In your case it would be an entity.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!