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

[ Classic!UnderSwap ] DISTRUST Full OST [Remastered]

by SonicTr1327

Project thumbnail
View Project

Pokemon Tournament III

by Kresinho

Project thumbnail
View Project

BazMannBach's Russian Alphabet Lore in bren319's style

by wasted2841

Project thumbnail
View Project

Remix: Funky Floss Cat

by papipupepappa

Project thumbnail
View Project

Hot - A Platformer #games #all #trending (harder edition + added timer and lives)

by miltos6834

Project thumbnail
View Project

Intro | Nyaha - by 1nfz | My Best Again #all #intro #outro #trending #introtrending #animations

by infinitto

Project thumbnail
View Project

☠ Scratching Dawn Remake | Ep 3

by M_axj

Project thumbnail
View Project

(REBOOT 2.0) Sonic FNF Test ULTIMATE remix

by njmom

Project thumbnail
View Project

TVOkids logo bloppers take 6 Q IS NOT RICK THIS TIME!!!!

by Robofun220507

Project thumbnail
View Project

Beat Up Talking Ginger

by bigplaylist

Project thumbnail
View Project

Talking Nano and Flower 2

by jokupoika124

Project thumbnail
View Project

AYS Engine

by INotLyte123

Project thumbnail
View Project

Add a button to beat up me (yet34buttons) x2 remix remix

by CLAX1212

Project thumbnail
View Project

γ‚Ήγ‚―γƒ­γƒΌγƒ«γƒ—γƒ©γƒƒγƒˆγƒ•γ‚©γƒΌγƒžγƒΌv1.5

by kazu1024

Project thumbnail
View Project

NGG: Nano creates a black hole

by MegaLeather1957

Project thumbnail
View Project

Rpg Adventure WIP

by Kirby_Kinda_smort

Project thumbnail
View Project

γ‚¬γƒžγƒˆγƒˆζŽ’ζ€œιšŠ

by nyankodaisensouAHAHA

Project thumbnail
View Project

-Sonic: TRIPLE TROUBLE- 3D Special stage recreation (0.3)

by aiman_daffa

Project thumbnail
View Project

[ Underswap ] Papyrus genocide fight.

by snapurneck

Project thumbnail
View Project

Five Nights at Pico's 2 Redux

by Glitchman64

Project thumbnail
View Project

ζ–‡ε­—pvγ€€~スーァむドパレヱド~

by tomato421

Project thumbnail
View Project

83% pen piano roll Black midi nights of knights

by fireshukkun1214

Project thumbnail
View Project

θΆ…ι¬Όη•œεΌΎεΉ•60秒耐久ゲーム The LIMIT BLEAK

by ryopanda

Project thumbnail
View Project

sonic s:a sonic 4 like project

by naibr