Skip to content

Commit d764211

Browse files
Remove plane from menu for quick customization + Hide some props (#701)
* Remove plane from menu for quick customization purpose
1 parent a79c932 commit d764211

File tree

1 file changed

+35
-136
lines changed

1 file changed

+35
-136
lines changed

examples/tappy-plane/tappy-plane.json

Lines changed: 35 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"firstLayout": "Menu",
33
"gdVersion": {
4-
"build": 211,
4+
"build": 212,
55
"major": 5,
66
"minor": 4,
77
"revision": 0
@@ -585,21 +585,6 @@
585585
}
586586
],
587587
"instances": [
588-
{
589-
"angle": 45,
590-
"customSize": true,
591-
"height": 37,
592-
"layer": "",
593-
"name": "Plane",
594-
"persistentUuid": "04f692b6-ee84-4dbf-9baf-dfd763d98443",
595-
"width": 44,
596-
"x": 350,
597-
"y": 180,
598-
"zOrder": 2,
599-
"numberProperties": [],
600-
"stringProperties": [],
601-
"initialVariables": []
602-
},
603588
{
604589
"angle": 0,
605590
"customSize": true,
@@ -645,21 +630,6 @@
645630
"stringProperties": [],
646631
"initialVariables": []
647632
},
648-
{
649-
"angle": 315,
650-
"customSize": true,
651-
"height": 37,
652-
"layer": "",
653-
"name": "Plane",
654-
"persistentUuid": "b612899f-31ab-4775-8b8d-64c5eb4c2ccf",
655-
"width": 44,
656-
"x": 50,
657-
"y": 180,
658-
"zOrder": 2,
659-
"numberProperties": [],
660-
"stringProperties": [],
661-
"initialVariables": []
662-
},
663633
{
664634
"angle": 0,
665635
"customSize": true,
@@ -708,106 +678,6 @@
708678
}
709679
],
710680
"objects": [
711-
{
712-
"adaptCollisionMaskAutomatically": false,
713-
"assetStoreId": "",
714-
"name": "Plane",
715-
"type": "Sprite",
716-
"updateIfNotVisible": false,
717-
"variables": [],
718-
"effects": [
719-
{
720-
"effectType": "",
721-
"name": "Effect2",
722-
"doubleParameters": {},
723-
"stringParameters": {},
724-
"booleanParameters": {}
725-
}
726-
],
727-
"behaviors": [
728-
{
729-
"name": "EllipseMovement",
730-
"type": "EllipseMovement::EllipseMovement",
731-
"RadiusX": 0,
732-
"RadiusY": 30,
733-
"LoopDuration": 5,
734-
"InitialTurningLeft": false,
735-
"InitialDirectionAngle": 90,
736-
"ShouldRotate": false,
737-
"RotationOffset": 0,
738-
"CenterX": 0,
739-
"CenterY": 0,
740-
"MovementAngle": 0,
741-
"OldX": 0,
742-
"OldY": 0
743-
}
744-
],
745-
"animations": [
746-
{
747-
"name": "",
748-
"useMultipleDirections": false,
749-
"directions": [
750-
{
751-
"looping": true,
752-
"timeBetweenFrames": 0.205,
753-
"sprites": [
754-
{
755-
"hasCustomCollisionMask": false,
756-
"image": "planeRed1.png",
757-
"points": [],
758-
"originPoint": {
759-
"name": "origine",
760-
"x": 44,
761-
"y": 37
762-
},
763-
"centerPoint": {
764-
"automatic": true,
765-
"name": "centre",
766-
"x": 0,
767-
"y": 0
768-
},
769-
"customCollisionMask": []
770-
},
771-
{
772-
"hasCustomCollisionMask": false,
773-
"image": "planeRed2.png",
774-
"points": [],
775-
"originPoint": {
776-
"name": "origine",
777-
"x": 44,
778-
"y": 37
779-
},
780-
"centerPoint": {
781-
"automatic": true,
782-
"name": "centre",
783-
"x": 0,
784-
"y": 0
785-
},
786-
"customCollisionMask": []
787-
},
788-
{
789-
"hasCustomCollisionMask": false,
790-
"image": "planeRed3.png",
791-
"points": [],
792-
"originPoint": {
793-
"name": "origine",
794-
"x": 44,
795-
"y": 37
796-
},
797-
"centerPoint": {
798-
"automatic": true,
799-
"name": "centre",
800-
"x": 0,
801-
"y": 0
802-
},
803-
"customCollisionMask": []
804-
}
805-
]
806-
}
807-
]
808-
}
809-
]
810-
},
811681
{
812682
"adaptCollisionMaskAutomatically": false,
813683
"assetStoreId": "",
@@ -1075,9 +945,6 @@
1075945
{
1076946
"objectName": "Title"
1077947
},
1078-
{
1079-
"objectName": "Plane"
1080-
},
1081948
{
1082949
"objectName": "Ground"
1083950
},
@@ -1672,7 +1539,21 @@
16721539
"CenterY": 0,
16731540
"MovementAngle": 0,
16741541
"OldX": 0,
1675-
"OldY": 0
1542+
"OldY": 0,
1543+
"propertiesQuickCustomizationVisibilities": {
1544+
"CenterX": "hidden",
1545+
"CenterY": "hidden",
1546+
"InitialDirectionAngle": "visible",
1547+
"InitialTurningLeft": "hidden",
1548+
"LoopDuration": "visible",
1549+
"MovementAngle": "hidden",
1550+
"OldX": "hidden",
1551+
"OldY": "hidden",
1552+
"RadiusX": "hidden",
1553+
"RadiusY": "visible",
1554+
"RotationOffset": "hidden",
1555+
"ShouldRotate": "hidden"
1556+
}
16761557
},
16771558
{
16781559
"name": "PlatformerObject",
@@ -1688,7 +1569,25 @@
16881569
"roundCoordinates": true,
16891570
"slopeMaxAngle": 60,
16901571
"xGrabTolerance": 10,
1691-
"yGrabOffset": 0
1572+
"yGrabOffset": 0,
1573+
"propertiesQuickCustomizationVisibilities": {
1574+
"Acceleration": "hidden",
1575+
"CanGoDownFromJumpthru": "hidden",
1576+
"CanGrabPlatforms": "hidden",
1577+
"CanGrabWithoutMoving": "hidden",
1578+
"Deceleration": "hidden",
1579+
"Gravity": "visible",
1580+
"IgnoreDefaultControls": "hidden",
1581+
"JumpSpeed": "visible",
1582+
"JumpSustainTime": "hidden",
1583+
"LadderClimbingSpeed": "hidden",
1584+
"MaxFallingSpeed": "hidden",
1585+
"MaxSpeed": "hidden",
1586+
"SlopeMaxAngle": "hidden",
1587+
"UseLegacyTrajectory": "hidden",
1588+
"XGrabTolerance": "hidden",
1589+
"YGrabOffset": "hidden"
1590+
}
16921591
}
16931592
],
16941593
"animations": [

0 commit comments

Comments
 (0)