Loading island 0 by default

master
Martin Felis 2021-06-28 23:01:50 +02:00
parent 4ad8d7b50a
commit 76a09901d5
2 changed files with 3 additions and 5 deletions

View File

@ -27,16 +27,14 @@ script = ExtResource( 1 )
[node name="Camera" type="Camera2D" parent="World"]
current = true
[node name="Islands" type="Node2D" parent="World"]
[node name="Grid" type="Node2D" parent="World"]
visible = false
script = ExtResource( 2 )
[node name="GridHighlight" type="Node2D" parent="World"]
visible = false
script = ExtResource( 8 )
[node name="Islands" type="Node2D" parent="World"]
[node name="UI" type="CanvasLayer" parent="World"]
[node name="TopContainer" type="HBoxContainer" parent="World/UI"]

View File

@ -33,7 +33,7 @@ func _ready():
current_island = Island.new()
Islands.add_child(current_island)
current_island.load_island("user://pirate_game_world.save")
current_island.load_island("user://pirate_game_island_0.island")
# Set player starting position
PlayerChar.position = Globals.HexGrid.get_hex_center(Vector2(0,0))