Using this joystick engine, you can make platformers, as well as many other projects mobile friendly through the use of this backpackable joystick. To use: Go into the code. Backpack the player and joystick sprites. If you want the size feature, backpack the size sprite. Go to your completed game and take all of the items out of your backpack. Go into the Player sprite(The one you just took out of the backpack, not your player.) If you have a platformer or some other game in which you need to be going in a straight line most of the time, take the script closest to the bottom of the page in the Player sprite and click it into the forever loop near the top of the page. If you want your game to be more fluid, use the first or second option and equip it into the forever loop. Drag the ‘when flag pressed: forever:’ script from the Player sprite into the sprite that will represent the player in the game by dragging the script into the list of sprites below the screen in the editor.(Drag it to your player) That’s it! This strategy may not work for all games, but for more generic platformers, it is a solid way to make the game mobile friendly. Enjoy!
Griffpatch’s tutorial for joysticks inspired me; most of the code is copied from the tutorial, excluding two features; the size button and the sensing block, which allow the user to resize the joystick and enable better sensing, so that the joystick only reacts when the mouse is actually inside the base circle. Art also partially inspired by Griffpatch. Thanks!