Discuss Scratch

kfchikinfiter
Scratcher
100+ posts

Need help with advanced calculations

I need help calculating the direction of an object within FOV relative to the x of another object. If anyone could help me it would be really great and will give credit.

when green flag clicked
think [of nothing] for (2) secs
say [something dumb]
kfchikinfiter
Scratcher
100+ posts

Need help with advanced calculations

basically what I'm trying to do is create an aiming sprite that has a bullet that points in the direction of the aiming sprite, but within a FOV of between 30-120. I need the bullet sprite to move in that direction within the FOV to see if it is hitting the hurtbox of another sprite. Link to project https://scratch.mit.edu/projects/641504556

when green flag clicked
think [of nothing] for (2) secs
say [something dumb]

Powered by DjangoBB