Summary
In this first part of a raycasting miniseries, Griffpatch guides you through building a solid foundation for a 3D game in Scratch, focusing on level design and smooth player movement mechanics with collision detection.
Highlights
Basic Movement and Collision00:05:05
Adding basic forward and backward movement and implementing simple collision detection that prevents the player from walking through walls.
Advanced Hitbox and Movement Logic00:09:15
Addressing collision issues by implementing a non-rotating square hitbox and refining movement logic to avoid getting snagged on walls.
Refined Movement and Strafing00:12:44
Splitting movement into X and Y components to allow sliding along walls, and adding strafing functionality using WASD keys for better control.
Introduction and Level Design00:00:03
Introduction to raycasting and setting up the basic top-down level environment by painting a backdrop and creating a level sprite.
Player Setup and Rotation00:03:07
Creating the player sprite, designing a triangular costume, and implementing basic rotation scripts to allow the player to look around.