Jump to content
  • Advertisement
Sign in to follow this  
Tom Burman

Javascript tile based layered game maps information

This topic is 2033 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 Guys

Im building a 2D tile-based game using html5 canvas and JavaScript. It's an RPG and i plan on having large "wilderness" style maps for my levels.

Now what im looking for is a bit more information on how layers work with 2d tile maps to give a 3d like effect e.g. players can walk behind trees etc.

I would like to know:

  • What kind of layers are there? i know theres forground and background, but what others might be useful?

  • How many layers should i ideally have for my game?

  • What is a basic way to implement a system to read and display layered tile maps in javascript?

  • Are there any tutorials/guides/articles that could help me understand and also code this system?

Thanks very much guys, any help will be appreciated



Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!