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

How can I get Endless Reader Words for free on IOS?

by Olihat

Project thumbnail
View Project

Charlie the Steak Medium

by infinateyyy

Project thumbnail
View Project

Talking Pocoyo (SCRATCH VERSION)

by Svetlana1978

Project thumbnail
View Project

Minion Movie With Brian The Minion Studio Thumbnail remix

by jdhaass

Project thumbnail
View Project

Away We Go! (Peppa Pig Title Card)

by NanotheMaker

Project thumbnail
View Project

《映画版》異世界からの脱出0話 予告

by harukingusann

Project thumbnail
View Project

Jemelbob Lylespants Fight Cloud 1 (4) remix

by scratchlover201403

Project thumbnail
View Project

Crocodile Crying Real Tears

by Ice_Kev_the_Elephant

Project thumbnail
View Project

JUMP

by -Cinematic-

Project thumbnail
View Project

ELETECH SkyRise 1500 at Hotel Mania

by SprunkiBestMods

Project thumbnail
View Project

Hey two SQUARED! But Travis and Komfettii sing it! (BFDI26 COVER)

by TRAVISTHEZOMBIE09

Project thumbnail
View Project

Sans Boss Fight with Bad Time WIP

by ws15052001

Project thumbnail
View Project

逃げろ!頽廃の森から! ver3.0

by Leihuiyingxiong

Project thumbnail
View Project

Windows NT 4.0 Simulator

by win98scratch

Project thumbnail
View Project

BEAT LIGHT 2.5D β

by samirin

Project thumbnail
View Project

TS!Underswap Papyrus Phase 1

by Oferdberd

Project thumbnail
View Project

红色警戒2测试版

by hongsejingjie

Project thumbnail
View Project

⭑ ★ ❶❷❸❹❺ | TᕼE ᔕTᑌᗪIO ᗪOOᖇᔕ Oᖴ ᑎᑌᗰᗷEᖇᔕ • ᑭᗩᖇT ❻ • 568 ᗪOOᖇᔕ | ❻❼❽❾❿ ★ ⭑

by KARises

Project thumbnail
View Project

Kid VS Kat Cartoon Network Nood Era Up Next bumper!

by Paulthecreator33

Project thumbnail
View Project

【前編】おにごっこ~Another escape game~第陸拾零話「再来」

by tyomuko22

Project thumbnail
View Project

beat up scratch cat, ultimate edition (new buttons!)

by Leoox2015

Project thumbnail
View Project

flush test invasion

by Tv-_-Woman

Project thumbnail
View Project

Beat Up leafy

by fanman6

Project thumbnail
View Project

Beat Up Frown [7]

by Universe_Boy200