Click the green flag to use the demo Click and drag anywhere to use the joystick To use in your own project: Drag and drop the BrickTech Instant Joystick sprite into your backpack, go into your project, drop it in, and replace every <key [X v] pressed?> block with a <(Instant Joystick) contains (X)?> block. (So <key [Up v] pressed?> becomes <(Instant Joystick) contains (Up)?>) You can mess with the config if you want to, but its not necessary. Don't even bother crediting me, the joystick is watermarked after all! (If you remove the watermark, then please credit me) NOTES: - The joystick ADDS touch support so Arrows/WASD still work! If you didn't want this, change Config.ALSOUSEARROWS at the top of the sprite's script to false. - The joystick allows you to point the stick at a diagonal and get two key outputs. (e.g. Up and Left) If you don't want this, (say your game is on a grid and the player isn't supposed to move diagonally), set Config.ALLOWDIAGONALS at the top of the sprite's script to false. - If you only want the joystick to work in a certain area of the screen, (e.g. you have buttons in part of the screen and don't want the player to trigger the joystick anytime they press one.) change the Config.ALLOWEDXMIN, Config.ALLOWEDXMAX, Config.ALLOWEDYMIN, and Config.ALLOWEDYMAX at the top of the sprite's script to define the range you want the joystick to trigger in. - You can change the opacity, and size of the joystick to fit your needs. Just change Config.TRANSARENCY% and Config.SIZE at the top of the sprite's script to change their respective properties. Still got questions? Have comments? Suggestions? Leave a comment.
Everything by me If you have questions, check the Instructions first, the WHOLE thing, if you STILL have questions after that, then ask them.