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
for an upcoming project
by KIRBM0RIBOY1234
[TSDoN-9 | 1009] ⭑★- ȶɦɛ ֆȶʊɖɨօ ɖօօʀֆ օʄ ռʊʍɮɛʀֆ ‣ քǟʀȶ 9 -★⭑
by DatTrumpetGirl
Windows History with Concepts Part 1
by 82hw72vsb
Stereo in the Madness, Pollen Through Your Nose, Nature on the Tree.
by MonicaDeluxe15000
-<[{(Collabs)}]>- talking tom and ben news remix-5 remix
by jace18099
P2SC In G Major 4^4
by veggietalesfan78
Charlie the Steak
by ethaniscool200
Sprinkle Babies remix
by frant1503
Beat Up Trash Can (8/FINALE)
by JPPORTUGAL
Windows Never Released Part 7 (New Bootscreens)
by Mariofans1981
Beat Up Unknown Sprite! 3.5 remix
by siddharth1717
talking tom and ben news DLC: MSM
by ddhcuhbcuhdbu
Otis Gen2 2020
by Alphys232
Triples band 4
by DWRJones
The Grammarly Ad but in Scratch
by Ommud
cool 3d among us
by HHS26
Scratch NFT Generator
by theRealMC_Creeper
FNF vs Bunzo Bunny (Musical Memory)
by YellowReapear
fish simulation (roi)
by guy670
So much from beat up Games stuff (M E O W and Tissues Update)
by GooleSharty122
Beat Up Nothing
by KubaKo_Player
UNIVERSE SIZE COMPARISON PART 2
by kingbooscratch
add a button to beat up granny! remix 2
by GooleSharty122
Preview 2 Scratch Cat G-Major Effects Part 6
by gamerboy1228