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 Pencil v3.5.0

by KHOPERIATEDO

Project thumbnail
View Project

Old DVD Screensaver (inside old tv view)

by daz26dobson

Project thumbnail
View Project

talking tom and ben news 19:La casa de Mickey

by Nikosuper2011

Project thumbnail
View Project

Scratch city 2.0

by realdiamondanimation

Project thumbnail
View Project

How to take care of your Sprout

by Sprout-seedly

Project thumbnail
View Project

Beat Up Sonic 7 (6)

by newmyles

Project thumbnail
View Project

ily 100x! (new forsaken oc!!!!!)

by filla_rp

Project thumbnail
View Project

Zerty.EXE (TheScratchGuy89's Remake) Redone

by MattTheScratcher2010

Project thumbnail
View Project

pt reny

by Kaiohshin

Project thumbnail
View Project

Non-canon!Bloxtale: bacon hair fight

by justin_cool_123

Project thumbnail
View Project

Super Angry Birds Maker

by RoyalCHARLIE

Project thumbnail
View Project

The Hungry Pumkin Game

by codingwarrior17

Project thumbnail
View Project

Sans | Friday Night Funkin' |

by TheChildYoder

Project thumbnail
View Project

One Night at Flumpty's 2 Scratch edition

by Morilix07

Project thumbnail
View Project

【Nep League】ブレインタワー remix

by fujiwara5216

Project thumbnail
View Project

login screen

by ASPS_Bukhari_5F

Project thumbnail
View Project

(Cancelled) VHS Sans - Animated OST (Collab with @srconroy)

by monkey_noises09

Project thumbnail
View Project

REVIRAVOLTA - Episódio #1

by Lala-Olivio

Project thumbnail
View Project

Uncannyblocks Band Different (100.0B-1.0T) (But Normies)

by CSTTPCGE450

Project thumbnail
View Project

東方風  弾幕無双【モバイル・キーボード】 扉

by gigirugarudo

Project thumbnail
View Project

Ohio EAS Alarm Red Zone

by DeJuan123456789

Project thumbnail
View Project

Beat up Colombiaball! (37 buttons)

by Joseph-9c

Project thumbnail
View Project

Beat Up Mario Ultimate Edition

by DankShrek2

Project thumbnail
View Project

[fooled.] the full RALR cast! but all of the letters

by Laypyae