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
Beat up Ladybird Lu (5)
by cclarecoderreturns
talking tom and ben news remix-2 remix remix remix remix remix-2
by everton_trader
ULTRAKILL Scratch Edition (W.I.P)
by MinosPrime760
Rodolfa’s S1 E1 Hegter Oblivionth To Unobvillionth (BEFORE ONE VERSILLIONTH)
by Jakubus101
YGL Black Hole Add Round 12
by YGL2K14
[Sparta Remix] windows 98 has a Sparta Remix remix remix
by jevin_433
The unused of alphabet lore Ralr interactive
by rahanr2
Classic Nick Toons On CBS logo!
by d_and_g
Uncannyblocks Band KOED 61, but sth changed
by Minh180Math
mermaid catch
by coolgirlannabeth
⭑ ★ ❶❷❸❹❺ | TᕼE ᔕTᑌᗪIO ᗪOOᖇᔕ Oᖴ ᑎᑌᗰᗷEᖇᔕ • ᑭᗩᖇT ❻ • 648 ᗪOOᖇᔕ | ❻❼❽❾❿ ★ ⭑
by Twin138956Scratch
Scratch City
by jdemon
Animal Stampede
by zippyzoomy
[Undertale] - Spamton NEO
by LucasBr003
Numberblocks Band Thousanths 10, now on Scratch!
by cauegames145_0nb
Universe size comparison but deres a twist
by scratchboi_12345
Koopaling Tower Defense 4
by LudwigandLarryKoopa
Beat Up Nano (Added: All)
by JPPORTUGAL
spiffy pictures .EXE BUTTONS + 777
by nathankone
numberblocks 0 to never^never remix
by Vitinh0w
Froggit v1.3.2 wip (Undertale)
by Tuiloping
Spin the fidget
by Jewlthefox
SAND ON THE BEACH
by CalvinHamster
Beat up Edward DLC Reimagined 7-3.2
by mugpanic