feat(gift-box): add GiftBox scene and FSM implementation
This commit is contained in:
47
scenes/objects/GiftBox.tscn
Normal file
47
scenes/objects/GiftBox.tscn
Normal file
@@ -0,0 +1,47 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cozypaw_giftbox"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/objects/gift_box.gd" id="1_giftbox"]
|
||||
|
||||
[node name="GiftBox" type="Node2D"]
|
||||
script = ExtResource("1_giftbox")
|
||||
|
||||
[node name="BoxBase" type="ColorRect" parent="."]
|
||||
offset_left = -40.0
|
||||
offset_top = -60.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 0.0
|
||||
color = Color(0.90, 0.28, 0.34, 1)
|
||||
|
||||
[node name="BoxStripe" type="ColorRect" parent="."]
|
||||
offset_left = -6.0
|
||||
offset_top = -60.0
|
||||
offset_right = 6.0
|
||||
offset_bottom = 0.0
|
||||
color = Color(0.98, 0.82, 0.22, 1)
|
||||
|
||||
[node name="Lid" type="Node2D" parent="."]
|
||||
position = Vector2(0, -60)
|
||||
|
||||
[node name="LidShape" type="ColorRect" parent="Lid"]
|
||||
offset_left = -44.0
|
||||
offset_top = -18.0
|
||||
offset_right = 44.0
|
||||
offset_bottom = 0.0
|
||||
color = Color(0.98, 0.38, 0.42, 1)
|
||||
|
||||
[node name="LidBow" type="ColorRect" parent="Lid"]
|
||||
offset_left = -10.0
|
||||
offset_top = -28.0
|
||||
offset_right = 10.0
|
||||
offset_bottom = -18.0
|
||||
color = Color(0.98, 0.82, 0.22, 1)
|
||||
|
||||
[node name="Gift" type="Node2D" parent="."]
|
||||
position = Vector2(0, -90)
|
||||
|
||||
[node name="GiftShape" type="ColorRect" parent="Gift"]
|
||||
offset_left = -20.0
|
||||
offset_top = -20.0
|
||||
offset_right = 20.0
|
||||
offset_bottom = 20.0
|
||||
color = Color(0.96, 0.76, 0.22, 1)
|
||||
Reference in New Issue
Block a user