Uploaded January 2022 | Updated September 2026, 3 weeks ago
How to make a simple 3d game (Raycaster) in Scratch. This is part 2 of a short tutorial and we actually create the raycaster. We'll cover projectiles, light rays, Godrays, Wide beam torches with shadows, 3d projection, lens correction, and two colour wall surfaces. I hope you are ready for some serious fun!
Don't forget to submit your projects to the studio linked below by commenting the project URL in the studio comments.
My tutorials are for all budding game & software developers using Code Blocks. Scratch On guys!
๐ Part 3 - youtu.be/eBFOjriHMc8
๐ฅ Bug Fixes - youtu.be/vqaKQzZLAes
๐ *Boost Your Creativity with Griffpatch*
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at ๐ https://griffpatch.academy ๐
๐บ Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu
๐ฑ Scratch Studio for this tutorial - https://scratch.mit.edu/studios/30945983/comments
๐ Part 1 - youtu.be/M1c5TcdITVs
๐ Full Episode Playlist - youtube.com/playlist?list=PLy4zsTUHwGJKolO9Ko_j6IStFIJnTYBul
๐ Quick and Fun Tutorials - youtube.com/playlist?list=PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_
โค๏ธ Scratch Addons - scratchaddons.com
๐น Video Editing Software - techsmith.pxf.io/c/2682566/506622/5161
--------------Video Chapters--------------
0:00 Intro
0:30 Part 2 โ Ray Casting
0:53 Firing a Simple Projectile
3:24 Move by 4 โ why?
4:13 Donโt overlap the wall
5:13 Run Without Screen Refresh
6:01 Drawing a Ray with the Pen Extension
7:38 Laser Beam
8:27 Flash Light
9:38 Field of View
12:07 3d projection using raycasting
13:49 Coding our first 3d Raycaster
17:35 Hide the Level Map
18:07 Vertical Line Spacing & Resolution
21:20 Depth Shading the 3d Level
22:51 Fix Fisheye Lensing Effect
25:43 Horizon, Floor and Ceiling
27:41 Improving Jitter
29:30 Shaded Walls
34:16 Outro
How to make a simple 3d game (Raycaster) in Scratch. This is part 2 of a short tutorial and we actually create the raycaster. We'll cover projectiles, light rays, Godrays, Wide beam torches with shadows, 3d projection, lens correction, and two colour wall surfaces. I hope you are ready for some serious fun!
Don't forget to submit your projects to the studio linked below by commenting the project URL in the studio comments.
My tutorials are for all budding game & software developers using Code Blocks. Scratch On guys!
๐ Part 3 - youtu.be/eBFOjriHMc8
๐ฅ Bug Fixes - youtu.be/vqaKQzZLAes
๐ *Boost Your Creativity with Griffpatch*
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at ๐ https://griffpatch.academy ๐
๐บ Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu
๐ฑ Scratch Studio for this tutorial - https://scratch.mit.edu/studios/30945983/comments
๐ Part 1 - youtu.be/M1c5TcdITVs
๐ Full Episode Playlist - youtube.com/playlist?list=PLy4zsTUHwGJKolO9Ko_j6IStFIJnTYBul
๐ Quick and Fun Tutorials - youtube.com/playlist?list=PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_
โค๏ธ Scratch Addons - scratchaddons.com
๐น Video Editing Software - techsmith.pxf.io/c/2682566/506622/5161
--------------Video Chapters--------------
0:00 Intro
0:30 Part 2 โ Ray Casting
0:53 Firing a Simple Projectile
3:24 Move by 4 โ why?
4:13 Donโt overlap the wall
5:13 Run Without Screen Refresh
6:01 Drawing a Ray with the Pen Extension
7:38 Laser Beam
8:27 Flash Light
9:38 Field of View
12:07 3d projection using raycasting
13:49 Coding our first 3d Raycaster
17:35 Hide the Level Map
18:07 Vertical Line Spacing & Resolution
21:20 Depth Shading the 3d Level
22:51 Fix Fisheye Lensing Effect
25:43 Horizon, Floor and Ceiling
27:41 Improving Jitter
29:30 Shaded Walls
34:16 Outro








![Can You Beat These Spooky Scratch Games? | Game Jam
Hello fellow Scratchers! This video showcases some fresh **scratch game ideas** from the Midnight Mask Game Jam, where participants put their **scratch programming** skills to the test. Watch as we explore cool concepts made with **scratch coding** and a ton of imagination, proving why **coding** with Scratch is so fun!
๐ฅ These Jams are just one part of the Griffpatch Academy Membership where we take you from Gamer to Game Creator* - Learn more at ๐ https://griffpatch.academy ๐
This video showcases some fresh **scratch game ideas** for your next project, demonstrating the power of **scratch programming**. Watch as we explore cool concepts made with **scratch coding** and a ton of imagination, proving why **coding** with Scratch is so fun
Here are our winners!!!
[[ Best Animation ]]
* *imjustachillguy4725* - The Story Of Elon Mask - Unfinished - https://scratch.mit.edu/projects/1229840289/
[[ Best Arcade ]]
* *-KingMidas* - A Midknights Mask - https://scratch.mit.edu/projects/1233989505/
* *my_c00l_games* - Cubenabbits High-Risk Heist - https://scratch.mit.edu/projects/1236771571/
[[ Best Casual ]]
* *Pillowstatic* - One Unusual Night: The Midnight Mask - https://scratch.mit.edu/projects/1224915071/
* *Gio8Kim - Finding Ghosty* - https://scratch.mit.edu/projects/1223065761/
[[ Best Platformer ]]
* *cooldudebob1* - THE EVIL WIZARD : the masks of doom - https://scratch.mit.edu/projects/1236025482/
[[ Best Puzzle ]]
* *FBGNS75* - Midnight Switch - https://scratch.mit.edu/projects/1223897237/
[[ Best Shooter ]]
* *-Sywft* - Flying through time - https://scratch.mit.edu/projects/1236599511/
* *KrackenCodes* - Antlers After Dark | GameJam17 - https://scratch.mit.edu/projects/1225931594/
Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu Can You Beat These Spooky Scratch Games? | Game Jam](https://i.ytimg.com/vi/Y_AsVgXcAG0/mqdefault.jpg)

