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

beat up kane 2004 Remastered 2

by mugpanic

Project thumbnail
View Project

antonblast Vector Game assets [packs] (who's next?)

by amir11323145

Project thumbnail
View Project

Beat up Sonic Dlc

by xanderafa

Project thumbnail
View Project

playhouse disney logo 2020 (horror) preview

by mirafita3436

Project thumbnail
View Project

The Studio Doors of Numbers (39)

by jacob630

Project thumbnail
View Project

the wither storm animation

by codingwhizzer

Project thumbnail
View Project

E.1 | Alphabet Lore

by Alexzilla_da_king

Project thumbnail
View Project

CBBC ident: bully

by tti89

Project thumbnail
View Project

γ€γ‚³γƒŸγƒ₯ε₯½γζ„Ÿθ¬γ€‘η«ε±±γ‚’ε™΄η«γ•γ›γ‚‹γ‚²γƒΌγƒ γ€ζ‹‘ζ•£εΈŒζœ›γ€‘

by _-marucchi-_

Project thumbnail
View Project

Undertale (in development)

by H0881K

Project thumbnail
View Project

Funki punky logo remix

by migdoraemon

Project thumbnail
View Project

SCRATCH WARS - Episode 1

by theredviking

Project thumbnail
View Project

ASMR The Price Is Right Big Wheel

by 683039

Project thumbnail
View Project

Love Rap 2 - Rhythm Heaven Fever

by goldmelonmaster

Project thumbnail
View Project

Talking Tom gold run v.1.08

by TheoGruen

Project thumbnail
View Project

Me

by witherstorm18391

Project thumbnail
View Project

Template {free intro}

by robtop_Game3

Project thumbnail
View Project

Beat Up Red Button 1.1.7

by scratchkingfrank123

Project thumbnail
View Project

Friday Night Funkin VS Dave and Bambi (V1.2B)

by Agentdog31

Project thumbnail
View Project

3Dをスレチック

by RRRQFE

Project thumbnail
View Project

Beat Up Scratch Cat v1.35 (13+) (UPDATE) remix-3

by sneakypete2012

Project thumbnail
View Project

The Michael52 Movie 2 DVD Menu (4)

by Scpstories

Project thumbnail
View Project

Beat Up the Scratch Cat! remix

by Zeldian3000

Project thumbnail
View Project

Beat Up gus

by everton_trader