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

All Marios and Luigis

by ptv_23

Project thumbnail
View Project

Beat up that sailor! remix

by Lestat1025

Project thumbnail
View Project

My Own Klasky Csupo Nightmares Logo

by theorcaroxo435new

Project thumbnail
View Project

Minecraft bee 3D

by owdav30

Project thumbnail
View Project

Mr. Fun’s play center

by Rachel-rat

Project thumbnail
View Project

Ultimate Colourblocks Band Maker remix

by bandmaker912

Project thumbnail
View Project

The Studio Doors of Numbers (41)

by jacob630

Project thumbnail
View Project

Numberblocks Band but Even More Halves with Quarters

by juanfrilla

Project thumbnail
View Project

Infinty Knock Benja v1.85 FUNNY BOY

by benjaminsecondary24

Project thumbnail
View Project

Learn the letter sounds with The Artistic Alphabet! Unused 8.1

by OmariAhmad

Project thumbnail
View Project

Mr. Men And Little Miss Styled Thomas 3.0

by UPATSFTrainz2004

Project thumbnail
View Project

Ukrainian Alphabet Song (Endless Ukrainian / #SaveUkraine + Fixed Again)

by Joseph_Griffin_Rises

Project thumbnail
View Project

Super Mario Mayhem

by GalaxyGreat

Project thumbnail
View Project

Fidget spinner

by Maker_Games

Project thumbnail
View Project

Super Mario 64 2D (Demo)

by Ctrl-Alt-Llama

Project thumbnail
View Project

SSCP図鑑 SSCP1~100

by uyou0003

Project thumbnail
View Project

Geometry Dash Electrodynamix (UNFINISHED)

by PositiveDog

Project thumbnail
View Project

2D Minecraft 料理MOD 100 Days用 ピザキャット鯖 remix

by kanade0402

Project thumbnail
View Project

beat up pin 2

by aloismarkovic

Project thumbnail
View Project

Spin the fidget spinner

by TITANIC356

Project thumbnail
View Project

FNF Keyboard 1.2 but wich my BF

by YTMitja1000bit

Project thumbnail
View Project

Interactive Kazakh Alphabet Lore

by AlfabetoLoreSerie

Project thumbnail
View Project

Beat up Scratch Cat DLC 2

by ptv_23

Project thumbnail
View Project

Scooby Doo Pa Pa (My version)

by Juanmiguels_0905