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

Endless number 1,000

by Tufftifford1234

Project thumbnail
View Project

Talking Ben Telephone Beta 1

by Maaxwowerz

Project thumbnail
View Project

Paper Mario

by TheWiddleCreator

Project thumbnail
View Project

beat up window xp 17

by Israel-333

Project thumbnail
View Project

Roaring Knight fight

by imaperson5558

Project thumbnail
View Project

Owaf bbb jumpscare test v1

by korbenisgreat

Project thumbnail
View Project

-Trinity Encore-rewrite appears up (FNF VS Rewrite)

by uliseS_leonard

Project thumbnail
View Project

Numberblock Band Wholes 14

by sonictails90

Project thumbnail
View Project

Pong Game (TEST GAME)

by JonathanCosmo029

Project thumbnail
View Project

Numberblocks Integer Limits Band (Fabian's Take)

by FG1RXS1

Project thumbnail
View Project

BEST DAY EVER!! || animal hospital

by h4xrtql

Project thumbnail
View Project

500 Ways to Hurt Evil Scratch Cat Part 1 (Remix & Continue | 2 / 50 Ways)

by Twin138956Scratch

Project thumbnail
View Project

Untitled

by tworca_SR

Project thumbnail
View Project

Rede Globo Yoshi's Island Saindo-do-ar (1979-1985)

by Mariofans1981

Project thumbnail
View Project

Mistakeblocks Band 1 (The Band of Mistakeblocks is Start)

by Windows11Scratch470

Project thumbnail
View Project

FNF - VS Whitty but Harder definitive edition

by N30_G30

Project thumbnail
View Project

Beat Up talking tom

by AnthonyOuyang

Project thumbnail
View Project

Talking Ben

by HugoandMemes

Project thumbnail
View Project

Cuphead The Howling Aces In Doggone Dogfight

by HarrisonJPlayz

Project thumbnail
View Project

Raise A Billy! *changed art style* (Version 1.5)

by Amogus_Creator

Project thumbnail
View Project

Super Luigi All Stars (SLB3) Super Mario All Stars (Super Mario Bros. 3 Rom Hack) remix

by adaba_kwasi

Project thumbnail
View Project

Color Or Die UPDATED

by Snake64e

Project thumbnail
View Project

The LMNOP Crew but they are all Equivalents of My Hungarian P (V2)

by AlfabetoLoreSerie

Project thumbnail
View Project

KidsTV123 Planets Without Faces And Arms

by Jaydeno113