Skip to main content
gamedev.net
🔒 Locked

[java] Level Map ????

Started by umarfm13 0 replies 800+ views
Original Post
umarfm13
umarfm13
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
Jebediah
Jebediah
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.