Cannon VS Target 2 ---------------------------------------------------------------------------- (Uses raycasting) How to play: Move your mouse pointer to move the Cannon than click or press space. If you want it to have a cool Lazer, click "Lazer Z"
Check out the original one made by wow_no_way! https://scratch.mit.edu/projects/1378235664 The raycaster is from: https://scratch.mit.edu/projects/683592692/ _______How It Works____________________________ This project works by casting ONE ray onto the sprite named wall, next it hits it and the ball simply glides to the end pos of the ray (better than stopping at the cursor ,didn't like that)