You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type !update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:
It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
AI usage
Example file
GDevelop-game.zip
Extension file
MultitouchForJoystickCustom.zip
Extension by @reideanims
You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type
!update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!