ajout d'un terrain infini et la possibilité de planter n'importe où
This commit is contained in:
@@ -27,7 +27,7 @@ metadata/_edit_use_anchors_ = true
|
||||
visible = false
|
||||
|
||||
[node name="Tutorial" parent="CanvasLayer" node_paths=PackedStringArray("player", "planet") instance=ExtResource("5_orelw")]
|
||||
player = NodePath("../../Entities/Player")
|
||||
player = NodePath("../../Planet/Entities/Player")
|
||||
planet = NodePath("../../Planet")
|
||||
|
||||
[node name="BaseIndicator" parent="CanvasLayer" node_paths=PackedStringArray("player") instance=ExtResource("5_gisiu")]
|
||||
@@ -36,28 +36,28 @@ offset_bottom = 91.0
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
script = ExtResource("6_cnjsq")
|
||||
player = NodePath("../../Entities/Player")
|
||||
player = NodePath("../../Planet/Entities/Player")
|
||||
|
||||
[node name="Entities" type="Node2D" parent="."]
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Player" parent="Entities" instance=ExtResource("4_g33f4")]
|
||||
position = Vector2(33, -75)
|
||||
|
||||
[node name="TruckLadder" parent="Entities" instance=ExtResource("9_gisiu")]
|
||||
position = Vector2(50, -135)
|
||||
|
||||
[node name="TruckRecharge" parent="Entities" instance=ExtResource("10_cnjsq")]
|
||||
position = Vector2(-46, -152)
|
||||
|
||||
[node name="Planet" parent="." node_paths=PackedStringArray("quota_reward", "import_entities_from_node") instance=ExtResource("8_t31p7")]
|
||||
[node name="Planet" parent="." node_paths=PackedStringArray("quota_reward", "entity_container") instance=ExtResource("8_t31p7")]
|
||||
loot_item_number = Array[int]([1])
|
||||
quota_reward = NodePath("../Reward")
|
||||
import_entities_from_node = NodePath("../Entities")
|
||||
entity_container = NodePath("Entities")
|
||||
|
||||
[node name="Entities" type="Node2D" parent="Planet"]
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Player" parent="Planet/Entities" instance=ExtResource("4_g33f4")]
|
||||
position = Vector2(2, 0)
|
||||
|
||||
[node name="TruckLadder" parent="Planet/Entities" instance=ExtResource("9_gisiu")]
|
||||
position = Vector2(50, -135)
|
||||
|
||||
[node name="TruckRecharge" parent="Planet/Entities" instance=ExtResource("10_cnjsq")]
|
||||
position = Vector2(-46, -152)
|
||||
|
||||
[node name="Camera" parent="." node_paths=PackedStringArray("following") instance=ExtResource("16_m18ms")]
|
||||
position = Vector2(2.22, 0)
|
||||
following = NodePath("../Entities/Player")
|
||||
following = NodePath("../Planet/Entities/Player")
|
||||
|
||||
[connection signal="day_limit_exceed" from="Planet" to="CanvasLayer/Win" method="_on_planet_day_limit_exceed"]
|
||||
[connection signal="pass_day_ended" from="Planet" to="RootGui" method="_on_planet_pass_day_ended"]
|
||||
|
||||
Reference in New Issue
Block a user