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 Reader: my

by RoccoM2013

Project thumbnail
View Project

BFB simulator!

by BFDIbutagame

Project thumbnail
View Project

η­”γˆγŒθ¦‹γˆγ‚‹γƒ–γƒ¬γ‚€γƒ³γ‚Ώγƒ―γƒΌ

by WiiCpu

Project thumbnail
View Project

Russian Alphabet Lore Remastered OST: Zeh's Cave

by Isa_jameel2012

Project thumbnail
View Project

make-your-own-bfdia-bfdia-12-update

by HoTomci

Project thumbnail
View Project

Beat up Noebolekcin

by jace1809

Project thumbnail
View Project

Blueberblocks End Credits (BETA)

by Leoox2015

Project thumbnail
View Project

Blue Mist Plus 4,000-4,099 All Jumpscares

by Aaron_TheCreator

Project thumbnail
View Project

Numberblocks Band 71-80

by nadalnuclear

Project thumbnail
View Project

Nickelodeon Creatures on a Broken Bridge Maker remix

by duder_123

Project thumbnail
View Project

AY in Roulette of Trapdoors! [ Remix 17 | 44 Players]

by Julian4-301

Project thumbnail
View Project

beat up wenda remix-2

by xmrrileyxx

Project thumbnail
View Project

Cubic Platformer (Multiplayer)

by Turtlebab13

Project thumbnail
View Project

Alphabet lore D got trapped inside S

by BackpackAiden

Project thumbnail
View Project

OMNILOVANIA [UndertaleFangame] v1.2

by reikun016

Project thumbnail
View Project

mope.io | recreation game

by Thepoter

Project thumbnail
View Project

Sunshine 2 || A platformer

by FreezingGlacier

Project thumbnail
View Project

Red Ball - Puzzle Platformer

by The-Green-Dragon

Project thumbnail
View Project

Beat Up Fake Cheese Man

by Lholden2

Project thumbnail
View Project

Super Mario 2D World. On Scratch - Intro

by EY_Productions

Project thumbnail
View Project

[29] Help Leafy get past the Dream Island

by ArchandMintBFFS

Project thumbnail
View Project

γ‚²γƒΌγƒ γ‚ͺγƒΌγƒγƒΌγŒγͺγ„γ‚²γƒΌγƒ γ€Œ2」

by maouoni

Project thumbnail
View Project

Post Split BFB Contestant(with hosts and E.X.I.T.) remix

by monicatoyfan2013

Project thumbnail
View Project

A-10 Maker+

by tadbabyshark