Impossible "Multi-Touch" Joysticks!!! 👉📱👈 Mobile Friendly Scratch Coding Tutorial

Publié le: 10 décembre 2022
sur la chaîne: griffpatch
653,981
9k

Learn how to code a Mobile friendly, Multi Touch Joystick in Scratch - Until recently thought impossible - Today you will see it come true in the form of a dual touch thumbstick and button controller combination for movement while jumping / shooting / or other action of your wish. Now we can move and shoot at the same time!!! Awesome!

Scratch works great with mouse and keyboard, but showing off your hard work to a friend on your mobile can be really frustrating unless you have the best mobile controls. That's where this tutorial will help! Once coded you can backpack the controller script and drop it into all your favorite games!

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 👉 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/32540...

👀 Quick and Fun Tutorials
   • Quick and Fun Scratch Tutorials  

⭐ Projects Featured in this video
The Floor is Lava - https://scratch.mit.edu/projects/7671...
Appel - https://scratch.mit.edu/projects/6091...
Classic Platformer -    • Code a Platformer Game | 1. The Basics  

❤️ Scratch Addons - https://scratchaddons.com/

-------------Video Chapters-------------
0:00 Intro
0:51 Mouse Events & Multi Touch
2:27 The Stick Sprite
5:44 The Player Sprite
7:27 Mobile Stick Costumes
8:39 Detecting the First Touch Event
11:12 Tracking Stick Movements
12:53 Limit the Stick range from -1 to 1
14:16 Stick Auto Centring
14:56 Multi Touch Support
17:13 Mouse Up is not the end
18:55 Dead Zone
20:45 The Stick Costumes
21:29 Clone the Stick from the Base
22:09 Reflect the Stick Movements
23:41 Stick Button Costume with "Click to Activate" Message
26:26 Adding to the Classic Platformer
27:45 Outro


Sur cette page du site, vous pouvez voir la vidéo en ligne Impossible "Multi-Touch" Joysticks!!! 👉📱👈 Mobile Friendly Scratch Coding Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur griffpatch 10 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 653,981 fois et il a aimé 9 mille téléspectateurs. Bon visionnage!