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 your Emoji Cat Jammin' duet with androidx86

by FourthNumberBlock

Project thumbnail
View Project

Geometry Dash Grief 0% - 10%

by Dangminh1003

Project thumbnail
View Project

(Devilish Fighter) Android 17 (Super)

by gilfpatchu

Project thumbnail
View Project

Beat up SOMEONE!-2

by tiguy2

Project thumbnail
View Project

Beat up BonziBUDDY! IXV

by jeremiahpls

Project thumbnail
View Project

"flush a toilet" kind of animasion

by ouman27

Project thumbnail
View Project

Dark Bowser Jr. Battle v1.2

by greendinosaser21

Project thumbnail
View Project

Copilot makes new argam symbols v1

by LD123Rises

Project thumbnail
View Project

BFDIA 2: Get Digging re-animated

by Nolimit_STAX

Project thumbnail
View Project

My PFP running from SubterBaldi

by Bryce8065Scratch

Project thumbnail
View Project

My another random alphabet lore set (updated)

by srmexicoballelpro

Project thumbnail
View Project

FnF

by finalfnf

Project thumbnail
View Project

Beat up Pinki

by xmrrileyxx

Project thumbnail
View Project

PVZ Fusion Vector Pack 2.9 May I? update

by mars_2015

Project thumbnail
View Project

Lucy but as a non-numberblock

by nubazo

Project thumbnail
View Project

we’re going back in time to the seventh oldest numberblocks project

by NumberElsewhere

Project thumbnail
View Project

Miner Cat 2 Beta 1.0 HACKED

by max_mcnamee

Project thumbnail
View Project

Mario - Tile Scrolling Platformer v2.1

by s151305

Project thumbnail
View Project

Argam(Myself1111)

by myself1111

Project thumbnail
View Project

Numberblocks band 31-36 remix copy

by sonictails90

Project thumbnail
View Project

[60+ hrs of work] The Charcade - The Ultimate Arcade Experience #all #games #animations #trending

by theCharpy

Project thumbnail
View Project

SAL characters beat up S!1!1!1

by fan_of_griffpatch13

Project thumbnail
View Project

Windows 90

by User37890

Project thumbnail
View Project

(Most Viewed Project) Mouseheadz Crying but corals crying voice is correct!

by zedreabam123