Skip to content

Commit b30f6b6

Browse files
committed
Upgrade the joystick extension to fix useless behavior parameters.
1 parent 4282974 commit b30f6b6

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

examples/resource-bar/game.json

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7836,7 +7836,13 @@
78367836
}
78377837
}
78387838
],
7839-
"events": [],
7839+
"events": [
7840+
{
7841+
"type": "BuiltinCommonInstructions::Standard",
7842+
"conditions": [],
7843+
"actions": []
7844+
}
7845+
],
78407846
"layers": [
78417847
{
78427848
"ambientLightColorB": 15554296,
@@ -7876,7 +7882,7 @@
78767882
"name": "SpriteMultitouchJoystick",
78777883
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Line Hero Pack/Master/SVG/Videogames/Videogames_controller_joystick_arrows_direction.svg",
78787884
"shortDescription": "Joysticks or buttons for touchscreens.",
7879-
"version": "1.0.0",
7885+
"version": "1.1.1",
78807886
"description": [
78817887
"Multitouch joysticks can be used the same way as physical gamepads:",
78827888
"- 4 or 8 directions",
@@ -7885,7 +7891,7 @@
78857891
"- Controls mapping for top-down movement and platformer characters"
78867892
],
78877893
"origin": {
7888-
"identifier": "MultitouchJoystick",
7894+
"identifier": "SpriteMultitouchJoystick",
78897895
"name": "gdevelop-extension-store"
78907896
},
78917897
"tags": [
@@ -10741,11 +10747,14 @@
1074110747
},
1074210748
{
1074310749
"value": "Primary",
10744-
"type": "String",
10750+
"type": "Choice",
1074510751
"label": "Joystick name",
1074610752
"description": "",
1074710753
"group": "Controls",
10748-
"extraInformation": [],
10754+
"extraInformation": [
10755+
"Primary",
10756+
"Secondary"
10757+
],
1074910758
"hidden": false,
1075010759
"name": "JoystickIdentifier"
1075110760
},
@@ -11300,11 +11309,14 @@
1130011309
},
1130111310
{
1130211311
"value": "Primary",
11303-
"type": "String",
11312+
"type": "Choice",
1130411313
"label": "Joystick name",
1130511314
"description": "",
1130611315
"group": "",
11307-
"extraInformation": [],
11316+
"extraInformation": [
11317+
"Primary",
11318+
"Secondary"
11319+
],
1130811320
"hidden": false,
1130911321
"name": "JoystickIdentifier"
1131011322
},
@@ -11708,12 +11720,6 @@
1170811720
"name": "Object",
1170911721
"supplementaryInformation": "SpriteMultitouchJoystick::SpriteMultitouchJoystick",
1171011722
"type": "object"
11711-
},
11712-
{
11713-
"description": "Behavior",
11714-
"name": "Behavior",
11715-
"supplementaryInformation": "SpriteMultitouchJoystick::MultitouchJoystick",
11716-
"type": "behavior"
1171711723
}
1171811724
],
1171911725
"objectGroups": []
@@ -11749,12 +11755,6 @@
1174911755
"name": "Object",
1175011756
"supplementaryInformation": "SpriteMultitouchJoystick::SpriteMultitouchJoystick",
1175111757
"type": "object"
11752-
},
11753-
{
11754-
"description": "Behavior",
11755-
"name": "Behavior",
11756-
"supplementaryInformation": "SpriteMultitouchJoystick::MultitouchJoystick",
11757-
"type": "behavior"
1175811758
}
1175911759
],
1176011760
"objectGroups": []
@@ -12089,11 +12089,14 @@
1208912089
},
1209012090
{
1209112091
"value": "Primary",
12092-
"type": "String",
12092+
"type": "Choice",
1209312093
"label": "Joystick name",
1209412094
"description": "",
1209512095
"group": "",
12096-
"extraInformation": [],
12096+
"extraInformation": [
12097+
"Primary",
12098+
"Secondary"
12099+
],
1209712100
"hidden": false,
1209812101
"name": "JoystickIdentifier"
1209912102
},

0 commit comments

Comments
 (0)