Jump to content
  • Advertisement
Sign in to follow this  
Subalee

2D Tower Defense top-down view JavaScript

This topic is 716 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

Hey Everyone!
 
I'm looking for advice with a top-down tower defense game very similar to kingdomrush http://www.adweek.com/socialtimes/wp-content/uploads/sites/2/IMG_1398.png I guess plants vs zombies has a similiar approach aswell

 

Now as for my background I did a fairly minimalistic version of PacMan in Java last year (tilemap, movement, collision, AI, but without any sophisticated pathfinding)

 

I'd like to tackle this with JavaScript(ES6) and HTML5 Canvas. What I need right now is someone to explain to me how do i structure the map.

 

Can anyone briefly explain the approach kingdom rush uses?

 

How should i go about creating the overlapping trees or other objects?

 

How to handle objects that are bigger than one tile? should i cut them into pieces?

 

And last but not least. How should i go about path finding for the creeps? should i read up on using path finding algorithms or is there a simpler solution if i have a predefined path on the map.

 

 

DISCLAIMER: I'm not looking to copy kingdom rush or any other tower defense game. This question is for purely educational purposes

 

Thanks for all the tips!

Edited by Subalee

Share this post


Link to post
Share on other sites
Advertisement
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!