feat(sprint-14): update GardenParty scene with cake, balloons, and chair snap points
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
[gd_scene load_steps=6 format=3 uid="uid://cozypaw_gardenparty"]
|
[gd_scene load_steps=8 format=3 uid="uid://cozypaw_gardenparty"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" path="res://scenes/objects/GiftBox.tscn" id="1_giftbox"]
|
[ext_resource type="PackedScene" path="res://scenes/objects/GiftBox.tscn" id="1_giftbox"]
|
||||||
[ext_resource type="PackedScene" path="res://scenes/objects/TeaPot.tscn" id="2_teapot"]
|
[ext_resource type="PackedScene" path="res://scenes/objects/TeaPot.tscn" id="2_teapot"]
|
||||||
[ext_resource type="PackedScene" path="res://scenes/objects/HomeButton.tscn" id="3_homebtn"]
|
[ext_resource type="PackedScene" path="res://scenes/objects/HomeButton.tscn" id="3_homebtn"]
|
||||||
[ext_resource type="Script" path="res://scripts/objects/snap_point.gd" id="4_snap"]
|
[ext_resource type="Script" path="res://scripts/objects/snap_point.gd" id="4_snap"]
|
||||||
[ext_resource type="Script" path="res://scripts/objects/room_chest.gd" id="5_chest"]
|
[ext_resource type="Script" path="res://scripts/objects/room_chest.gd" id="5_chest"]
|
||||||
|
[ext_resource type="Script" path="res://scripts/objects/balloon.gd" id="6_balloon"]
|
||||||
|
[ext_resource type="Script" path="res://scripts/objects/cake.gd" id="7_cake"]
|
||||||
|
|
||||||
[node name="GardenParty" type="Node2D"]
|
[node name="GardenParty" type="Node2D"]
|
||||||
|
|
||||||
@@ -59,8 +61,24 @@ position = Vector2(640, 464)
|
|||||||
[node name="GiftBox2" parent="." instance=ExtResource("1_giftbox")]
|
[node name="GiftBox2" parent="." instance=ExtResource("1_giftbox")]
|
||||||
position = Vector2(730, 464)
|
position = Vector2(730, 464)
|
||||||
|
|
||||||
[node name="GiftBox3" parent="." instance=ExtResource("1_giftbox")]
|
[node name="Cake" type="Node2D" parent="."]
|
||||||
position = Vector2(820, 464)
|
position = Vector2(820, 464)
|
||||||
|
script = ExtResource("7_cake")
|
||||||
|
|
||||||
|
[node name="Base" type="ColorRect" parent="Cake"]
|
||||||
|
offset_left = -40.0
|
||||||
|
offset_top = -20.0
|
||||||
|
offset_right = 40.0
|
||||||
|
offset_bottom = 20.0
|
||||||
|
color = Color(0.72, 0.52, 0.32, 1)
|
||||||
|
|
||||||
|
[node name="Slice" type="ColorRect" parent="Cake"]
|
||||||
|
offset_left = 5.0
|
||||||
|
offset_top = -22.0
|
||||||
|
offset_right = 33.0
|
||||||
|
offset_bottom = 18.0
|
||||||
|
color = Color(0.88, 0.74, 0.58, 1)
|
||||||
|
rotation = 0.15
|
||||||
|
|
||||||
[node name="TeaCup" type="ColorRect" parent="."]
|
[node name="TeaCup" type="ColorRect" parent="."]
|
||||||
offset_left = 558.0
|
offset_left = 558.0
|
||||||
@@ -69,28 +87,50 @@ offset_right = 590.0
|
|||||||
offset_bottom = 464.0
|
offset_bottom = 464.0
|
||||||
color = Color(0.96, 0.92, 0.84, 1)
|
color = Color(0.96, 0.92, 0.84, 1)
|
||||||
|
|
||||||
[node name="Balloon1" type="ColorRect" parent="."]
|
[node name="Balloon1" type="Node2D" parent="."]
|
||||||
offset_left = 180.0
|
position = Vector2(200, 150)
|
||||||
offset_top = 120.0
|
script = ExtResource("6_balloon")
|
||||||
offset_right = 220.0
|
|
||||||
offset_bottom = 180.0
|
[node name="Body" type="ColorRect" parent="Balloon1"]
|
||||||
|
offset_left = -20.0
|
||||||
|
offset_top = -30.0
|
||||||
|
offset_right = 20.0
|
||||||
|
offset_bottom = 30.0
|
||||||
color = Color(0.96, 0.44, 0.44, 1)
|
color = Color(0.96, 0.44, 0.44, 1)
|
||||||
|
|
||||||
[node name="Balloon2" type="ColorRect" parent="."]
|
[node name="Balloon2" type="Node2D" parent="."]
|
||||||
offset_left = 1020.0
|
position = Vector2(1040, 130)
|
||||||
offset_top = 100.0
|
script = ExtResource("6_balloon")
|
||||||
offset_right = 1060.0
|
|
||||||
offset_bottom = 160.0
|
[node name="Body" type="ColorRect" parent="Balloon2"]
|
||||||
|
offset_left = -20.0
|
||||||
|
offset_top = -30.0
|
||||||
|
offset_right = 20.0
|
||||||
|
offset_bottom = 30.0
|
||||||
color = Color(0.56, 0.76, 0.96, 1)
|
color = Color(0.56, 0.76, 0.96, 1)
|
||||||
|
|
||||||
[node name="HomeButtonReturn" parent="." instance=ExtResource("3_homebtn")]
|
[node name="HomeButtonReturn" parent="." instance=ExtResource("3_homebtn")]
|
||||||
position = Vector2(100, 620)
|
position = Vector2(100, 620)
|
||||||
go_to_garden = false
|
go_to_garden = false
|
||||||
|
|
||||||
|
[node name="ChairLeft" type="ColorRect" parent="."]
|
||||||
|
offset_left = 500.0
|
||||||
|
offset_top = 476.0
|
||||||
|
offset_right = 560.0
|
||||||
|
offset_bottom = 496.0
|
||||||
|
color = Color(0.60, 0.42, 0.26, 1)
|
||||||
|
|
||||||
[node name="SnapTableLeft" type="Node2D" parent="."]
|
[node name="SnapTableLeft" type="Node2D" parent="."]
|
||||||
position = Vector2(530, 455)
|
position = Vector2(530, 455)
|
||||||
script = ExtResource("4_snap")
|
script = ExtResource("4_snap")
|
||||||
|
|
||||||
|
[node name="ChairRight" type="ColorRect" parent="."]
|
||||||
|
offset_left = 720.0
|
||||||
|
offset_top = 476.0
|
||||||
|
offset_right = 780.0
|
||||||
|
offset_bottom = 496.0
|
||||||
|
color = Color(0.60, 0.42, 0.26, 1)
|
||||||
|
|
||||||
[node name="SnapTableRight" type="Node2D" parent="."]
|
[node name="SnapTableRight" type="Node2D" parent="."]
|
||||||
position = Vector2(750, 455)
|
position = Vector2(750, 455)
|
||||||
script = ExtResource("4_snap")
|
script = ExtResource("4_snap")
|
||||||
|
|||||||
Reference in New Issue
Block a user