ScratchData LogoScratchData
Back to CodeForEntertainment's profile

Joystick

COCodeForEntertainment•Created December 5, 2022
Joystick
4
2
62 views
View on Scratch

Instructions

This is a joystick, In which I created, for mobile-users! Use with credit! To use, you will need to rely on the "X JOYSTICK" and "Y JOYSTICK" variable. For example, if you wanted to make your player move, you can use those variables. INPUT MEANINGS~ If the "JOYSTICK X" variable is set to 1, that means you are dragging the stick in the right direction. But if it is set to -1, that means you are dragging it left. If the "JOYSTICK Y" variable is set to 1, that means you are dragging it in the north direction. But if it is set to -1, that means you are dragging it in the south direction. You can use these variables for detecting what direction you are dragging it, and converting it into a moving platformer for example.

Project Details

Project ID772403273
CreatedDecember 5, 2022
Last ModifiedDecember 5, 2022
SharedDecember 5, 2022
Visibilityvisible
CommentsAllowed