courcat / dhrog

HTML5 Strategy Game
https://www.courcat.com/dhrog/
GNU General Public License v3.0
3 stars 0 forks source link

Added Roads #2

Closed oolivero45 closed 7 years ago

oolivero45 commented 7 years ago

Added roads.

oolivero45 commented 7 years ago

I may also add dirt paths (as the textures already exist for them), which are cheaper but have a higher movement cost. However, this would mean that the movement cost would have to be a decimal value. Thoughts @dotjersh?

joshgrift commented 7 years ago

Hmm... This worries me as I'm not sure if the decimal value will work. Want to fiddle around with it in a test environment first?

joshgrift commented 7 years ago

Going to shout this out, how hard would it be to modify this for walls as well? @oolivero45

oolivero45 commented 7 years ago

You know, I had that exact idea a while ago - not too hard, I don't think. The same code should work with minimal edits? What would walls do? Disallow walking over by other teams?

joshgrift commented 7 years ago

Disable all walking. Gates are the only entry point, so that would complicate things.