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 Pencil v3.5.0
by KHOPERIATEDO
Old DVD Screensaver (inside old tv view)
by daz26dobson
talking tom and ben news 19:La casa de Mickey
by Nikosuper2011
Scratch city 2.0
by realdiamondanimation
How to take care of your Sprout
by Sprout-seedly
Beat Up Sonic 7 (6)
by newmyles
ily 100x! (new forsaken oc!!!!!)
by filla_rp
Zerty.EXE (TheScratchGuy89's Remake) Redone
by MattTheScratcher2010
pt reny
by Kaiohshin
Non-canon!Bloxtale: bacon hair fight
by justin_cool_123
Super Angry Birds Maker
by RoyalCHARLIE
The Hungry Pumkin Game
by codingwarrior17
Sans | Friday Night Funkin' |
by TheChildYoder
One Night at Flumpty's 2 Scratch edition
by Morilix07
【Nep League】ブレインタワー remix
by fujiwara5216
login screen
by ASPS_Bukhari_5F
(Cancelled) VHS Sans - Animated OST (Collab with @srconroy)
by monkey_noises09
REVIRAVOLTA - Episódio #1
by Lala-Olivio
Uncannyblocks Band Different (100.0B-1.0T) (But Normies)
by CSTTPCGE450
東方風 弾幕無双【モバイル・キーボード】 扉
by gigirugarudo
Ohio EAS Alarm Red Zone
by DeJuan123456789
Beat up Colombiaball! (37 buttons)
by Joseph-9c
Beat Up Mario Ultimate Edition
by DankShrek2
[fooled.] the full RALR cast! but all of the letters
by Laypyae