(DEMO) Raycasting Engine v0.6: Vertical Movement, Directional Sprites, and Sounds

(DEMO) Raycasting Engine v0.6: Vertical Movement, Directional Sprites, and Sounds

by DogCatPuppyLover

👁 366 ❤️ 17 ⭐ 14 🔄 1
Created: Jan 15, 2023 Last modified: Apr 9, 2023 Shared: Jan 15, 2023

Description

Version 0.7 is out: https://scratch.mit.edu/projects/821977231/ CHANGELOG: - Added directional sprites - Added basic lighting - Added vertical movement and pitch - Added horizontally perspective-correct skybox (still not correct vertically) - Added sounds (the demo "meow" is coming from the soldier on the left) - Added support for TurboWarp widescreen - Added framebuffer for better performance Arrow keys to move, space to jump, mouse to look up and down. I highly recommend that you run this on Turbowarp with a better resolution: https://turbowarp.org/788395626 Most of the code comes from this tutorial: https://lodev.org/cgtutor/raycasting.html Mergesort implementation from the Scratch Wiki: https://en.scratch-wiki.info/wiki/Sorting_Values#Merge_Sort Credit to GarboMuffin for the stage size detector: https://scratch.mit.edu/projects/588493413/ Wolfenstein textures copyright by id Software. Skybox by Richy Mackro on OpenGameArt: https://opengameart.org/content/sky-box-sunny-day This is still a work-in-progress; I'm going to add more features and eventually turn this into a fully-functional 3D game engine. Stay tuned for the next release! To-do: Mip-mapping Baked lighting Adaptive sampling(?) Heightmap Better collision detection Vertically correct skybox(?) Delta-timed jumping/smooth movement Multiple framebuffer lists for Scratch at res 1(?) Better developer interface

Project Details

Visibility
Visible
Comments
Enabled