Ray Casting 3D Engine v2.3

Ray Casting 3D Engine v2.3

by Argon26

👁 184,654 ❤️ 7,704 ⭐ 5,639 🔄 386
Created: Nov 1, 2020 Last modified: Sep 21, 2024 Shared: Jun 7, 2023

Description

All code by me, based on https://lodev.org/cgtutor/raycasting.html, https://stackoverflow.com/questions/67732676, and a video by The Coding Train https://www.youtube.com/watch?v=vYgIKn7iDH8

Instructions

Just a reminder, loves: any transphobia or bigotry in the comments will be reported (also thank you to all the very sweet people who have left messages of support - i love y'all <3) Use WASD to move, and the left and right arrow keys to turn. Use the number keys zero through four to set the resolution for better speed; 0 is lowest res (fastest) and 4 is highest res (slowest). Explore the tiny 3D environment I made, this time in an engine that actually works! MOBILE SUPPORT: @UK-NotUK made a wonderful mobile friendly version, check it out! https://scratch.mit.edu/projects/494151566 [BASED ON V2.0, NOT UP TO DATE] UPDATE LOG: v2.3: added (mostly functional) wall sliding v2.2: minor optimizations, more resolution options v2.2.1: explicitly set FOV in code (minor bug fix) v2.2.2: fixed crash when view ray clips through map corner (minor bug fix) v2.1: fixed fisheye effect, added resolution options v2.0: initial release

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

Numbericons 1-4000

by jayden2015paul

Project thumbnail
View Project

むずすぎるファイブボンバー

by Reimerak

Project thumbnail
View Project

F N A F Sister Location Full Glitch Free Game.

by Glamrock-Chica-

Project thumbnail
View Project

Trollface Inhales/Absorbs Everything Add round 1

by Joining1231

Project thumbnail
View Project

aw shucks ai extended

by playerOneE

Project thumbnail
View Project

VFX Motion Blur Fidget Spinner

by Rhodexa

Project thumbnail
View Project

Universe size comparison 宇宙の大きさ比較

by Ayumi2016

Project thumbnail
View Project

so many beat ups remix

by XavierRDL

Project thumbnail
View Project

Nbb paradox

by thereturnofrcg06

Project thumbnail
View Project

sonic 3 and knuckles (beta)

by henryxd99999999

Project thumbnail
View Project

Plants VS Zombies [Recreation] Updating

by BreadyAndFriends

Project thumbnail
View Project

Stingy text to speech remix

by Pszczolka_Erina

Project thumbnail
View Project

baller simulator

by FireMayro

Project thumbnail
View Project

Beat Up Bonzi Buddy 2 remix remix

by TAG987654321

Project thumbnail
View Project

oof buttons

by Zunidoll1234

Project thumbnail
View Project

VirtualBox Simulator in english but weird

by babanu2014

Project thumbnail
View Project

NBA LIVE DRAFT *SEASON UPDATE*

by Kingfisher221

Project thumbnail
View Project

Deep - The Epic Romance Drama

by historical_supa

Project thumbnail
View Project

Five Nights at Freddy's 3 remix

by paruten

Project thumbnail
View Project

Endless Reader Family word

by 277rafael

Project thumbnail
View Project

[地下鉄に乗り入れる特急]小田急ロマンスカー60000形(MSE)ドア開閉機構

by 240nj

Project thumbnail
View Project

Endless alphabet C-3 - CLUMSY remix

by mantonio3131

Project thumbnail
View Project

For @peggraz51 Beat Ups

by GooleSharty122

Project thumbnail
View Project

add a button to beat up Nano: 2024 edition [14]

by galaxylgnokiasamsung