ScratchData LogoScratchData
Back to TheBunnyNinja's profile

Joystick engine: simple and crossplatform

THTheBunnyNinja•Created March 11, 2021
Joystick engine: simple and crossplatform
12
11
223 views
View on Scratch

Instructions

wasd or mouse/touch if u exceed the activation zone it keeps your last input (this could be used as a sprint lock) the joystick can be anywhere on the screen and i mean ANYWHARE! AND you don't need to change variables!

Description

v1.0: release v1.1: removed not needed startup: made it snappier: fixed individual axis resetting for wasd: added comments v1.2: added activation limits for mouse v1.3: smoothed movement by a little bit v1.4: press space ;) v1.5: reduced the trigger field and added 360 rotation axis variable v1.6: Renamed Mouse Axis Variable plus added it as a slider. Fixed some random oddities as well. v1.7: Added a much cleaner looking pen draw loop to make a better looking joystick v1.8: (Two updates in one day!?) Added a deadzone slider v1.8.1: (Oh baby a triple!) Added origin sliders v1.8.2: combined both draws into a single thing cus I'm dumb v1.8.3: Cleaned up the main sprite a bit

Project Details

Project ID500007820
CreatedMarch 11, 2021
Last ModifiedMarch 20, 2023
SharedMarch 11, 2021
Visibilityvisible
CommentsAllowed