incanto 0.70.0 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/bin/incanto-verify.mjs +36 -98
  2. package/dist/2d.d.ts +18 -3
  3. package/dist/2d.js +3 -3
  4. package/dist/3d.d.ts +3 -3
  5. package/dist/3d.js +6 -6
  6. package/dist/{agent8-CmNF01gA.js → agent8-Cfmd3ar_.js} +1 -1
  7. package/dist/{audio-player-DaMxqfNE.d.ts → audio-player-L8yccdMP.d.ts} +1 -1
  8. package/dist/{behavior-DZExDn9o.d.ts → behavior-Dcz0fr1S.d.ts} +11 -0
  9. package/dist/{create-game-Bwvh6q8A.js → create-game-CH4kt78v.js} +7 -7
  10. package/dist/{create-game-C7ffQWW7.js → create-game-LCHBLfA4.js} +7 -7
  11. package/dist/debug.d.ts +1 -1
  12. package/dist/editor.js +29 -25
  13. package/dist/{environment-presets-D6Q5BxeE.js → environment-presets-99BzP_L-.js} +3 -3
  14. package/dist/{frame-report-Dlq13Gyj.js → frame-report-D-_7YF2G.js} +1 -1
  15. package/dist/{gameplay-BfHkuzVb.js → gameplay-CNULJvwh.js} +108 -6
  16. package/dist/gameplay.d.ts +68 -4
  17. package/dist/gameplay.js +2 -2
  18. package/dist/index.d.ts +27 -4
  19. package/dist/index.js +4 -4
  20. package/dist/{loader-Cff09LMm.d.ts → loader-8-IHvbKD.d.ts} +1 -1
  21. package/dist/net.d.ts +2 -2
  22. package/dist/net.js +2 -2
  23. package/dist/{physics-2d-CE0Qvy3V.js → physics-2d-FhrXUc6B.js} +2 -2
  24. package/dist/{physics-3d-CpH-2gn5.js → physics-3d-CFEGxBXZ.js} +3 -3
  25. package/dist/{picking-CQJ_PJKh.js → picking-DVo7fI13.js} +3 -3
  26. package/dist/react.d.ts +1 -1
  27. package/dist/react.js +1 -1
  28. package/dist/{register-Bkk0wSDB.js → register-BYQCBySi.js} +100 -8
  29. package/dist/{register-6DYnKZcy.js → register-DuVdzxbq.js} +49 -15
  30. package/dist/{replay-DjAkAzMq.js → replay-DEvp3kyV.js} +2 -2
  31. package/dist/{replay-Dmw-PKQu.d.ts → replay-F7IZHdFR.d.ts} +1 -1
  32. package/dist/{save-slots-BXVg148r.js → save-slots-Bvuh2p_r.js} +56 -3
  33. package/dist/{split-screen--k-XpBjr.d.ts → split-screen-CIYf1zSf.d.ts} +2 -2
  34. package/dist/{split-screen-PL78oVXP.js → split-screen-eULetcg-.js} +3 -3
  35. package/dist/{src-Cxfiv1Hg.js → src-_jk0qLsS.js} +1 -1
  36. package/dist/{test-iHYVUcDK.js → test-CmN54kWv.js} +252 -24
  37. package/dist/test.d.ts +113 -5
  38. package/dist/test.js +3 -3
  39. package/dist/vite.js +3 -3
  40. package/editor/assets/{agent8-D0MS174y.js → agent8-yLIEYHbd.js} +1 -1
  41. package/editor/assets/{debug-BnXkKuYu.js → debug-u31w_yhq.js} +1 -1
  42. package/editor/assets/{index-CIu3uc3l.js → index-DK9xMGpW.js} +94 -94
  43. package/editor/index.html +1 -1
  44. package/package.json +1 -1
  45. package/schemas/scene.schema.json +4 -0
  46. package/skills/incanto-behaviors-and-scripts.md +30 -9
  47. package/skills/incanto-building-2d-games.md +20 -2
  48. package/skills/incanto-gameplay-behaviors.md +63 -1
  49. package/skills/incanto-hud.md +14 -0
  50. package/skills/incanto-node-reference.md +18 -2
  51. package/skills/incanto-playtesting.md +34 -0
  52. package/skills/incanto-save-slots.md +56 -1
  53. package/skills/incanto-verifying-your-game.md +11 -0
  54. package/templates-app/beacon-isle-3d/package.json +1 -1
  55. package/templates-app/beacon-isle-3d/src/game.scene.json +44 -226
  56. package/templates-app/molehill-2d/package.json +1 -1
  57. package/templates-app/molehill-2d/src/game.scene.json +10 -60
  58. package/templates-app/platformer-2d/package.json +1 -1
  59. package/templates-app/platformer-2d/src/game.scene.json +80 -416
  60. package/templates-app/star-survivor/package.json +1 -1
  61. package/templates-app/star-survivor/src/game.scene.json +5 -24
  62. package/templates-app/tps-3d/package.json +1 -1
  63. package/templates-app/tps-3d/src/game.scene.json +13 -71
  64. package/templates-app/village-quest-3d/package.json +1 -1
  65. package/templates-app/village-quest-3d/src/behaviors.ts +21 -4
  66. package/templates-app/village-quest-3d/src/grove.scene.json +16 -87
  67. package/templates-app/village-quest-3d/src/village.scene.json +5 -27
