Raycast Lighting Concept
Description
Inspired by Griffpatch's youtube tutorials on raycasting in his 3D tutorials. Check them out here: https://www.youtube.com/watch?v=M1c5TcdITVs&list=PLy4zsTUHwGJKolO9Ko_j6IStFIJnTYBul I just like 2D a lot better, so I decided to apply raycasting to this project and use it for a lighting effect. In the pause menu, "LTS" = Light Tile Size. An LTS of 10 means we use a 10 pixel by 10 pixel square to scan and draw the lighting effects.
Instructions
Try here: https://turbowarp.org/724362333 for faster performance. WASD : Move Look with Mouse Curser E/Q: Toggle between flashlight and lantern mode. SPACE: Toggle full lighting on/off. P: Pause/Unpause Shine your light around some spooky figures. Try and guess what they are, or make cool shadows! Press space to show the figures in full lighting once you've already made your guess. If you need help, try raising the resolution in the pause menu (just beware that your FPS could drop significantly). This project scans the figures in the "Solids" sprite for faster raycasting. See inside the "Solids" sprite for how to add your own costumes/figures!
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
Add a button to beat up James (2 Buttons Added)
by newmyles
Beat up Pandy Paws (1)
by thiagobri
Numbericons 1-3700
by kieffer244
-Q*bert- || #trending #animations #games
by Mr_Supermole
Mario party scratch edition
by IES4Student41
Seadtime Font V3.9
by crazymilkandres
Super Mario Maker 3 alpha v0.19.5 mobile remix
by Dylan90210
How the planets chose their order
by Micsy-Mouse
So Many Buttons Beat Up
by xanderafa
Fna cameras be like
by mattygames789
Pvz Clicker (Plants Vs Zombies) NEW UPDATE!
by emmetnn
[Pre-Scratch 3.0] Numbericons 8001-9000
by jayden2015paul
Minecraft Multiplayer (server) remix copy
by axolotezin
spinner
by Triple_catflip
Beat Up MarioBro 7
by pastaguy
Kick the Buddy remix
by BrickManSam123
Soultale トリエル戦
by hagiyui
My Reaction That Survivor!.io Sponsored me on YouTube too many times
by talkingtom_officiail
CrankyBoyC Got Beaten Up
by newmyles
Mario Kart 8 Screluxe v0.6.6
by MagiCarson08
Numberblocks Band ReTrillion Remastered (1.0M-10.0Dec)
by v_VPEC_v
The Faster Add Round 5 remix
by ogorodnikov88
Beat up template
by Tyler-Time
Talking Tom And Ben News version 10.0.0 remix remix
by everton_trader