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

Make your own BFB post-split

by WIROBESTC20235

Project thumbnail
View Project

Metronome

by FountainChew

Project thumbnail
View Project

beat up dolly!

by bonzi346

Project thumbnail
View Project

Ninja Training Preview

by Ivaash

Project thumbnail
View Project

Unicode Folks: U+0023 (#)

by tvokids_e-again

Project thumbnail
View Project

Mega Black Hole Add Round 3

by Numberblockgamer8694

Project thumbnail
View Project

Counting in Dozenal! (1-1000 in decimal)

by UniMultiverse1991

Project thumbnail
View Project

Mickey Mouse Clubhouse 100th anniversary

by DernerDesigns912

Project thumbnail
View Project

Among Us Hide And Seek | #All #Games #Amongus remix

by LJaceK2014

Project thumbnail
View Project

What if Talking Tom And Ben News DylanTheLegendz Edition released on Wii

by KhaleefSyahmie

Project thumbnail
View Project

Windows 10 ZONE remix remix

by qloibghs

Project thumbnail
View Project

Voice Reveal :0 UPDATE 2.0

by Cheesecake_Pony

Project thumbnail
View Project

Beat Up Sonic The Hedgehog (V1.4)

by BARNEYERROR

Project thumbnail
View Project

cut the rope on cartoon network games app super noms

by REN10

Project thumbnail
View Project

Beat Up Windows 1 The Glitch of the World

by OlegGaninRus

Project thumbnail
View Project

look at this net... remix-2

by edit12

Project thumbnail
View Project

Demon's Journey - A Scrolling Platformer

by AngelsAreDemons

Project thumbnail
View Project

Killing Butterflies |MEME| [Collab!]

by CallMeCoffee

Project thumbnail
View Project

ターボワープ(turbowarp)のやり方

by tyokobananaitigo

Project thumbnail
View Project

[3D]猫の魔女 [3D]catwitch

by yukinko22

Project thumbnail
View Project

Super Mario Bros. 3 Mix SNES

by DominicIsNOTsus

Project thumbnail
View Project

Tasty Planet MOBILE

by Jake_Playz99

Project thumbnail
View Project

BrintCha06 Spanish Alphabet lore (Bren319 style)

by brintcha06

Project thumbnail
View Project

Scratching Dawn - Episode 2 (old)

by M_axj