Discuss Scratch

MEGA_DRAGON_123
Scratcher
9 posts

Debugging tower defense targeting system

I’m using a tutorial to make a tower defense game, and everything is working fine, except that the game breaks if an enemy passes a point and sometimes the tower doesn’t target when it should. The tutorial used complicated trigonometry, though so I can’t debug it. Could somebody help me with the debugging?
I’ve linked the YouTube video and scratch project below:
HTTPS/www.youtube.com/watch?v=mBUOtsl3zBg
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1136323515/
The YouTube video might not work, so I included the creators name:
Fuelvin
MEGA_DRAGON_123
Scratcher
9 posts

Debugging tower defense targeting system

The towers also point backwards sometimes…

Powered by DjangoBB