PirateTreasureHunt/scenes/Game.tscn

107 lines
2.6 KiB
Plaintext
Raw Normal View History

2021-06-17 23:25:01 +02:00
[gd_scene load_steps=6 format=2]
[ext_resource path="res://scenes/World.gd" type="Script" id=1]
[ext_resource path="res://scenes/HexTile.gd" type="Script" id=2]
2021-06-17 23:03:45 +02:00
[ext_resource path="res://assets/pirate.svg" type="Texture" id=3]
2021-06-17 23:04:13 +02:00
[ext_resource path="res://scenes/FPSValue.gd" type="Script" id=4]
2021-06-17 23:25:01 +02:00
[ext_resource path="res://scenes/pirate.gd" type="Script" id=5]
[node name="GameRoot" type="Node"]
[node name="World" type="Node2D" parent="."]
script = ExtResource( 1 )
[node name="Camera" type="Camera2D" parent="World"]
current = true
2021-06-17 23:04:13 +02:00
[node name="HexGridDrawer" type="Node" parent="World"]
script = ExtResource( 2 )
[node name="UI" type="CanvasLayer" parent="World"]
[node name="TopContainer" type="HBoxContainer" parent="World/UI"]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="World/UI/TopContainer"]
margin_right = 55.0
margin_bottom = 40.0
text = "Reload"
[node name="Offset" type="Label" parent="World/UI/TopContainer"]
margin_left = 59.0
margin_top = 13.0
margin_right = 106.0
margin_bottom = 27.0
text = "Offset: "
[node name="OffsetValue" type="Label" parent="World/UI/TopContainer"]
margin_left = 110.0
margin_top = 13.0
margin_right = 130.0
margin_bottom = 27.0
text = "0,0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Zoom" type="Label" parent="World/UI/TopContainer"]
margin_left = 134.0
margin_top = 13.0
margin_right = 183.0
margin_bottom = 27.0
text = " Zoom: "
[node name="ZoomValue" type="Label" parent="World/UI/TopContainer"]
margin_left = 187.0
margin_top = 13.0
margin_right = 207.0
margin_bottom = 27.0
text = "0.0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HexCoord" type="Label" parent="World/UI/TopContainer"]
margin_left = 211.0
margin_top = 13.0
margin_right = 285.0
margin_bottom = 27.0
text = " HexCoord: "
[node name="HexCoordValue" type="Label" parent="World/UI/TopContainer"]
margin_left = 289.0
margin_top = 13.0
margin_right = 317.0
margin_bottom = 27.0
text = "(0,0)"
2021-06-17 23:03:45 +02:00
2021-06-17 23:04:13 +02:00
[node name="VSeparator" type="VSeparator" parent="World/UI/TopContainer"]
margin_left = 321.0
margin_right = 325.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="FPSValue" type="Label" parent="World/UI/TopContainer"]
margin_left = 329.0
margin_top = 13.0
margin_right = 337.0
margin_bottom = 27.0
text = "0"
align = 2
script = ExtResource( 4 )
2021-06-17 23:25:01 +02:00
[node name="PlayerChar" type="KinematicBody2D" parent="World"]
script = ExtResource( 5 )
[node name="pirate" type="Sprite" parent="World/PlayerChar"]
scale = Vector2( 0.45498, 0.45498 )
texture = ExtResource( 3 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="World/PlayerChar"]