feat(teapot): add TeaPot with tap-to-pour tilt animation

This commit is contained in:
Steven Wroblewski
2026-04-17 21:23:03 +02:00
parent da3c934e5d
commit a4620a7f14
2 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
[gd_scene load_steps=2 format=3 uid="uid://cozypaw_teapot"]
[ext_resource type="Script" path="res://scripts/objects/tea_pot.gd" id="1_teapot"]
[node name="TeaPot" type="Node2D"]
script = ExtResource("1_teapot")
[node name="PotBody" type="ColorRect" parent="."]
offset_left = -30.0
offset_top = -50.0
offset_right = 30.0
offset_bottom = 0.0
color = Color(0.96, 0.92, 0.84, 1)
[node name="PotLid" type="ColorRect" parent="."]
offset_left = -28.0
offset_top = -58.0
offset_right = 28.0
offset_bottom = -48.0
color = Color(0.74, 0.62, 0.50, 1)
[node name="PotSpout" type="ColorRect" parent="."]
offset_left = 26.0
offset_top = -38.0
offset_right = 46.0
offset_bottom = -22.0
color = Color(0.96, 0.92, 0.84, 1)
[node name="PotHandle" type="ColorRect" parent="."]
offset_left = -48.0
offset_top = -36.0
offset_right = -36.0
offset_bottom = -14.0
color = Color(0.96, 0.92, 0.84, 1)