* I know I've been dead for a bit on Scratch, but I really want to make a game I'm working on. * This is another random test of raycasting. I'm trying to find an efficient way that doesn't cause a lot of lag. Move with WS and Mouse. Also, the FPS is capped to 30. = How this works = The enemy gets 6 clones with the raycast object (the transparent black rectangle.) What it does is, if any of them touch the player, it activates the alarm and if NONE of them are touching the player, it deactivates. I also made a little FPS and average FPS counter. = Efficiency = This is MUCH MUCH MUCH less laggier than actual raycasting, with one small square being shot out of enemies every frame. The only downfall to this is walls, so if you use this, don't have very tight walls.