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

klasky csupo in pitch black

by scratchkid201224

Project thumbnail
View Project

Talking Tom 2

by negoas

Project thumbnail
View Project

Chickn And XP News Mario kids and TVO kids remix

by jacejimerson18099

Project thumbnail
View Project

endless music Eighth Notes

by JOAOPEDROeULIANA

Project thumbnail
View Project

sol rng concept

by emtttr

Project thumbnail
View Project

Fishing Game [Early Alpha] Fish expansion update

by Spino258718

Project thumbnail
View Project

Beat Up Super Why! revival (1)

by ATF1009

Project thumbnail
View Project

Incredibox - Sprunki but I made them into random stuff

by PIYROT

Project thumbnail
View Project

γ€η²ΎεΊ¦ζ”Ήθ‰―η‰ˆγ€‘εœ°ιœ‡γ‚·γƒŸγƒ₯レーション V0.0.1X

by ppookkll

Project thumbnail
View Project

Easy Roblox obby by zayaan

by zayaan202211

Project thumbnail
View Project

you beat my dinner: stolen ending

by schorb5

Project thumbnail
View Project

Ender's Mega Custom Night (with better ender voice-)

by DrewKool

Project thumbnail
View Project

One night at piggy's

by darren2gg

Project thumbnail
View Project

gbc.sb2

by DCPU-16

Project thumbnail
View Project

timer_test

by gasstationwithoutpumps

Project thumbnail
View Project

Merge Cat evolution

by Leongxc

Project thumbnail
View Project

Beat up Boyfriend (add a button) (1)

by tatatino150

Project thumbnail
View Project

Add a button to beat up Scratch Cat [5] remix

by newmyles

Project thumbnail
View Project

Overthinker κ•₯ DTAE

by SprufyScribbles--

Project thumbnail
View Project

Cuphead: Glumstone the Giant in "Gnome Way Out!"

by MASTERCOJ

Project thumbnail
View Project

New Super Mario Bros Wii Demo

by pareshvernekar

Project thumbnail
View Project

3D MIDI Player (Test)

by OjasnGamer101

Project thumbnail
View Project

Beat up Sonic (READ DESCRIPTION.) But It's Reversed

by Kuba-Kolodziejczak

Project thumbnail
View Project

HH265: Url NumberIcons Chain!

by BraidenNO31315