FreezingMoon / AncientBeast

Turn Based Strategy Game. Master your beasts! 🐺
https://AncientBeast.com
GNU Affero General Public License v3.0
1.62k stars 554 forks source link

Modify creature walk speed in debug mode #2551

Closed allmtz closed 4 months ago

allmtz commented 4 months ago

Added debug environment variables to modify the walking speed of creatures. This helps save time when manually testing creatures abilities/targeting/movement/etc.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ancientbeast ✅ Ready (Inspect) Visit Preview Feb 28, 2024 1:54am
DreadKnight commented 4 months ago

@allmtz This is good stuff. Will test soon and I also need to check if there was already an open issue for this, as we actually needed this, it was being considered already for a while now.

DreadKnight commented 4 months ago

This seems to break the game -> https://ancientbeast-kxz7h6a0q-freezingmoon.vercel.app/

Screenshot_20240228_030326

Basically red Dark Priest vanishes when about to move, turn can be skipped, blue Dark Priest can't be moved around either.

allmtz commented 4 months ago

This seems to break the game -> https://ancientbeast-kxz7h6a0q-freezingmoon.vercel.app/

Should be good now. I changed the variable name to include the units, looks like the #ms comment was messing up the parsing.