Loading island 0 by default
parent
4ad8d7b50a
commit
76a09901d5
|
@ -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"]
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue