Raycast Lighting Concept

Raycast Lighting Concept

by PurplePyramid

πŸ‘ 103 ❀️ 12 ⭐ 7 πŸ”„ 0
Created: Aug 23, 2022 Last modified: Aug 27, 2022 Shared: Aug 27, 2022

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

Project thumbnail
View Project

Beat Up MarioBro 4 remix

by DPS2004

Project thumbnail
View Project

UNDERTALE FULL GAME

by baby_tails1879

Project thumbnail
View Project

talking tom and ben news 10: El Grande @tomybenius11 remix-2 remix remix

by everton_trader

Project thumbnail
View Project

FRANNY`S FEET - RUSSIAN INTRO (PAL, NTSC, PAL INSTRUMENTAL, NTSC INSTRUMENTAL)

by timur1231231

Project thumbnail
View Project

Text Maker

by Applefolk

Project thumbnail
View Project

Seadtype V8.7

by BonesonScratch

Project thumbnail
View Project

Square Engine - KJ tsb

by Jjkfan_2003

Project thumbnail
View Project

Incredibox - Sprunki Babies PHASE 2

by ivan_super123

Project thumbnail
View Project

Beat up Cussing Tunner copy copy remix

by piolalina

Project thumbnail
View Project

beat up oren remix

by xmrrileyxx

Project thumbnail
View Project

forsaken(scratch beta)

by JammerIsBack

Project thumbnail
View Project

Leon and Tucaneon: Farm Animals Stampede Green Screen

by KhatounationsCreator

Project thumbnail
View Project

Sharp I1 (2009) Low Battery Warning

by chawill7Returned

Project thumbnail
View Project

Learninghorrors 2018//Blossom's curse 7 - Jumpscare dump Added Office

by Armin3424Maker

Project thumbnail
View Project

Flush-able

by WavingWater

Project thumbnail
View Project

Super Mario Bros. 1 Maker

by BenjaminWins11

Project thumbnail
View Project

remix-78

by RLisTheAltYouKnow

Project thumbnail
View Project

Beat Up Evil VNSRises

by pacmanfan3234

Project thumbnail
View Project

Beat up Evil Two

by bennybean07

Project thumbnail
View Project

Endless Alphabet r screen remix

by Luketas_yuiop2021

Project thumbnail
View Project

γ‚Ήγƒ—γƒ©γƒˆγ‚₯ーン v2.56

by horiyouta

Project thumbnail
View Project

Numberblocks Intro But It's THOO Style remix remix

by xiomi0209Angel1923

Project thumbnail
View Project

γƒγƒŠγ‚Ώγƒ - ζ–‡ε­—pvοΌ†γ‚Ήγ‚―γƒͺγƒ—γƒˆζΌ”ε₯ [pvε€§δΌšε‚εŠ δ½œε“]γ€€γ€€γ€€#Laiboo

by laiboo

Project thumbnail
View Project

Needle Gets Electrocuted

by This_isNOT_anAccount