game.tscn 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. [gd_scene load_steps=9 format=3 uid="uid://d0lrpf3mmjdsx"]
  2. [ext_resource type="PackedScene" uid="uid://dohp772jyjxb7" path="res://stage/stage.tscn" id="1_ybvw5"]
  3. [ext_resource type="PackedScene" uid="uid://dfxo2jwbj4aeh" path="res://coin/coin.tscn" id="2_chew2"]
  4. [ext_resource type="PackedScene" uid="uid://o5q0hy6cg6nt" path="res://enemy/enemy.tscn" id="3_nhwvs"]
  5. [ext_resource type="PackedScene" uid="uid://cc4idhykjp5f5" path="res://player/player.tscn" id="4_ray4s"]
  6. [sub_resource type="PhysicsMaterial" id="1"]
  7. friction = 0.0
  8. [sub_resource type="PhysicsMaterial" id="2"]
  9. friction = 0.0
  10. [sub_resource type="PhysicsMaterial" id="3"]
  11. friction = 0.0
  12. [sub_resource type="PhysicsMaterial" id="4"]
  13. friction = 0.0
  14. [node name="Game" type="Node3D"]
  15. [node name="Stage" parent="." instance=ExtResource("1_ybvw5")]
  16. [node name="Coins" type="Node3D" parent="."]
  17. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16, -6, -12)
  18. [node name="Coin1" parent="Coins" instance=ExtResource("2_chew2")]
  19. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.5311, 2.35075, 5.24675)
  20. [node name="Coin2" parent="Coins" instance=ExtResource("2_chew2")]
  21. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.5311, 2.35075, 7.24675)
  22. [node name="Coin3" parent="Coins" instance=ExtResource("2_chew2")]
  23. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.5311, 2.35075, 5.24675)
  24. [node name="Coin44" parent="Coins" instance=ExtResource("2_chew2")]
  25. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.5311, 2.35075, 7.24675)
  26. [node name="Coin4" parent="Coins" instance=ExtResource("2_chew2")]
  27. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.61344, 10.28, 11.0239)
  28. [node name="Coin42" parent="Coins" instance=ExtResource("2_chew2")]
  29. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.61344, 10.28, 13.0239)
  30. [node name="Coin43" parent="Coins" instance=ExtResource("2_chew2")]
  31. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61344, 10.28, 11.0239)
  32. [node name="Coin33" parent="Coins" instance=ExtResource("2_chew2")]
  33. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61344, 10.28, 13.0239)
  34. [node name="Coin5" parent="Coins" instance=ExtResource("2_chew2")]
  35. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.61344, 11.9027, 11.03)
  36. [node name="Coin41" parent="Coins" instance=ExtResource("2_chew2")]
  37. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.61344, 11.9027, 13.03)
  38. [node name="Coin34" parent="Coins" instance=ExtResource("2_chew2")]
  39. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61344, 11.9027, 13.03)
  40. [node name="Coin40" parent="Coins" instance=ExtResource("2_chew2")]
  41. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61344, 11.9027, 11.03)
  42. [node name="Coin6" parent="Coins" instance=ExtResource("2_chew2")]
  43. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.61344, 10.28, 15.0922)
  44. [node name="Coin39" parent="Coins" instance=ExtResource("2_chew2")]
  45. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.61344, 10.28, 17.0922)
  46. [node name="Coin35" parent="Coins" instance=ExtResource("2_chew2")]
  47. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61344, 10.28, 17.0922)
  48. [node name="Coin38" parent="Coins" instance=ExtResource("2_chew2")]
  49. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61344, 10.28, 15.0922)
  50. [node name="Coin37" parent="Coins" instance=ExtResource("2_chew2")]
  51. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61344, 11.9027, 15.0983)
  52. [node name="Coin36" parent="Coins" instance=ExtResource("2_chew2")]
  53. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61344, 11.9027, 17.0983)
  54. [node name="Coin32" parent="Coins" instance=ExtResource("2_chew2")]
  55. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.61344, 11.9027, 15.0983)
  56. [node name="Coin31" parent="Coins" instance=ExtResource("2_chew2")]
  57. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.61344, 11.9027, 17.0983)
  58. [node name="Coin7" parent="Coins" instance=ExtResource("2_chew2")]
  59. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 57.057, 4.24271, 26.9338)
  60. [node name="Coin30" parent="Coins" instance=ExtResource("2_chew2")]
  61. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 57.057, 4.24271, 28.9338)
  62. [node name="Coin29" parent="Coins" instance=ExtResource("2_chew2")]
  63. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 57.057, 5.86534, 26.9399)
  64. [node name="Coin28" parent="Coins" instance=ExtResource("2_chew2")]
  65. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 59.057, 5.86534, 28.9399)
  66. [node name="Coin27" parent="Coins" instance=ExtResource("2_chew2")]
  67. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 59.057, 5.86534, 26.9399)
  68. [node name="Coin26" parent="Coins" instance=ExtResource("2_chew2")]
  69. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 59.057, 4.24271, 28.9338)
  70. [node name="Coin25" parent="Coins" instance=ExtResource("2_chew2")]
  71. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 59.057, 4.24271, 26.9338)
  72. [node name="Coin24" parent="Coins" instance=ExtResource("2_chew2")]
  73. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 57.057, 5.86534, 28.9399)
  74. [node name="Coin8" parent="Coins" instance=ExtResource("2_chew2")]
  75. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 63.0108, 6.26547, 28.8899)
  76. [node name="Coin23" parent="Coins" instance=ExtResource("2_chew2")]
  77. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 65.0108, 7.8881, 28.896)
  78. [node name="Coin22" parent="Coins" instance=ExtResource("2_chew2")]
  79. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 63.0108, 6.26547, 30.8899)
  80. [node name="Coin21" parent="Coins" instance=ExtResource("2_chew2")]
  81. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 63.0108, 7.8881, 28.896)
  82. [node name="Coin20" parent="Coins" instance=ExtResource("2_chew2")]
  83. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 65.0108, 7.8881, 30.896)
  84. [node name="Coin19" parent="Coins" instance=ExtResource("2_chew2")]
  85. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 65.0108, 6.26547, 28.8899)
  86. [node name="Coin18" parent="Coins" instance=ExtResource("2_chew2")]
  87. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 65.0108, 6.26547, 30.8899)
  88. [node name="Coin17" parent="Coins" instance=ExtResource("2_chew2")]
  89. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 63.0108, 7.8881, 30.896)
  90. [node name="Coin9" parent="Coins" instance=ExtResource("2_chew2")]
  91. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 51.0614, 2.48252, 23.0775)
  92. [node name="Coin16" parent="Coins" instance=ExtResource("2_chew2")]
  93. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 53.0614, 4.10515, 23.0836)
  94. [node name="Coin15" parent="Coins" instance=ExtResource("2_chew2")]
  95. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 51.0614, 2.48252, 25.0775)
  96. [node name="Coin14" parent="Coins" instance=ExtResource("2_chew2")]
  97. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 53.0614, 2.48252, 23.0775)
  98. [node name="Coin13" parent="Coins" instance=ExtResource("2_chew2")]
  99. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 53.0614, 4.10515, 25.0836)
  100. [node name="Coin12" parent="Coins" instance=ExtResource("2_chew2")]
  101. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 51.0614, 4.10515, 23.0836)
  102. [node name="Coin11" parent="Coins" instance=ExtResource("2_chew2")]
  103. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 53.0614, 2.48252, 25.0775)
  104. [node name="Coin10" parent="Coins" instance=ExtResource("2_chew2")]
  105. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 51.0614, 4.10515, 25.0836)
  106. [node name="Coin45" parent="Coins" instance=ExtResource("2_chew2")]
  107. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.0614, 10.2052, 19.0836)
  108. [node name="Coin46" parent="Coins" instance=ExtResource("2_chew2")]
  109. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13.0614, 8.20515, 15.0836)
  110. [node name="Coin72" parent="Coins" instance=ExtResource("2_chew2")]
  111. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.1614, 11.1052, 13.1836)
  112. [node name="Coin73" parent="Coins" instance=ExtResource("2_chew2")]
  113. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14.7614, 11.1052, 16.7836)
  114. [node name="Coin71" parent="Coins" instance=ExtResource("2_chew2")]
  115. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.0614, 10.2052, 11.0836)
  116. [node name="Coin47" parent="Coins" instance=ExtResource("2_chew2")]
  117. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 35.0614, 10.2052, 11.0836)
  118. [node name="Coin48" parent="Coins" instance=ExtResource("2_chew2")]
  119. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 31.0614, 10.2052, 11.0836)
  120. [node name="Coin49" parent="Coins" instance=ExtResource("2_chew2")]
  121. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 31.0614, 4.20515, 11.0836)
  122. [node name="Coin50" parent="Coins" instance=ExtResource("2_chew2")]
  123. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 31.0614, 4.20515, 13.0836)
  124. [node name="Coin51" parent="Coins" instance=ExtResource("2_chew2")]
  125. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 33.0614, 4.20515, 13.0836)
  126. [node name="Coin52" parent="Coins" instance=ExtResource("2_chew2")]
  127. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 33.0614, 4.20515, 11.0836)
  128. [node name="Coin53" parent="Coins" instance=ExtResource("2_chew2")]
  129. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 70.0614, 2.20515, 13.0836)
  130. [node name="Coin54" parent="Coins" instance=ExtResource("2_chew2")]
  131. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 70.0614, 2.20515, 15.0836)
  132. [node name="Coin55" parent="Coins" instance=ExtResource("2_chew2")]
  133. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 72.0614, 2.20515, 15.0836)
  134. [node name="Coin56" parent="Coins" instance=ExtResource("2_chew2")]
  135. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 72.0614, 2.20515, 13.0836)
  136. [node name="Coin57" parent="Coins" instance=ExtResource("2_chew2")]
  137. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 55.0614, 2.20515, 0.0835991)
  138. [node name="Coin58" parent="Coins" instance=ExtResource("2_chew2")]
  139. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 55.0614, 2.20515, 2.0836)
  140. [node name="Coin59" parent="Coins" instance=ExtResource("2_chew2")]
  141. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 57.0614, 2.20515, 2.0836)
  142. [node name="Coin60" parent="Coins" instance=ExtResource("2_chew2")]
  143. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 57.0614, 2.20515, 0.0835991)
  144. [node name="Coin61" parent="Coins" instance=ExtResource("2_chew2")]
  145. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.0614, 6.20515, -10.9164)
  146. [node name="Coin62" parent="Coins" instance=ExtResource("2_chew2")]
  147. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.0614, 6.20515, -10.9164)
  148. [node name="Coin63" parent="Coins" instance=ExtResource("2_chew2")]
  149. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0614014, 6.20515, -10.9164)
  150. [node name="Coin64" parent="Coins" instance=ExtResource("2_chew2")]
  151. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.0614, 6.20515, -10.9164)
  152. [node name="Coin65" parent="Coins" instance=ExtResource("2_chew2")]
  153. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.9386, 9.20515, 2.0836)
  154. [node name="Coin67" parent="Coins" instance=ExtResource("2_chew2")]
  155. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.9386, 9.20515, 6.0836)
  156. [node name="Coin68" parent="Coins" instance=ExtResource("2_chew2")]
  157. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.9386, 10.2052, 5.0836)
  158. [node name="Coin69" parent="Coins" instance=ExtResource("2_chew2")]
  159. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.9386, 10.2052, 3.0836)
  160. [node name="Coin70" parent="Coins" instance=ExtResource("2_chew2")]
  161. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.9386, 10.7052, 4.0836)
  162. [node name="Coin66" parent="Coins" instance=ExtResource("2_chew2")]
  163. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.9386, 6.20515, -10.9164)
  164. [node name="Enemies" type="Node3D" parent="."]
  165. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16, -6, -12)
  166. [node name="Enemy1" parent="Enemies" instance=ExtResource("3_nhwvs")]
  167. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.3062, 5.40827, 5.96938)
  168. physics_material_override = SubResource("1")
  169. [node name="Enemy2" parent="Enemies" instance=ExtResource("3_nhwvs")]
  170. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 64.1292, 5.40827, 17.1396)
  171. physics_material_override = SubResource("2")
  172. [node name="Enemy3" parent="Enemies" instance=ExtResource("3_nhwvs")]
  173. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 64.0292, 6.70827, 29.8128)
  174. physics_material_override = SubResource("3")
  175. [node name="Enemy4" parent="Enemies" instance=ExtResource("3_nhwvs")]
  176. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 52.6702, 5.40827, 27.7128)
  177. physics_material_override = SubResource("4")
  178. [node name="Player" parent="." instance=ExtResource("4_ray4s")]
  179. transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -9.49833, -3.84189, 3.9334)