Skip to content

New extension: MultitouchForJoystickCustom #2241

Description

@reideanims

Description

The thing is, when I tried to create my own joystick using the built-in Multitouch Joystick object, my Thumb got stuck. So, for those who have encountered the same problem or simply want to create a custom joystick, this extension provides settings for distance and touch area.

How to use the extension

The extension includes a Joystick behavior for the Thumb, and an action called "Are you having Joy?" that lets you select an object as the Border for the Thumb and set the Zone (the area where the joystick can detect touch). For example, you can add a rectangular object and resize it to fit one half of the device. When you touch outside this rectangular Zone, the joystick will not work.
The action also includes a Radius option. Don't forget to set the origin points of the objects to the correct center.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

AI usage

  • I used an AI to generate some part of the code.
  • I don't understand the generated code or I don't feel able to modify it.

Example file

GDevelop-game.zip

Extension file

MultitouchForJoystickCustom.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions