summaryrefslogtreecommitdiffstats
path: root/Main.tscn
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-09 13:56:46 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-09 13:56:46 +0200
commit72174f8aa1d75707d8a9358c24771054da46b167 (patch)
tree9fcbf2e4cfa9b15bbea376cda0c4805304ad9c2f /Main.tscn
downloadgodot-hexgrid-72174f8aa1d75707d8a9358c24771054da46b167.zip
godot-hexgrid-72174f8aa1d75707d8a9358c24771054da46b167.tar.gz
Initial commit
Diffstat (limited to 'Main.tscn')
-rw-r--r--Main.tscn68
1 files changed, 68 insertions, 0 deletions
diff --git a/Main.tscn b/Main.tscn
new file mode 100644
index 0000000..fcecad8
--- /dev/null
+++ b/Main.tscn
@@ -0,0 +1,68 @@
+[gd_scene load_steps=7 format=2]
+
+[ext_resource path="res://Camera.gd" type="Script" id=1]
+[ext_resource path="res://Map.gd" type="Script" id=2]
+[ext_resource path="res://Main.gd" type="Script" id=3]
+[ext_resource path="res://Los.gd" type="Script" id=4]
+[ext_resource path="res://assets/target.png" type="Texture" id=6]
+[ext_resource path="res://assets/tank.png" type="Texture" id=7]
+
+[node name="Main" type="Node2D"]
+script = ExtResource( 3 )
+
+[node name="UI" type="CanvasLayer" parent="."]
+
+[node name="rotate" type="Button" parent="UI"]
+margin_left = 19.0
+margin_top = 17.0
+margin_right = 101.0
+margin_bottom = 56.0
+text = "Rotate"
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="Label" type="Label" parent="UI"]
+margin_left = 2.0
+margin_top = 477.0
+margin_right = 131.0
+margin_bottom = 598.0
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="ViewportContainer" type="ViewportContainer" parent="."]
+margin_left = 141.0
+margin_top = 19.0
+margin_right = 1004.0
+margin_bottom = 581.0
+mouse_filter = 2
+stretch = true
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="Viewport" type="Viewport" parent="ViewportContainer"]
+size = Vector2( 863, 562 )
+handle_input_locally = false
+render_target_update_mode = 3
+
+[node name="Map" type="Sprite" parent="ViewportContainer/Viewport"]
+script = ExtResource( 2 )
+
+[node name="Hexes" type="Node" parent="ViewportContainer/Viewport/Map"]
+
+[node name="Target" type="Sprite" parent="ViewportContainer/Viewport/Map"]
+z_index = 1
+texture = ExtResource( 6 )
+
+[node name="Tank" type="Sprite" parent="ViewportContainer/Viewport/Map"]
+z_index = 1
+texture = ExtResource( 7 )
+
+[node name="Los" type="Node2D" parent="ViewportContainer/Viewport/Map"]
+script = ExtResource( 4 )
+
+[node name="Camera" type="Camera2D" parent="ViewportContainer/Viewport"]
+current = true
+script = ExtResource( 1 )