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
Mario exe remake remix-2
by jllugo0227
fnf maker remix 2 player test
by James52346
Beat up Sonic Newer Buttons! (3)
by pmz34
talking tom and ben news - Chuchel VER remix
by azoriad
Incredibox - Sprunki Sinner Edition remix remix remix
by ratboxy
talking tom and ben news remix-10
by veziravcisi
Scratches UCN - (closed)
by pengzzonscratch
GD faces V4
by owenfreund
Add a button to beat up the Snowman! (5)
by tiziland009
add_a_powerup_and_pass_it_on[1]
by ashowiscool
ugly kids
by wangchung
Windows 10 Simulator
by william_animate
City Simulator #Games #All
by ComplicatedCodes
»TAP
by lilpigieTV
NES Godzilla Creepypasta Chimera Fight (SOLOMON) remix
by Homer5678
sonic the hedgehog level creator
by SonicPRO889
Scratch Cat Adventure! but with more stuff
by mariofan12361
Just try to beat up a manga tile! [8]
by Rileyroo2011
Beat Up Sunkus K!
by newmyles
Simple Blue Panzoid Intro >> @Ashibara_Art!!
by harukun19
The Scratch Movie 5
by adriancaban
talking carl beat up
by Isaias1tuiri
Numbericons 5401-5500 (added 74×74)
by IGORGomes89292030
PacMan - 3D with even more ghosts
by mariofan203