Переглядів 1,599,593
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 - • Sprites in a 3D World ...
🔥 Bug Fixes - • Quick Fixes for Raycas...
⭐ Channel membership with perks - / @griffpatch
🐱 Scratch Studio for this tutorial - scratch.mit.edu/studios/30945...
👀 Part 1 - • Crazy Simple Raycastin...
👀 Full Episode Playlist - • Crazy Fun Raycasting (...
👀 Quick and Fun Tutorials - • Quick and Fun Scratch ...
❤️ Scratch Addons - scratchaddons.com/
📹 Video Editing Software - techsmith.pxf.io/c/2682566/50...
-------------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