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

Win7 simu Beta 1 Meme Edition Crazy Error remix remix-9

by damonangel2015

Project thumbnail
View Project

Ranking (almost) ALL ScratchX.RAR Songs.

by Goldenpixels

Project thumbnail
View Project

My teardrop (this is abandoned play my other games)

by tangled77

Project thumbnail
View Project

AY black hole (3)

by mkhiug

Project thumbnail
View Project

DofortyBar1 v1.04

by do40_3rd

Project thumbnail
View Project

Beat up Edward Extreme DLC Remastered! 2024 remix

by q3qwewqe

Project thumbnail
View Project

[DEMO] BFDI Contestant Generating Game remix

by Mason630

Project thumbnail
View Project

Beat Up Bonzi Buddy 7.5 Almost Complete! remix remix-4 remix

by matheusmaccamargo

Project thumbnail
View Project

The Black Hole (Add Round 9)

by lexailya2024

Project thumbnail
View Project

world of jumpscares (add more jumpscares) remix

by bonzi346

Project thumbnail
View Project

Jump Rope Squid Game

by Datunadatuna_10

Project thumbnail
View Project

Zanta- Friday Night Funkin' AgustipGamer12

by 4baaron22

Project thumbnail
View Project

(VIRAL) Interactive Endless Numbers remix remix

by football81610

Project thumbnail
View Project

Rhombus + Square Numberblocks Band

by CountryBallLiker

Project thumbnail
View Project

KyleWare: Ultimate Microgames! (v1.95)

by himng0801

Project thumbnail
View Project

a fnf osu recreation

by esxfnffan57

Project thumbnail
View Project

Beat Up Chica 2 (Add a Button) [4]

by peggraz51

Project thumbnail
View Project

OverSave Tale Asriel

by TheGrindisReal87

Project thumbnail
View Project

30+ Warrior cat Theme songs OLD remix

by s313724

Project thumbnail
View Project

Beat up alpha

by paata27747438

Project thumbnail
View Project

BEAT UP ROBBER

by mateothebb

Project thumbnail
View Project

Make your own TPOT!, but I added Winner, Price Tag and Teardrop

by TheRedMarill2007

Project thumbnail
View Project

Dementbox V1: REPOST

by pokemorty1337

Project thumbnail
View Project

3D Crystal PvP

by furkanselimcakmak