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

Add a button to beat up Nano! 14

by gulkd2023

Project thumbnail
View Project

Epic Battlegrounds (UPD 13) (BETA TESTING)

by thecoolman798493

Project thumbnail
View Project

My Spanish alphabet lore

by kristian104

Project thumbnail
View Project

I just wanna dance GOOB!!! :D

by dumbboy1234567

Project thumbnail
View Project

Sprunki 1996 Free Fun [incredibox]

by dani0913

Project thumbnail
View Project

Battle Cats Memes #1

by Xequastar

Project thumbnail
View Project

portal 2

by antoniomarea_12

Project thumbnail
View Project

huggy wuggy clicker infinite

by billcipher555

Project thumbnail
View Project

Untitled X Series (Chapter 11 | Battle With Doom)

by SwiftSmash

Project thumbnail
View Project

Zerty & Doodi & Dora & Pit & Sucle & Taffy Crying

by oksana6501isback

Project thumbnail
View Project

(2010) Talking Tom Cat

by cat_club825

Project thumbnail
View Project

Yearblocks band (1990-2025) (Y2K apocalypse edition)

by 2021fairy

Project thumbnail
View Project

BFDIA 18 Cake at stake recreated with different characters remix

by SPRUNKIXEL

Project thumbnail
View Project

Volcano Fights 1.0

by mattmattmatt9

Project thumbnail
View Project

beat up super why

by TheJurrassicChaser

Project thumbnail
View Project

(3D) Minecraft Scratch Edition - V1.8 Alpha

by EWARS_2

Project thumbnail
View Project

⚡The Studio Doors of Numbers Part 8 703 Doors

by ObyserFan758

Project thumbnail
View Project

素数計算機 1

by sakura395

Project thumbnail
View Project

CATvsTITAN

by megauppii

Project thumbnail
View Project

(Loud) Alphablocks and Numberblocks Band but all 26 letters and numberblocks 1-26 are here

by christywifi

Project thumbnail
View Project

【FNF】vs imposter v4 red imposter polus week (fm)

by RUKIPWorld

Project thumbnail
View Project

Beat up L

by ArifmetixNFG-12

Project thumbnail
View Project

Mixels Series 10 (S3EP1: Train Trouble) Intro

by cartoonworld10

Project thumbnail
View Project

Beat Up peggraz51 (10)

by newmyles