Skip to content

Commit 8981418

Browse files
authored
Update starter games with more descriptive names (#909)
1 parent f43e30d commit 8981418

File tree

25 files changed

+1897
-1345
lines changed

25 files changed

+1897
-1345
lines changed

examples/starting-3d-twin-stick-shooter/starting-3d-twin-stick-shooter.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
"height": 1152,
278278
"layer": "",
279279
"locked": true,
280-
"name": "Background",
280+
"name": "RepeatingBackground",
281281
"persistentUuid": "e2ca28c0-4b90-4b3d-8842-1ce8032de187",
282282
"width": 1920,
283283
"x": -320,
@@ -516,7 +516,7 @@
516516
},
517517
{
518518
"assetStoreId": "",
519-
"name": "Background",
519+
"name": "RepeatingBackground",
520520
"type": "Scene3D::Cube3DObject",
521521
"variables": [],
522522
"effects": [],
@@ -720,7 +720,7 @@
720720
},
721721
{
722722
"assetStoreId": "",
723-
"name": "Bullet",
723+
"name": "PlayerBullet",
724724
"type": "Scene3D::Model3DObject",
725725
"variables": [],
726726
"effects": [],
@@ -757,13 +757,13 @@
757757
"objectName": "Player"
758758
},
759759
{
760-
"objectName": "Bullet"
760+
"objectName": "PlayerBullet"
761761
},
762762
{
763763
"objectName": "Enemy"
764764
},
765765
{
766-
"objectName": "Background"
766+
"objectName": "RepeatingBackground"
767767
},
768768
{
769769
"objectName": "Camera"
@@ -836,7 +836,7 @@
836836
"value": "SetCenter"
837837
},
838838
"parameters": [
839-
"Background",
839+
"RepeatingBackground",
840840
"=",
841841
"CameraCenterX() - mod(CameraCenterX(), 160) + 160",
842842
"=",
@@ -989,7 +989,7 @@
989989
"FireBullet",
990990
"Player.CenterX()",
991991
"Player.CenterY()",
992-
"Bullet",
992+
"PlayerBullet",
993993
"Player.Angle()",
994994
"400",
995995
"300"
@@ -1031,7 +1031,7 @@
10311031
"FireBullet",
10321032
"Player.CenterX()",
10331033
"Player.CenterY()",
1034-
"Bullet",
1034+
"PlayerBullet",
10351035
"Player.Angle()",
10361036
"400",
10371037
"300"
@@ -1059,7 +1059,7 @@
10591059
"value": "CollisionNP"
10601060
},
10611061
"parameters": [
1062-
"Bullet",
1062+
"PlayerBullet",
10631063
"Enemy",
10641064
"",
10651065
"",
@@ -1084,7 +1084,7 @@
10841084
"value": "Delete"
10851085
},
10861086
"parameters": [
1087-
"Bullet",
1087+
"PlayerBullet",
10881088
""
10891089
]
10901090
}

examples/starting-3d-vampire-survivor/starting-3d-vampire-survivor.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
"height": 1408,
249249
"layer": "",
250250
"locked": true,
251-
"name": "Background",
251+
"name": "RepeatingBackground",
252252
"persistentUuid": "e2ca28c0-4b90-4b3d-8842-1ce8032de187",
253253
"width": 2048,
254254
"x": -384,
@@ -401,7 +401,7 @@
401401
},
402402
{
403403
"assetStoreId": "",
404-
"name": "Background",
404+
"name": "RepeatingBackground",
405405
"type": "Scene3D::Cube3DObject",
406406
"variables": [],
407407
"effects": [],
@@ -604,7 +604,7 @@
604604
},
605605
{
606606
"assetStoreId": "",
607-
"name": "Bullet",
607+
"name": "PlayerBullet",
608608
"type": "Scene3D::Model3DObject",
609609
"variables": [],
610610
"effects": [],
@@ -641,13 +641,13 @@
641641
"objectName": "Player"
642642
},
643643
{
644-
"objectName": "Enemy"
644+
"objectName": "PlayerBullet"
645645
},
646646
{
647-
"objectName": "Bullet"
647+
"objectName": "Enemy"
648648
},
649649
{
650-
"objectName": "Background"
650+
"objectName": "RepeatingBackground"
651651
},
652652
{
653653
"objectName": "Camera"
@@ -717,7 +717,7 @@
717717
"value": "SetCenter"
718718
},
719719
"parameters": [
720-
"Background",
720+
"RepeatingBackground",
721721
"=",
722722
"CameraCenterX() - mod(CameraCenterX(), 320) +160",
723723
"=",
@@ -842,7 +842,7 @@
842842
"FireBullet",
843843
"Player.CenterX()",
844844
"Player.CenterY()",
845-
"Bullet",
845+
"PlayerBullet",
846846
"Enemy.CenterX()",
847847
"Enemy.CenterY()",
848848
"300",
@@ -854,7 +854,7 @@
854854
"value": "Scene3D::Base3DBehavior::SetCenterZ"
855855
},
856856
"parameters": [
857-
"Bullet",
857+
"PlayerBullet",
858858
"Object3D",
859859
"=",
860860
"Player.Object3D::Depth() / 2"
@@ -882,7 +882,7 @@
882882
"value": "CollisionNP"
883883
},
884884
"parameters": [
885-
"Bullet",
885+
"PlayerBullet",
886886
"Enemy",
887887
"",
888888
"",
@@ -907,7 +907,7 @@
907907
"value": "Delete"
908908
},
909909
"parameters": [
910-
"Bullet",
910+
"PlayerBullet",
911911
""
912912
]
913913
}

examples/starting-first-person-survival-crafting/starting-first-person-survival-crafting.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
"gridColor": 10401023,
291291
"gridAlpha": 0.8,
292292
"snap": false,
293-
"zoomFactor": 0.4194339782759282,
293+
"zoomFactor": 0.43357743047026026,
294294
"windowMask": false,
295295
"selectedLayer": ""
296296
},

examples/starting-quiz/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# Quiz game
22

3-
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.
4-
Support for both mouse and touchscreens.
3+
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.

0 commit comments

Comments
 (0)