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

β˜… γƒžγ‚€γ‚―γƒ©1.21 / Paper Minecraft 1.21 Tricky Trials remix

by vhj000

Project thumbnail
View Project

γ€ζ‹‘ζ•£εΈŒζœ›β•γ€‘ζ³₯γ‚’ζŠ•γ’γ‚‹γ‚²γƒΌγƒ v1.79

by sota_at

Project thumbnail
View Project

PlayStation 2 Menu (2023 Version Mock-up)

by Wiiternity

Project thumbnail
View Project

Sesame Street VHS Opening Sence

by PuchungoLopez

Project thumbnail
View Project

Godzilla NES prototypes - Pathos level prototype 1 : Mountains

by s546713

Project thumbnail
View Project

Windows 10 Crazy Error Maker 10 But the sounds from PS3 XMB

by ThisIsUWUby

Project thumbnail
View Project

Cut the rope candy feast REMASTAERD remix

by Random_G4mes

Project thumbnail
View Project

Zippi Library Program Break

by N662

Project thumbnail
View Project

fps where you shoot zombies

by pringle_doezstuffs

Project thumbnail
View Project

New colorblocks band 2

by legned515

Project thumbnail
View Project

Vyond effects DON'T REPORT.

by Lateone12

Project thumbnail
View Project

GALAXY COLLAPSING INTO A BLACK HOLE!!!!!!!!!!!!!!!!

by Kawaiiobedient251

Project thumbnail
View Project

TMCUBox V5: Orlando Attack

by mikey_mike

Project thumbnail
View Project

Replace to mine song

by maldives06

Project thumbnail
View Project

Number Blocks The Movie Scene 100 it's 6 song

by Finegan2203

Project thumbnail
View Project

TR!Last Bad Time Trio Phase 2 Fight

by Ink_Sans58

Project thumbnail
View Project

Among Us(Jester Mode)

by Carlosvip123

Project thumbnail
View Project

Sonic Engine (on Scratch!)

by Enigmatic21

Project thumbnail
View Project

Beat up dora remix

by newmyles

Project thumbnail
View Project

Life

by -Kliklo-

Project thumbnail
View Project

Pikmin Scratch - Early Demo 1.1

by Spaghetman89

Project thumbnail
View Project

112 MouseHeadz

by masey132

Project thumbnail
View Project

cookie clicker

by bennyyoo

Project thumbnail
View Project

UNIVERSE Size Comparison UPDATED remix

by Datamain