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

Talking Edward but what For @JoshtheSchoolBoy

by woges

Project thumbnail
View Project

FNF SPONGEBOB KIT

by ELIDOPE54321

Project thumbnail
View Project

Green Mario and 2 others Destroys Marvelouz's STOP RIGHT THERE Screen copy

by EmojiToonsTV1999

Project thumbnail
View Project

add a button to beat up nano!! (19)

by GooleSharty122

Project thumbnail
View Project

Jayden's TVOkids logo bloopers (Fall Edition): Take 51

by JDCommunity2024

Project thumbnail
View Project

random number generator

by chrisvt15

Project thumbnail
View Project

Beat Up Giga v3.3

by Korn-Khun

Project thumbnail
View Project

Griffpatch's Tower Defence v1.0

by griffpatch

Project thumbnail
View Project

ζˆ¦ι—˜ζ©Ÿ / Fighter remix

by pandakun

Project thumbnail
View Project

Om Nom Nom

by zdogz

Project thumbnail
View Project

Mini Minecraft (games, stories)

by THE_MOST

Project thumbnail
View Project

15 minute timer

by Tristix

Project thumbnail
View Project

Numberblocks Band Quarters 14 (Version 2 + For MrBond and Atakan9)

by maximovaleriy

Project thumbnail
View Project

beat up gobo with soft pillow

by Jayzun

Project thumbnail
View Project

Totally NOT a new outro...βš†_βš†

by Tjplays52

Project thumbnail
View Project

RGB - Concept

by MegaKidAxl

Project thumbnail
View Project

15 Buttons Beat Up stars

by newmyles

Project thumbnail
View Project

Make your own TPOT intro remix-2

by killro2015

Project thumbnail
View Project

γŠγ«γ”γ£γ“~Another escape game~η¬¬δΌζ‹ΎηŽ–θ©±γ€ŒζΏ€ηͺγ€

by tyomuko22

Project thumbnail
View Project

Pop the Lock 2

by FreNZyFIRE

Project thumbnail
View Project

Remix & Ruin Yakka Dee remix

by the6689coding

Project thumbnail
View Project

Balon Patlatmaca 2 [Alpha 1] #Games #Trending #All

by HezBuilder72

Project thumbnail
View Project

Apocalyptic Survivor

by OpEnSaDoR

Project thumbnail
View Project

Tajik Alphabet Lore

by AlphabetLoreFan2022