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

SMPS: Leaf Leap (Mario Party 5) (Currently Building)

by isaiahandrews07

Project thumbnail
View Project

Beat up me (5)

by everton_trader

Project thumbnail
View Project

Beat up evil scratch cat

by hyd3ns33k

Project thumbnail
View Project

LyricsStart Number-Characters 301-400

by LGcatboy777

Project thumbnail
View Project

Evil Henry brings an NC-17 rated film to school/GROUNDED

by Magnetoelectric

Project thumbnail
View Project

BREAKING NEWS: Beat Up Handy Manny has minimum visits and winning!

by liamdvd

Project thumbnail
View Project

Flappy Mario .EXE remix

by vvvguy

Project thumbnail
View Project

star sim prototype

by sum_idle_games

Project thumbnail
View Project

TVOKids Logo Bloopers 6 Take 2: 21 Bloopers remix

by adewumio

Project thumbnail
View Project

Ay Black Hole [201]

by leoprincipe04

Project thumbnail
View Project

The Nick Jr. Wolves Pack v1.0

by elinery

Project thumbnail
View Project

I can’t find sago mini on prime video

by eesa1987

Project thumbnail
View Project

Windows Embedded POSReady 2009 crazy error maker

by Areo7Royale

Project thumbnail
View Project

Car Clicker!

by ItsRaynerTheBest

Project thumbnail
View Project

geo dash

by redbirdflies22

Project thumbnail
View Project

AY In Springy Of DOOM! (100)

by Pacuddlesfan

Project thumbnail
View Project

(V0.7 UPDATE CANCELED) Barney Error Maker (Axel Edition)

by axelthegdkidl839

Project thumbnail
View Project

Scratch RPG | Early Demo | v0.19.21 | #games #all

by Andygun11

Project thumbnail
View Project

Osu!mania chart converter thing

by Eaten50

Project thumbnail
View Project

Endless alphabet B-3 - BELLOW remix

by numberswizard

Project thumbnail
View Project

Beat up Numberblock game but I added new buttons

by mirabel_exe

Project thumbnail
View Project

Bren319's Russian Alphabet Lore 4.0 Request

by bazaustin

Project thumbnail
View Project

☁ Minecraft || Multiplayer Scrolling Platformer #games #all remix

by CYAN-1Q

Project thumbnail
View Project

BabyTV Rocks and ChuChu TV Sucks!

by JCody1337