ScratchData LogoScratchData
Back to Cat_Dusty's profile

Enemy Ray-caster Script

CACat_Dusty•Created May 20, 2022
Enemy Ray-caster Script
2
2
18 views
View on Scratch

Instructions

In this project, the pink square uses ray-casting to find out where the purple square is. Use WADS to move the purple square. It's not perfect, if the pink square doesn't have sight of it's target it doesn't do much.

Description

THIS IS NOT A GAME!!! I was just playing around with some code and thought I'd share it. There is no way to win and no way to lose. Feel free to use with credit.

Project Details

Project ID694153113
CreatedMay 20, 2022
Last ModifiedMay 30, 2022
SharedMay 23, 2022
Visibilityvisible
CommentsAllowed