@@ -17,11 +17,7 @@
17
17
  },
18
18
  "touch": "joystick"
19
19
  },
20
- "jump": {
21
- "type": "button",
22
- "keys": ["Space", "KeyW", "ArrowUp"],
23
- "touch": "button"
24
- }
20
+ "jump": { "type": "button", "keys": ["Space", "KeyW", "ArrowUp"], "touch": "button" }
25
21
  },
26
22
  "assets": {
27
23
  "knight": {
@@ -498,10 +494,7 @@
498
494
  "name": "GroundA",
499
495
  "type": "StaticBody2D",
500
496
  "groups": ["ground"],
501
- "props": {
502
- "position": [300, 520],
503
- "collider": { "shape": "rect", "size": [640, 120] }
504
- },
497
+ "props": { "position": [300, 520], "collider": { "shape": "rect", "size": [640, 120] } },
505
498
  "children": [
506
499
  {
507
500
  "name": "Skin",
@@ -519,10 +512,7 @@
519
512
  "name": "GroundB",
520
513
  "type": "StaticBody2D",
521
514
  "groups": ["ground"],
522
- "props": {
523
- "position": [1020, 520],
524
- "collider": { "shape": "rect", "size": [560, 120] }
525
- },
515
+ "props": { "position": [1020, 520], "collider": { "shape": "rect", "size": [560, 120] } },
526
516
  "children": [
527
517
  {
528
518
  "name": "Skin",
@@ -540,10 +530,7 @@
540
530
  "name": "GroundC",
541
531
  "type": "StaticBody2D",
542
532
  "groups": ["ground"],
543
- "props": {
544
- "position": [1760, 520],
545
- "collider": { "shape": "rect", "size": [560, 120] }
546
- },
533
+ "props": { "position": [1760, 520], "collider": { "shape": "rect", "size": [560, 120] } },
547
534
  "children": [
548
535
  {
549
536
  "name": "Skin",
@@ -561,10 +548,7 @@
561
548
  "name": "GroundD",
562
549
  "type": "StaticBody2D",
563
550
  "groups": ["ground"],
564
- "props": {
565
- "position": [2520, 520],
566
- "collider": { "shape": "rect", "size": [600, 120] }
567
- },
551
+ "props": { "position": [2520, 520], "collider": { "shape": "rect", "size": [600, 120] } },
568
552
  "children": [
569
553
  {
570
554
  "name": "Skin",
@@ -582,10 +566,7 @@
582
566
  "name": "Plat1",
583
567
  "type": "StaticBody2D",
584
568
  "groups": ["ground"],
585
- "props": {
586
- "position": [680, 360],
587
- "collider": { "shape": "rect", "size": [150, 26] }
588
- },
569
+ "props": { "position": [680, 360], "collider": { "shape": "rect", "size": [150, 26] } },
589
570
  "children": [
590
571
  {
591
572
  "name": "Skin",
@@ -603,10 +584,7 @@
603
584
  "name": "Plat2",
604
585
  "type": "StaticBody2D",
605
586
  "groups": ["ground"],
606
- "props": {
607
- "position": [1180, 320],
608
- "collider": { "shape": "rect", "size": [150, 26] }
609
- },
587
+ "props": { "position": [1180, 320], "collider": { "shape": "rect", "size": [150, 26] } },
610
588
  "children": [
611
589
  {
612
590
  "name": "Skin",
@@ -624,10 +602,7 @@
624
602
  "name": "Plat3",
625
603
  "type": "StaticBody2D",
626
604
  "groups": ["ground"],
627
- "props": {
628
- "position": [1760, 300],
629
- "collider": { "shape": "rect", "size": [180, 26] }
630
- },
605
+ "props": { "position": [1760, 300], "collider": { "shape": "rect", "size": [180, 26] } },
631
606
  "children": [
632
607
  {
633
608
  "name": "Skin",
@@ -645,10 +620,7 @@
645
620
  "name": "Plat4",
646
621
  "type": "StaticBody2D",
647
622
  "groups": ["ground"],
648
- "props": {
649
- "position": [2380, 320],
650
- "collider": { "shape": "rect", "size": [150, 26] }
651
- },
623
+ "props": { "position": [2380, 320], "collider": { "shape": "rect", "size": [150, 26] } },
652
624
  "children": [
653
625
  {
654
626
  "name": "Skin",
@@ -666,10 +638,7 @@
666
638
  "name": "MovePlat",
667
639
  "type": "StaticBody2D",
668
640
  "groups": ["ground", "platform"],
669
- "props": {
670
- "position": [1320, 430],
671
- "collider": { "shape": "rect", "size": [150, 24] }
672
- },
641
+ "props": { "position": [1320, 430], "collider": { "shape": "rect", "size": [150, 24] } },
673
642
  "script": {
674
643
  "name": "Patrol",
675
644
  "props": {
@@ -697,18 +666,10 @@
697
666
  "name": "Lift",
698
667
  "type": "StaticBody2D",
699
668
  "groups": ["ground", "platform"],
700
- "props": {
701
- "position": [2140, 430],
702
- "collider": { "shape": "rect", "size": [140, 24] }
703
- },
669
+ "props": { "position": [2140, 430], "collider": { "shape": "rect", "size": [140, 24] } },
704
670
  "script": {
705
671
  "name": "Oscillate",
706
- "props": {
707
- "axis": "y",
708
- "amplitude": 90,
709
- "frequency": 0.32,
710
- "mode": "position"
711
- }
672
+ "props": { "axis": "y", "amplitude": 90, "frequency": 0.32, "mode": "position" }
712
673
  },
713
674
  "children": [
714
675
  {
@@ -728,10 +689,7 @@
728
689
  "name": "Spikes1",
729
690
  "type": "Area2D",
730
691
  "groups": ["hazard"],
731
- "props": {
732
- "position": [680, 548],
733
- "collider": { "shape": "rect", "size": [120, 36] }
734
- },
692
+ "props": { "position": [680, 548], "collider": { "shape": "rect", "size": [120, 36] } },
735
693
  "children": [
736
694
  {
737
695
  "name": "Skin",
@@ -744,10 +702,7 @@
744
702
  "name": "Spikes2",
745
703
  "type": "Area2D",
746
704
  "groups": ["hazard"],
747
- "props": {
748
- "position": [2140, 548],
749
- "collider": { "shape": "rect", "size": [200, 36] }
750
- },
705
+ "props": { "position": [2140, 548], "collider": { "shape": "rect", "size": [200, 36] } },
751
706
  "children": [
752
707
  {
753
708
  "name": "Skin",
@@ -760,19 +715,13 @@
760
715
  "name": "DeathPlane",
761
716
  "type": "Area2D",
762
717
  "groups": ["pit"],
763
- "props": {
764
- "position": [1400, 880],
765
- "collider": { "shape": "rect", "size": [6000, 120] }
766
- }
718
+ "props": { "position": [1400, 880], "collider": { "shape": "rect", "size": [6000, 120] } }
767
719
  },
768
720
  {
769
721
  "name": "Checkpoint",
770
722
  "type": "Area2D",
771
723
  "groups": ["checkpoint"],
772
- "props": {
773
- "position": [1520, 392],
774
- "collider": { "shape": "rect", "size": [40, 120] }
775
- },
724
+ "props": { "position": [1520, 392], "collider": { "shape": "rect", "size": [40, 120] } },
776
725
  "children": [
777
726
  {
778
727
  "name": "Pole",
@@ -790,10 +739,7 @@
790
739
  "name": "Goal",
791
740
  "type": "Area2D",
792
741
  "groups": ["goal"],
793
- "props": {
794
- "position": [2740, 380],
795
- "collider": { "shape": "rect", "size": [60, 160] }
796
- },
742
+ "props": { "position": [2740, 380], "collider": { "shape": "rect", "size": [60, 160] } },
797
743
  "children": [
798
744
  {
799
745
  "name": "Pole",
@@ -819,11 +765,7 @@
819
765
  "props": { "position": [1020, 430] },
820
766
  "script": {
821
767
  "name": "Patrol",
822
- "props": {
823
- "points": [[820, 430], [1240, 430]],
824
- "speed": 72,
825
- "mode": "pingpong"
826
- }
768
+ "props": { "points": [[820, 430], [1240, 430]], "speed": 72, "mode": "pingpong" }
827
769
  },
828
770
  "children": [
829
771
  {
@@ -856,11 +798,7 @@
856
798
  "props": { "position": [1760, 430] },
857
799
  "script": {
858
800
  "name": "Patrol",
859
- "props": {
860
- "points": [[1540, 430], [1980, 430]],
861
- "speed": 84,
862
- "mode": "pingpong"
863
- }
801
+ "props": { "points": [[1540, 430], [1980, 430]], "speed": 84, "mode": "pingpong" }
864
802
  },
865
803
  "children": [
866
804
  {
@@ -893,11 +831,7 @@
893
831
  "props": { "position": [2520, 430] },
894
832
  "script": {
895
833
  "name": "Patrol",
896
- "props": {
897
- "points": [[2300, 430], [2740, 430]],
898
- "speed": 78,
899
- "mode": "pingpong"
900
- }
834
+ "props": { "points": [[2300, 430], [2740, 430]], "speed": 78, "mode": "pingpong" }
901
835
  },
902
836
  "children": [
903
837
  {
@@ -931,10 +865,7 @@
931
865
  {
932
866
  "name": "Coin1",
933
867
  "type": "Area2D",
934
- "props": {
935
- "position": [300, 380],
936
- "collider": { "shape": "circle", "radius": 16 }
937
- },
868
+ "props": { "position": [300, 380], "collider": { "shape": "circle", "radius": 16 } },
938
869
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
939
870
  "children": [
940
871
  {
@@ -943,12 +874,7 @@
943
874
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
944
875
  "script": {
945
876
  "name": "Oscillate",
946
- "props": {
947
- "axis": "y",
948
- "amplitude": 6,
949
- "frequency": 1.1,
950
- "mode": "position"
951
- }
877
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
952
878
  },
953
879
  "uid": "n_5vv5sh2bce9a0rfc"
954
880
  }
@@ -958,10 +884,7 @@
958
884
  {
959
885
  "name": "Coin2",
960
886
  "type": "Area2D",
961
- "props": {
962
- "position": [430, 350],
963
- "collider": { "shape": "circle", "radius": 16 }
964
- },
887
+ "props": { "position": [430, 350], "collider": { "shape": "circle", "radius": 16 } },
965
888
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
966
889
  "children": [
967
890
  {
@@ -970,12 +893,7 @@
970
893
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
971
894
  "script": {
972
895
  "name": "Oscillate",
973
- "props": {
974
- "axis": "y",
975
- "amplitude": 6,
976
- "frequency": 1.1,
977
- "mode": "position"
978
- }
896
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
979
897
  },
980
898
  "uid": "n_6nl39pc8x81zzfvz"
981
899
  }
@@ -985,10 +903,7 @@
985
903
  {
986
904
  "name": "Coin3",
987
905
  "type": "Area2D",
988
- "props": {
989
- "position": [680, 300],
990
- "collider": { "shape": "circle", "radius": 16 }
991
- },
906
+ "props": { "position": [680, 300], "collider": { "shape": "circle", "radius": 16 } },
992
907
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
993
908
  "children": [
994
909
  {
@@ -997,12 +912,7 @@
997
912
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
998
913
  "script": {
999
914
  "name": "Oscillate",
1000
- "props": {
1001
- "axis": "y",
1002
- "amplitude": 6,
1003
- "frequency": 1.1,
1004
- "mode": "position"
1005
- }
915
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1006
916
  },
1007
917
  "uid": "n_pieptsthsss398x8"
1008
918
  }
@@ -1012,10 +922,7 @@
1012
922
  {
1013
923
  "name": "Coin4",
1014
924
  "type": "Area2D",
1015
- "props": {
1016
- "position": [940, 410],
1017
- "collider": { "shape": "circle", "radius": 16 }
1018
- },
925
+ "props": { "position": [940, 410], "collider": { "shape": "circle", "radius": 16 } },
1019
926
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1020
927
  "children": [
1021
928
  {
@@ -1024,12 +931,7 @@
1024
931
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1025
932
  "script": {
1026
933
  "name": "Oscillate",
1027
- "props": {
1028
- "axis": "y",
1029
- "amplitude": 6,
1030
- "frequency": 1.1,
1031
- "mode": "position"
1032
- }
934
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1033
935
  },
1034
936
  "uid": "n_m5ye4ukey1gs9ri5"
1035
937
  }
@@ -1039,10 +941,7 @@
1039
941
  {
1040
942
  "name": "Coin5",
1041
943
  "type": "Area2D",
1042
- "props": {
1043
- "position": [1100, 410],
1044
- "collider": { "shape": "circle", "radius": 16 }
1045
- },
944
+ "props": { "position": [1100, 410], "collider": { "shape": "circle", "radius": 16 } },
1046
945
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1047
946
  "children": [
1048
947
  {
@@ -1051,12 +950,7 @@
1051
950
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1052
951
  "script": {
1053
952
  "name": "Oscillate",
1054
- "props": {
1055
- "axis": "y",
1056
- "amplitude": 6,
1057
- "frequency": 1.1,
1058
- "mode": "position"
1059
- }
953
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1060
954
  },
1061
955
  "uid": "n_mq7njocxg7qlw3dx"
1062
956
  }
@@ -1066,10 +960,7 @@
1066
960
  {
1067
961
  "name": "Coin6",
1068
962
  "type": "Area2D",
1069
- "props": {
1070
- "position": [1180, 285],
1071
- "collider": { "shape": "circle", "radius": 16 }
1072
- },
963
+ "props": { "position": [1180, 285], "collider": { "shape": "circle", "radius": 16 } },
1073
964
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1074
965
  "children": [
1075
966
  {
@@ -1078,12 +969,7 @@
1078
969
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1079
970
  "script": {
1080
971
  "name": "Oscillate",
1081
- "props": {
1082
- "axis": "y",
1083
- "amplitude": 6,
1084
- "frequency": 1.1,
1085
- "mode": "position"
1086
- }
972
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1087
973
  },
1088
974
  "uid": "n_zj0kivs2h857q5e7"
1089
975
  }
@@ -1093,10 +979,7 @@
1093
979
  {
1094
980
  "name": "Coin7",
1095
981
  "type": "Area2D",
1096
- "props": {
1097
- "position": [1395, 360],
1098
- "collider": { "shape": "circle", "radius": 16 }
1099
- },
982
+ "props": { "position": [1395, 360], "collider": { "shape": "circle", "radius": 16 } },
1100
983
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1101
984
  "children": [
1102
985
  {
@@ -1105,12 +988,7 @@
1105
988
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1106
989
  "script": {
1107
990
  "name": "Oscillate",
1108
- "props": {
1109
- "axis": "y",
1110
- "amplitude": 6,
1111
- "frequency": 1.1,
1112
- "mode": "position"
1113
- }
991
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1114
992
  },
1115
993
  "uid": "n_joega2rmwl1i2d6d"
1116
994
  }
@@ -1120,10 +998,7 @@
1120
998
  {
1121
999
  "name": "Coin8",
1122
1000
  "type": "Area2D",
1123
- "props": {
1124
- "position": [1620, 410],
1125
- "collider": { "shape": "circle", "radius": 16 }
1126
- },
1001
+ "props": { "position": [1620, 410], "collider": { "shape": "circle", "radius": 16 } },
1127
1002
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1128
1003
  "children": [
1129
1004
  {
@@ -1132,12 +1007,7 @@
1132
1007
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1133
1008
  "script": {
1134
1009
  "name": "Oscillate",
1135
- "props": {
1136
- "axis": "y",
1137
- "amplitude": 6,
1138
- "frequency": 1.1,
1139
- "mode": "position"
1140
- }
1010
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1141
1011
  },
1142
1012
  "uid": "n_zr79uqirzpuftjxx"
1143
1013
  }
@@ -1147,10 +1017,7 @@
1147
1017
  {
1148
1018
  "name": "Coin9",
1149
1019
  "type": "Area2D",
1150
- "props": {
1151
- "position": [1900, 410],
1152
- "collider": { "shape": "circle", "radius": 16 }
1153
- },
1020
+ "props": { "position": [1900, 410], "collider": { "shape": "circle", "radius": 16 } },
1154
1021
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1155
1022
  "children": [
1156
1023
  {
@@ -1159,12 +1026,7 @@
1159
1026
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1160
1027
  "script": {
1161
1028
  "name": "Oscillate",
1162
- "props": {
1163
- "axis": "y",
1164
- "amplitude": 6,
1165
- "frequency": 1.1,
1166
- "mode": "position"
1167
- }
1029
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1168
1030
  },
1169
1031
  "uid": "n_3umxgv0yreehqbs6"
1170
1032
  }
@@ -1174,10 +1036,7 @@
1174
1036
  {
1175
1037
  "name": "Coin10",
1176
1038
  "type": "Area2D",
1177
- "props": {
1178
- "position": [2140, 300],
1179
- "collider": { "shape": "circle", "radius": 16 }
1180
- },
1039
+ "props": { "position": [2140, 300], "collider": { "shape": "circle", "radius": 16 } },
1181
1040
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1182
1041
  "children": [
1183
1042
  {
@@ -1186,12 +1045,7 @@
1186
1045
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1187
1046
  "script": {
1188
1047
  "name": "Oscillate",
1189
- "props": {
1190
- "axis": "y",
1191
- "amplitude": 6,
1192
- "frequency": 1.1,
1193
- "mode": "position"
1194
- }
1048
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1195
1049
  },
1196
1050
  "uid": "n_rhmo04zqmdtg5tvi"
1197
1051
  }
@@ -1201,10 +1055,7 @@
1201
1055
  {
1202
1056
  "name": "Coin11",
1203
1057
  "type": "Area2D",
1204
- "props": {
1205
- "position": [2380, 285],
1206
- "collider": { "shape": "circle", "radius": 16 }
1207
- },
1058
+ "props": { "position": [2380, 285], "collider": { "shape": "circle", "radius": 16 } },
1208
1059
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1209
1060
  "children": [
1210
1061
  {
@@ -1213,12 +1064,7 @@
1213
1064
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1214
1065
  "script": {
1215
1066
  "name": "Oscillate",
1216
- "props": {
1217
- "axis": "y",
1218
- "amplitude": 6,
1219
- "frequency": 1.1,
1220
- "mode": "position"
1221
- }
1067
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1222
1068
  },
1223
1069
  "uid": "n_xuclkqerz63mv8vb"
1224
1070
  }
@@ -1228,10 +1074,7 @@
1228
1074
  {
1229
1075
  "name": "Coin12",
1230
1076
  "type": "Area2D",
1231
- "props": {
1232
- "position": [2600, 410],
1233
- "collider": { "shape": "circle", "radius": 16 }
1234
- },
1077
+ "props": { "position": [2600, 410], "collider": { "shape": "circle", "radius": 16 } },
1235
1078
  "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
1236
1079
  "children": [
1237
1080
  {
@@ -1240,12 +1083,7 @@
1240
1083
  "props": { "texture": "$coin", "scale": [0.6, 0.6] },
1241
1084
  "script": {
1242
1085
  "name": "Oscillate",
1243
- "props": {
1244
- "axis": "y",
1245
- "amplitude": 6,
1246
- "frequency": 1.1,
1247
- "mode": "position"
1248
- }
1086
+ "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
1249
1087
  },
1250
1088
  "uid": "n_uuegetn54zqs9bof"
1251
1089
  }
@@ -1257,10 +1095,7 @@
1257
1095
  {
1258
1096
  "name": "Gem1",
1259
1097
  "type": "Area2D",
1260
- "props": {
1261
- "position": [1760, 255],
1262
- "collider": { "shape": "circle", "radius": 20 }
1263
- },
1098
+ "props": { "position": [1760, 255], "collider": { "shape": "circle", "radius": 20 } },
1264
1099
  "script": { "name": "Pickup", "props": { "value": 50, "kind": "gem" } },
1265
1100
  "children": [
1266
1101
  {
@@ -1269,12 +1104,7 @@
1269
1104
  "props": { "texture": "$gem", "scale": [0.7, 0.7] },
1270
1105
  "script": {
1271
1106
  "name": "Oscillate",
1272
- "props": {
1273
- "axis": "y",
1274
- "amplitude": 8,
1275
- "frequency": 0.9,
1276
- "mode": "position"
1277
- }
1107
+ "props": { "axis": "y", "amplitude": 8, "frequency": 0.9, "mode": "position" }
1278
1108
  },
1279
1109
  "uid": "n_vqc3id2780ba623r"
1280
1110
  }
@@ -1284,10 +1114,7 @@
1284
1114
  {
1285
1115
  "name": "Gem2",
1286
1116
  "type": "Area2D",
1287
- "props": {
1288
- "position": [2140, 230],
1289
- "collider": { "shape": "circle", "radius": 20 }
1290
- },
1117
+ "props": { "position": [2140, 230], "collider": { "shape": "circle", "radius": 20 } },
1291
1118
  "script": { "name": "Pickup", "props": { "value": 50, "kind": "gem" } },
1292
1119
  "children": [
1293
1120
  {
@@ -1296,12 +1123,7 @@
1296
1123
  "props": { "texture": "$gem", "scale": [0.7, 0.7] },
1297
1124
  "script": {
1298
1125
  "name": "Oscillate",
1299
- "props": {
1300
- "axis": "y",
1301
- "amplitude": 8,
1302
- "frequency": 0.9,
1303
- "mode": "position"
1304
- }
1126
+ "props": { "axis": "y", "amplitude": 8, "frequency": 0.9, "mode": "position" }
1305
1127
  },
1306
1128
  "uid": "n_jnnqf3j7hygbeoaj"
1307
1129
  }
@@ -1336,10 +1158,7 @@
1336
1158
  {
1337
1159
  "name": "Feet",
1338
1160
  "type": "Area2D",
1339
- "props": {
1340
- "position": [0, 30],
1341
- "collider": { "shape": "rect", "size": [30, 14] }
1342
- }
1161
+ "props": { "position": [0, 30], "collider": { "shape": "rect", "size": [30, 14] } }
1343
1162
  }
1344
1163
  ],
1345
1164
  "uid": "n_h5em8g8jljkl2xtq"
@@ -1402,32 +1221,17 @@
1402
1221
  {
1403
1222
  "name": "CoinLabel",
1404
1223
  "type": "UiText",
1405
- "props": {
1406
- "anchor": "topLeft",
1407
- "text": "◆ 0",
1408
- "size": 22,
1409
- "color": "#ffd166"
1410
- }
1224
+ "props": { "anchor": "topLeft", "text": "◆ 0", "size": 22, "color": "#ffd166" }
1411
1225
  },
1412
1226
  {
1413
1227
  "name": "HeartLabel",
1414
1228
  "type": "UiText",
1415
- "props": {
1416
- "anchor": "topLeft",
1417
- "text": "♥♥♥",
1418
- "size": 22,
1419
- "color": "#ff6b81"
1420
- }
1229
+ "props": { "anchor": "topLeft", "text": "♥♥♥", "size": 22, "color": "#ff6b81" }
1421
1230
  },
1422
1231
  {
1423
1232
  "name": "LivesLabel",
1424
1233
  "type": "UiText",
1425
- "props": {
1426
- "anchor": "topLeft",
1427
- "text": "x 3",
1428
- "size": 18,
1429
- "color": "#f4f4f4"
1430
- }
1234
+ "props": { "anchor": "topLeft", "text": "x 3", "size": 18, "color": "#f4f4f4" }
1431
1235
  },
1432
1236
  {
1433
1237
  "name": "Hint",
@@ -1451,174 +1255,34 @@
1451
1255
  "uid": "n_d9t51gs0vhpnp2jj"
1452
1256
  },
1453
1257
  "connections": [
1454
- {
1455
- "signal": "collected",
1456
- "from": "Coins/Coin1",
1457
- "to": "/root",
1458
- "handler": "addScore"
1459
- },
1460
- {
1461
- "signal": "collected",
1462
- "from": "Coins/Coin2",
1463
- "to": "/root",
1464
- "handler": "addScore"
1465
- },
1466
- {
1467
- "signal": "collected",
1468
- "from": "Coins/Coin3",
1469
- "to": "/root",
1470
- "handler": "addScore"
1471
- },
1472
- {
1473
- "signal": "collected",
1474
- "from": "Coins/Coin4",
1475
- "to": "/root",
1476
- "handler": "addScore"
1477
- },
1478
- {
1479
- "signal": "collected",
1480
- "from": "Coins/Coin5",
1481
- "to": "/root",
1482
- "handler": "addScore"
1483
- },
1484
- {
1485
- "signal": "collected",
1486
- "from": "Coins/Coin6",
1487
- "to": "/root",
1488
- "handler": "addScore"
1489
- },
1490
- {
1491
- "signal": "collected",
1492
- "from": "Coins/Coin7",
1493
- "to": "/root",
1494
- "handler": "addScore"
1495
- },
1496
- {
1497
- "signal": "collected",
1498
- "from": "Coins/Coin8",
1499
- "to": "/root",
1500
- "handler": "addScore"
1501
- },
1502
- {
1503
- "signal": "collected",
1504
- "from": "Coins/Coin9",
1505
- "to": "/root",
1506
- "handler": "addScore"
1507
- },
1508
- {
1509
- "signal": "collected",
1510
- "from": "Coins/Coin10",
1511
- "to": "/root",
1512
- "handler": "addScore"
1513
- },
1514
- {
1515
- "signal": "collected",
1516
- "from": "Coins/Coin11",
1517
- "to": "/root",
1518
- "handler": "addScore"
1519
- },
1520
- {
1521
- "signal": "collected",
1522
- "from": "Coins/Coin12",
1523
- "to": "/root",
1524
- "handler": "addScore"
1525
- },
1526
- {
1527
- "signal": "collected",
1528
- "from": "Gem1",
1529
- "to": "/root",
1530
- "handler": "addScore"
1531
- },
1532
- {
1533
- "signal": "collected",
1534
- "from": "Gem2",
1535
- "to": "/root",
1536
- "handler": "addScore"
1537
- },
1538
- {
1539
- "signal": "collected",
1540
- "from": "Coins/Coin1",
1541
- "to": "SfxCoin",
1542
- "handler": "play"
1543
- },
1544
- {
1545
- "signal": "collected",
1546
- "from": "Coins/Coin2",
1547
- "to": "SfxCoin",
1548
- "handler": "play"
1549
- },
1550
- {
1551
- "signal": "collected",
1552
- "from": "Coins/Coin3",
1553
- "to": "SfxCoin",
1554
- "handler": "play"
1555
- },
1556
- {
1557
- "signal": "collected",
1558
- "from": "Coins/Coin4",
1559
- "to": "SfxCoin",
1560
- "handler": "play"
1561
- },
1562
- {
1563
- "signal": "collected",
1564
- "from": "Coins/Coin5",
1565
- "to": "SfxCoin",
1566
- "handler": "play"
1567
- },
1568
- {
1569
- "signal": "collected",
1570
- "from": "Coins/Coin6",
1571
- "to": "SfxCoin",
1572
- "handler": "play"
1573
- },
1574
- {
1575
- "signal": "collected",
1576
- "from": "Coins/Coin7",
1577
- "to": "SfxCoin",
1578
- "handler": "play"
1579
- },
1580
- {
1581
- "signal": "collected",
1582
- "from": "Coins/Coin8",
1583
- "to": "SfxCoin",
1584
- "handler": "play"
1585
- },
1586
- {
1587
- "signal": "collected",
1588
- "from": "Coins/Coin9",
1589
- "to": "SfxCoin",
1590
- "handler": "play"
1591
- },
1592
- {
1593
- "signal": "collected",
1594
- "from": "Coins/Coin10",
1595
- "to": "SfxCoin",
1596
- "handler": "play"
1597
- },
1598
- {
1599
- "signal": "collected",
1600
- "from": "Coins/Coin11",
1601
- "to": "SfxCoin",
1602
- "handler": "play"
1603
- },
1604
- {
1605
- "signal": "collected",
1606
- "from": "Coins/Coin12",
1607
- "to": "SfxCoin",
1608
- "handler": "play"
1609
- },
1610
- {
1611
- "signal": "collected",
1612
- "from": "Gem1",
1613
- "to": "SfxCheckpoint",
1614
- "handler": "play"
1615
- },
1616
- {
1617
- "signal": "collected",
1618
- "from": "Gem2",
1619
- "to": "SfxCheckpoint",
1620
- "handler": "play"
1621
- },
1258
+ { "signal": "collected", "from": "Coins/Coin1", "to": "/root", "handler": "addScore" },
1259
+ { "signal": "collected", "from": "Coins/Coin2", "to": "/root", "handler": "addScore" },
1260
+ { "signal": "collected", "from": "Coins/Coin3", "to": "/root", "handler": "addScore" },
1261
+ { "signal": "collected", "from": "Coins/Coin4", "to": "/root", "handler": "addScore" },
1262
+ { "signal": "collected", "from": "Coins/Coin5", "to": "/root", "handler": "addScore" },
1263
+ { "signal": "collected", "from": "Coins/Coin6", "to": "/root", "handler": "addScore" },
1264
+ { "signal": "collected", "from": "Coins/Coin7", "to": "/root", "handler": "addScore" },
1265
+ { "signal": "collected", "from": "Coins/Coin8", "to": "/root", "handler": "addScore" },
1266
+ { "signal": "collected", "from": "Coins/Coin9", "to": "/root", "handler": "addScore" },
1267
+ { "signal": "collected", "from": "Coins/Coin10", "to": "/root", "handler": "addScore" },
1268
+ { "signal": "collected", "from": "Coins/Coin11", "to": "/root", "handler": "addScore" },
1269
+ { "signal": "collected", "from": "Coins/Coin12", "to": "/root", "handler": "addScore" },
1270
+ { "signal": "collected", "from": "Gem1", "to": "/root", "handler": "addScore" },
1271
+ { "signal": "collected", "from": "Gem2", "to": "/root", "handler": "addScore" },
1272
+ { "signal": "collected", "from": "Coins/Coin1", "to": "SfxCoin", "handler": "play" },
1273
+ { "signal": "collected", "from": "Coins/Coin2", "to": "SfxCoin", "handler": "play" },
1274
+ { "signal": "collected", "from": "Coins/Coin3", "to": "SfxCoin", "handler": "play" },
1275
+ { "signal": "collected", "from": "Coins/Coin4", "to": "SfxCoin", "handler": "play" },
1276
+ { "signal": "collected", "from": "Coins/Coin5", "to": "SfxCoin", "handler": "play" },
1277
+ { "signal": "collected", "from": "Coins/Coin6", "to": "SfxCoin", "handler": "play" },
1278
+ { "signal": "collected", "from": "Coins/Coin7", "to": "SfxCoin", "handler": "play" },
1279
+ { "signal": "collected", "from": "Coins/Coin8", "to": "SfxCoin", "handler": "play" },
1280
+ { "signal": "collected", "from": "Coins/Coin9", "to": "SfxCoin", "handler": "play" },
1281
+ { "signal": "collected", "from": "Coins/Coin10", "to": "SfxCoin", "handler": "play" },
1282
+ { "signal": "collected", "from": "Coins/Coin11", "to": "SfxCoin", "handler": "play" },
1283
+ { "signal": "collected", "from": "Coins/Coin12", "to": "SfxCoin", "handler": "play" },
1284
+ { "signal": "collected", "from": "Gem1", "to": "SfxCheckpoint", "handler": "play" },
1285
+ { "signal": "collected", "from": "Gem2", "to": "SfxCheckpoint", "handler": "play" },
1622
1286
  { "signal": "won", "from": "/root", "to": "SfxWin", "handler": "play" },
1623
1287
  { "signal": "lost", "from": "/root", "to": "SfxLose", "handler": "play" }
1624
1288
  ]