Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
"height": 1152,
"layer": "",
"locked": true,
"name": "Background",
"name": "RepeatingBackground",
"persistentUuid": "e2ca28c0-4b90-4b3d-8842-1ce8032de187",
"width": 1920,
"x": -320,
Expand Down Expand Up @@ -516,7 +516,7 @@
},
{
"assetStoreId": "",
"name": "Background",
"name": "RepeatingBackground",
"type": "Scene3D::Cube3DObject",
"variables": [],
"effects": [],
Expand Down Expand Up @@ -720,7 +720,7 @@
},
{
"assetStoreId": "",
"name": "Bullet",
"name": "PlayerBullet",
"type": "Scene3D::Model3DObject",
"variables": [],
"effects": [],
Expand Down Expand Up @@ -757,13 +757,13 @@
"objectName": "Player"
},
{
"objectName": "Bullet"
"objectName": "PlayerBullet"
},
{
"objectName": "Enemy"
},
{
"objectName": "Background"
"objectName": "RepeatingBackground"
},
{
"objectName": "Camera"
Expand Down Expand Up @@ -836,7 +836,7 @@
"value": "SetCenter"
},
"parameters": [
"Background",
"RepeatingBackground",
"=",
"CameraCenterX() - mod(CameraCenterX(), 160) + 160",
"=",
Expand Down Expand Up @@ -989,7 +989,7 @@
"FireBullet",
"Player.CenterX()",
"Player.CenterY()",
"Bullet",
"PlayerBullet",
"Player.Angle()",
"400",
"300"
Expand Down Expand Up @@ -1031,7 +1031,7 @@
"FireBullet",
"Player.CenterX()",
"Player.CenterY()",
"Bullet",
"PlayerBullet",
"Player.Angle()",
"400",
"300"
Expand Down Expand Up @@ -1059,7 +1059,7 @@
"value": "CollisionNP"
},
"parameters": [
"Bullet",
"PlayerBullet",
"Enemy",
"",
"",
Expand All @@ -1084,7 +1084,7 @@
"value": "Delete"
},
"parameters": [
"Bullet",
"PlayerBullet",
""
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
"height": 1408,
"layer": "",
"locked": true,
"name": "Background",
"name": "RepeatingBackground",
"persistentUuid": "e2ca28c0-4b90-4b3d-8842-1ce8032de187",
"width": 2048,
"x": -384,
Expand Down Expand Up @@ -401,7 +401,7 @@
},
{
"assetStoreId": "",
"name": "Background",
"name": "RepeatingBackground",
"type": "Scene3D::Cube3DObject",
"variables": [],
"effects": [],
Expand Down Expand Up @@ -604,7 +604,7 @@
},
{
"assetStoreId": "",
"name": "Bullet",
"name": "PlayerBullet",
"type": "Scene3D::Model3DObject",
"variables": [],
"effects": [],
Expand Down Expand Up @@ -641,13 +641,13 @@
"objectName": "Player"
},
{
"objectName": "Enemy"
"objectName": "PlayerBullet"
},
{
"objectName": "Bullet"
"objectName": "Enemy"
},
{
"objectName": "Background"
"objectName": "RepeatingBackground"
},
{
"objectName": "Camera"
Expand Down Expand Up @@ -717,7 +717,7 @@
"value": "SetCenter"
},
"parameters": [
"Background",
"RepeatingBackground",
"=",
"CameraCenterX() - mod(CameraCenterX(), 320) +160",
"=",
Expand Down Expand Up @@ -842,7 +842,7 @@
"FireBullet",
"Player.CenterX()",
"Player.CenterY()",
"Bullet",
"PlayerBullet",
"Enemy.CenterX()",
"Enemy.CenterY()",
"300",
Expand All @@ -854,7 +854,7 @@
"value": "Scene3D::Base3DBehavior::SetCenterZ"
},
"parameters": [
"Bullet",
"PlayerBullet",
"Object3D",
"=",
"Player.Object3D::Depth() / 2"
Expand Down Expand Up @@ -882,7 +882,7 @@
"value": "CollisionNP"
},
"parameters": [
"Bullet",
"PlayerBullet",
"Enemy",
"",
"",
Expand All @@ -907,7 +907,7 @@
"value": "Delete"
},
"parameters": [
"Bullet",
"PlayerBullet",
""
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
"gridColor": 10401023,
"gridAlpha": 0.8,
"snap": false,
"zoomFactor": 0.4194339782759282,
"zoomFactor": 0.43357743047026026,
"windowMask": false,
"selectedLayer": ""
},
Expand Down
3 changes: 1 addition & 2 deletions examples/starting-quiz/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Quiz game

A basic quiz game showing a question on the screen with 4 buttons allowing to choose an answer. Once an answer is selected, a win/lose sound is played and the next question is displayed. Questions are stored in a scene variable.
Support for both mouse and touchscreens.
A 2D quiz game with a question text box, four answer buttons, and an array variable that stores all questions, their possible answers, and which answer is correct. Each answer button is a text object that automatically updates to display the answer choices for the current question. When the player clicks or taps the correct answer, the game advances to the next question. The game supports both mouse and mobile touch controls.
Loading