Skip to content

Use Quick join lobby action in Multiplayer Jump and Arrow Fight games #763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 54 additions & 37 deletions examples/multiplayer-bounce-puzzle/multiplayer-bounce-puzzle.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"firstLayout": "",
"gdVersion": {
"build": 99,
"major": 4,
"minor": 0,
"build": 224,
"major": 5,
"minor": 5,
"revision": 0
},
"properties": {
Expand All @@ -18,7 +18,6 @@
"scaleMode": "linear",
"sizeOnStartupMode": "",
"templateSlug": "",
"useExternalSourceFiles": false,
"version": "1.0.0",
"name": "Bounce Puzzle",
"description": "A multiplayer puzzle game where you have to place obstacles to make the ball bounce and reach the goal.",
Expand Down Expand Up @@ -65,7 +64,6 @@
"resources": {
"resources": [
{
"alwaysLoaded": false,
"file": "assets/Large Hole.png",
"kind": "image",
"metadata": "",
Expand All @@ -78,7 +76,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/Directional Arrow Full Circle.png",
"kind": "image",
"metadata": "",
Expand All @@ -91,7 +88,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/Red Button With Shadow_Hovered.png",
"kind": "image",
"metadata": "",
Expand All @@ -104,7 +100,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/Red Button With Shadow_Idle.png",
"kind": "image",
"metadata": "",
Expand All @@ -117,7 +112,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/Red Button With Shadow_Pressed.png",
"kind": "image",
"metadata": "",
Expand All @@ -141,7 +135,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/Floating Out Button Dark Blue_Hovered.png",
"kind": "image",
"metadata": "",
Expand All @@ -154,7 +147,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/Floating Out Button Dark Blue_Idle.png",
"kind": "image",
"metadata": "",
Expand All @@ -167,7 +159,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/Floating Out Button Dark Blue_Pressed.png",
"kind": "image",
"metadata": "",
Expand All @@ -191,7 +182,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/Mouse Cursor 2.png",
"kind": "image",
"metadata": "{\"extension\":\".png\"}",
Expand All @@ -200,7 +190,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Mouse Cursor 1.png",
"kind": "image",
"metadata": "{\"extension\":\".png\"}",
Expand All @@ -209,7 +198,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/alienGreen_round.png",
"kind": "image",
"metadata": "",
Expand All @@ -218,7 +206,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Explosive_Red.png",
"kind": "image",
"metadata": "",
Expand All @@ -227,7 +214,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Explosive_Green.png",
"kind": "image",
"metadata": "",
Expand All @@ -236,7 +222,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Block_Green.png",
"kind": "image",
"metadata": "",
Expand All @@ -245,7 +230,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Block_Red.png",
"kind": "image",
"metadata": "",
Expand All @@ -254,7 +238,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Triangle_Green.png",
"kind": "image",
"metadata": "",
Expand All @@ -263,7 +246,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/Triangle_Red.png",
"kind": "image",
"metadata": "",
Expand All @@ -272,7 +254,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/RightTriangle_Red.png",
"kind": "image",
"metadata": "",
Expand All @@ -281,7 +262,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/RightTriangle_Green.png",
"kind": "image",
"metadata": "",
Expand All @@ -290,7 +270,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/Block_Black.png",
"kind": "image",
"metadata": "",
Expand All @@ -299,7 +278,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/tiled_Brown Background.png",
"kind": "image",
"metadata": "",
Expand All @@ -312,7 +290,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/tiled_Blue Background.png",
"kind": "image",
"metadata": "",
Expand All @@ -325,7 +302,6 @@
}
},
{
"alwaysLoaded": false,
"file": "assets/tiled_Green Background.png",
"kind": "image",
"metadata": "",
Expand Down Expand Up @@ -358,7 +334,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/Mobile Cursor 3.png",
"kind": "image",
"metadata": "",
Expand All @@ -367,7 +342,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/Mobile Cursor 4.png",
"kind": "image",
"metadata": "",
Expand All @@ -376,7 +350,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Mobile Cursor 1.png",
"kind": "image",
"metadata": "",
Expand All @@ -385,7 +358,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Mobile Cursor 2.png",
"kind": "image",
"metadata": "",
Expand All @@ -394,7 +366,6 @@
"userAdded": true
},
{
"alwaysLoaded": false,
"file": "assets/Mouse Cursor 3.png",
"kind": "image",
"metadata": "",
Expand All @@ -403,7 +374,6 @@
"userAdded": false
},
{
"alwaysLoaded": false,
"file": "assets/Mouse Cursor 4.png",
"kind": "image",
"metadata": "",
Expand Down Expand Up @@ -556,6 +526,7 @@
"text": "Lobby",
"font": "CantoraOne-Regular.ttf",
"textAlignment": "center",
"verticalTextAlignment": "top",
"characterSize": 60,
"color": "255;255;255"
}
Expand Down Expand Up @@ -609,6 +580,7 @@
"text": "Requires 2 players\n\nOpen two previews if you're \ntesting this game by yourself",
"font": "CantoraOne-Regular.ttf",
"textAlignment": "center",
"verticalTextAlignment": "top",
"characterSize": 30,
"color": "255;255;255"
}
Expand Down Expand Up @@ -667,9 +639,11 @@
"actions": [
{
"type": {
"value": "Multiplayer::OpenGameLobbies"
"value": "Multiplayer::QuickJoinLobby"
},
"parameters": [
"",
"",
""
]
}
Expand Down Expand Up @@ -1315,6 +1289,7 @@
"text": "Start",
"font": "CarterOne-Regular.ttf",
"textAlignment": "center",
"verticalTextAlignment": "top",
"characterSize": 30,
"color": "255;255;255"
}
Expand Down Expand Up @@ -2766,6 +2741,7 @@
"text": "Level: 1",
"font": "CantoraOne-Regular.ttf",
"textAlignment": "left",
"verticalTextAlignment": "top",
"characterSize": 50,
"color": "255;255;255"
}
Expand Down Expand Up @@ -2840,6 +2816,7 @@
"text": "You are GREEN",
"font": "CantoraOne-Regular.ttf",
"textAlignment": "left",
"verticalTextAlignment": "top",
"characterSize": 30,
"color": "255;255;255"
}
Expand Down Expand Up @@ -4334,6 +4311,7 @@
"text": "Game End",
"font": "CantoraOne-Regular.ttf",
"textAlignment": "center",
"verticalTextAlignment": "top",
"characterSize": 120,
"color": "255;255;255"
}
Expand Down Expand Up @@ -19427,9 +19405,16 @@
],
"eventsBasedObjects": [
{
"areaMaxX": 64,
"areaMaxY": 64,
"areaMaxZ": 64,
"areaMinX": 0,
"areaMinY": 0,
"areaMinZ": 0,
"defaultName": "Button",
"description": "A button that can be customized.",
"fullName": "Button (panel sprite)",
"isUsingLegacyInstancesRenderer": true,
"name": "PanelSpriteButton",
"eventsFunctions": [
{
Expand Down Expand Up @@ -20820,6 +20805,7 @@
"text": "Text",
"font": "",
"textAlignment": "",
"verticalTextAlignment": "top",
"characterSize": 20,
"color": "0;0;0"
}
Expand Down Expand Up @@ -20907,7 +20893,39 @@
"objectName": "Pressed"
}
]
}
},
"objectsGroups": [],
"layers": [
{
"ambientLightColorB": 200,
"ambientLightColorG": 200,
"ambientLightColorR": 200,
"camera3DFarPlaneDistance": 10000,
"camera3DFieldOfView": 45,
"camera3DNearPlaneDistance": 3,
"cameraType": "",
"followBaseLayerCamera": false,
"isLightingLayer": false,
"isLocked": false,
"name": "",
"renderingType": "",
"visibility": true,
"cameras": [
{
"defaultSize": true,
"defaultViewport": true,
"height": 0,
"viewportBottom": 1,
"viewportLeft": 0,
"viewportRight": 1,
"viewportTop": 0,
"width": 0
}
],
"effects": []
}
],
"instances": []
}
]
},
Expand Down Expand Up @@ -22698,6 +22716,5 @@
"windowMask": false
}
}
],
"externalSourceFiles": []
]
}
Loading
Loading