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

new black hole add round 5

by Adibe_raissouni

Project thumbnail
View Project

Numbers Band 3

by PrincipeJosh

Project thumbnail
View Project

Seadtype V7.5

by BonesonScratch

Project thumbnail
View Project

อิสรภาพ | LISTEN UP TROOPS RETAKE remix

by Israel-333

Project thumbnail
View Project

Random Number Generator

by cas_2205

Project thumbnail
View Project

beat up a remix

by dylanpociusg

Project thumbnail
View Project

Sprunki Love but Jevin is so.... (Fixed Horror Sprunkis) remix-2

by PosieArt

Project thumbnail
View Project

Numberblocks Generator but there's More

by LeevonJames

Project thumbnail
View Project

AY in Paint Attack! [The Ultimate Mega Zetta Fun Show Party] (42 Players)

by juanfrilla

Project thumbnail
View Project

Get zapped

by Grimlock500

Project thumbnail
View Project

Colour Wheel 3d

by njdavison

Project thumbnail
View Project

Scratch Translate

by H2010-Scratch

Project thumbnail
View Project

COPTER RUSH | MOBILE FRIENDLY #All #Games #Art #Music

by --JetBeeGames--

Project thumbnail
View Project

Hill Climb Racing 2 remix

by baleinexplesive

Project thumbnail
View Project

New year - 2022 [late]

by The_894th_Orange_Cat

Project thumbnail
View Project

マイクラ実況Part17ネザライトォォ!!

by ultimaterocking

Project thumbnail
View Project

Every "AL but word is acquaintance" letter before Z rewound time

by Stickmin3000remixer

Project thumbnail
View Project

Add a button to beat up Mega Photo [remix 8] remix

by Calebb1109

Project thumbnail
View Project

tug of war - squid game

by 29rr23

Project thumbnail
View Project

realistic Dell Inspiron 1525 bootup windows vista

by orvalleethepro

Project thumbnail
View Project

EasyAchievements - A system... for achievements!

by josueart

Project thumbnail
View Project

My Ultimate black hole add round 1

by weef098

Project thumbnail
View Project

Numberblocks Sandbox V6.3

by crazymilkandres

Project thumbnail
View Project

My Prediction for bren319's Russian Alphabet Lore 4.0

by stevshel_marshall