Skip to content

Commit 0c5a6b0

Browse files
authored
[Multitouch joystick] Exclude the thumb from the collision mask (#794)
* It allows to use the anchor behavior without the joystick shifting when players move the thumb.
1 parent 21e8cf6 commit 0c5a6b0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

extensions/reviewed/SpriteMultitouchJoystick.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "SpriteMultitouchJoystick",
99
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Videogames/Videogames_controller_joystick_arrows_direction.svg",
1010
"shortDescription": "Joysticks or buttons for touchscreens.",
11-
"version": "1.1.2",
11+
"version": "1.1.3",
1212
"description": [
1313
"Multitouch joysticks can be used the same way as physical gamepads:",
1414
"- 4 or 8 directions",
@@ -3562,6 +3562,15 @@
35623562
"Object",
35633563
""
35643564
]
3565+
},
3566+
{
3567+
"type": {
3568+
"value": "SetIncludedInParentCollisionMask"
3569+
},
3570+
"parameters": [
3571+
"Thumb",
3572+
""
3573+
]
35653574
}
35663575
]
35673576
}

0 commit comments

Comments
 (0)