Рет қаралды 243,632
Learn about Mouse Pointer Lock, and how it can be enabled in our Scratch projects with this bonus TurboWarp tutorial. We are then released to pan the mouse around infinitely large areas never hitting the window bounds. We'll also update our Raycaster series to include a pointer lock mode that is fully backwards compatible with your Scratch Game.
⏩ Pointer Lock TurboWarp - experiments.turbowarp.org/poi...
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!
🚀 Boost Your Creativity with Griffpatch
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 griffpatch.academy 👈
😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
🐱 Scratch Studio for the RayCaster Series - scratch.mit.edu/studios/32774...
👀 Next Episode #10 - • "EPIC 3D JUMPING GAME"...
👀 Part 1 - • Crazy Simple Raycastin...
👀 Full Episode Playlist - • Crazy Fun Raycasting (...
👀 Quick and Fun Tutorials - • Quick and Fun Scratch ...
❤️ Scratch Addons - scratchaddons.com/
-------------Video Chapters-------------
0:00 Intro
1:27 TurboWarp - Pointer Lock Experiment
2:44 Mouse Speed x & Speed y
3:12 Raycaster
3:42 Pointer Lock Detector
4:47 Player Rotation
6:06 Panning Up and Down
7:12 Limiting Up and Down panning
7:58 Outro