summaryrefslogtreecommitdiff
path: root/src/ui/hud/snake/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/hud/snake/scenes')
-rw-r--r--src/ui/hud/snake/scenes/SnakeHUD.tscn12
-rw-r--r--src/ui/hud/snake/scenes/SnakeHead.tscn8
-rw-r--r--src/ui/hud/snake/scenes/SnakeSegment.tscn5
3 files changed, 25 insertions, 0 deletions
diff --git a/src/ui/hud/snake/scenes/SnakeHUD.tscn b/src/ui/hud/snake/scenes/SnakeHUD.tscn
new file mode 100644
index 0000000..4b33885
--- /dev/null
+++ b/src/ui/hud/snake/scenes/SnakeHUD.tscn
@@ -0,0 +1,12 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://ui/hud/snake/scenes/SnakeHead.tscn" type="PackedScene" id=1]
+[ext_resource path="res://ui/hud/snake/scripts/snake_hud.gd" type="Script" id=2]
+[ext_resource path="res://ui/hud/snake/sprites/head1.png" type="Texture" id=3]
+
+[node name="SnakeHUD" type="HBoxContainer"]
+custom_constants/separation = 0
+script = ExtResource( 2 )
+
+[node name="SnakeHead" parent="." instance=ExtResource( 1 )]
+texture = ExtResource( 3 )
diff --git a/src/ui/hud/snake/scenes/SnakeHead.tscn b/src/ui/hud/snake/scenes/SnakeHead.tscn
new file mode 100644
index 0000000..79eb7d1
--- /dev/null
+++ b/src/ui/hud/snake/scenes/SnakeHead.tscn
@@ -0,0 +1,8 @@
+[gd_scene load_steps=2 format=2]
+
+[ext_resource path="res://ui/hud/snake/scripts/snake_head.gd" type="Script" id=1]
+
+[node name="SnakeHead" type="TextureRect"]
+margin_right = 8.0
+margin_bottom = 8.0
+script = ExtResource( 1 )
diff --git a/src/ui/hud/snake/scenes/SnakeSegment.tscn b/src/ui/hud/snake/scenes/SnakeSegment.tscn
new file mode 100644
index 0000000..069a812
--- /dev/null
+++ b/src/ui/hud/snake/scenes/SnakeSegment.tscn
@@ -0,0 +1,5 @@
+[gd_scene format=2]
+
+[node name="SnakeSegment" type="TextureRect"]
+margin_right = 4.0
+margin_bottom = 4.0