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

talking tom and ben news ohio 3 remix

by kuponoIs

Project thumbnail
View Project

Numberblocks Basics 1 - Jumpscares (As Of 2023) V2

by Jason3424Maker-Newer

Project thumbnail
View Project

Happy Font V17

by 123456free

Project thumbnail
View Project

Wither Storm for Tazo

by TheSunOfSpikeball

Project thumbnail
View Project

FNAS

by dragon_cinetica

Project thumbnail
View Project

Chrissy The Chicken (Charlie The Steak FanGame) V1.3. remix

by annoyingorange225

Project thumbnail
View Project

The Roaring Knight Vector

by ModemDoesEverythin

Project thumbnail
View Project

Clone Armies

by Me_RGYB

Project thumbnail
View Project

Beat Up Bonzi Buddy 4

by Macjun12

Project thumbnail
View Project

Fidget Spinner Engine

by StickyTac

Project thumbnail
View Project

SemiOmega Engine Demo

by MARIOWXT

Project thumbnail
View Project

Minecraft in Scratch v.0.4

by ClarkeGhost

Project thumbnail
View Project

My numberblocks generator

by superzeppy

Project thumbnail
View Project

をンダむン をンダーテール Undyne Undertale

by tayuu

Project thumbnail
View Project

SERVER 2 ☁️ Among Us Scratch v3.17 (online)

by TimMcCool

Project thumbnail
View Project

All Numbericons 1-600 Different Styles this is fav

by littlekayeu

Project thumbnail
View Project

DTLegendz OS 2.0

by humplerfish

Project thumbnail
View Project

It would be so awesome

by m_navya

Project thumbnail
View Project

Doors Heartbeat Game

by Bob-FNF

Project thumbnail
View Project

Endless Greek : away (EARLY READER BETA MOD) remix

by CrazyBird3029

Project thumbnail
View Project

은석 - μ•„λΉ κ°€ λ§Œλ“  보글보글 (Eun-Suk Bubble Bobble) v1.1

by Choi-Eun-Suk

Project thumbnail
View Project

Osu! Mania V3 | Arcaea Event Part 2

by OsuManiaScratch

Project thumbnail
View Project

Map Explorer

by Poquihuf

Project thumbnail
View Project

ALBTWIAIOF in bren319 style! (Fixed!)

by AlfabetoLoreSerie