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 MarioBro 4 remix
by DPS2004
UNDERTALE FULL GAME
by baby_tails1879
talking tom and ben news 10: El Grande @tomybenius11 remix-2 remix remix
by everton_trader
FRANNY`S FEET - RUSSIAN INTRO (PAL, NTSC, PAL INSTRUMENTAL, NTSC INSTRUMENTAL)
by timur1231231
Text Maker
by Applefolk
Seadtype V8.7
by BonesonScratch
Square Engine - KJ tsb
by Jjkfan_2003
Incredibox - Sprunki Babies PHASE 2
by ivan_super123
Beat up Cussing Tunner copy copy remix
by piolalina
beat up oren remix
by xmrrileyxx
forsaken(scratch beta)
by JammerIsBack
Leon and Tucaneon: Farm Animals Stampede Green Screen
by KhatounationsCreator
Sharp I1 (2009) Low Battery Warning
by chawill7Returned
Learninghorrors 2018//Blossom's curse 7 - Jumpscare dump Added Office
by Armin3424Maker
Flush-able
by WavingWater
Super Mario Bros. 1 Maker
by BenjaminWins11
remix-78
by RLisTheAltYouKnow
Beat Up Evil VNSRises
by pacmanfan3234
Beat up Evil Two
by bennybean07
Endless Alphabet r screen remix
by Luketas_yuiop2021
γΉγγ©γγ₯γΌγ³ v2.56
by horiyouta
Numberblocks Intro But It's THOO Style remix remix
by xiomi0209Angel1923
γγγΏγ - ζεpvοΌγΉγ―γͺγγζΌε₯ [pvε€§δΌεε δ½ε]γγγ#Laiboo
by laiboo
Needle Gets Electrocuted
by This_isNOT_anAccount