34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
|
[gd_scene load_steps=5 format=3 uid="uid://b8ukoy7uiwtlo"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Scripts/MoveUpDown.cs" id="2_4b64p"]
|
||
|
[ext_resource type="Texture2D" uid="uid://csrcr2nddcqtn" path="res://Assets/Sprites/pony-town-Cushy Pillow-stand-head-4x.png" id="2_gs3o8"]
|
||
|
[ext_resource type="Script" path="res://Scripts/ThrowPillow.cs" id="3_i37ey"]
|
||
|
[ext_resource type="PackedScene" uid="uid://bv0rugppux84g" path="res://Scenes/Entities/pillow.tscn" id="4_nkwti"]
|
||
|
|
||
|
[node name="Cushy" type="Node2D"]
|
||
|
|
||
|
[node name="RigidBody2D" type="RigidBody2D" parent="." node_paths=PackedStringArray("Up", "Down")]
|
||
|
position = Vector2(111, 322)
|
||
|
script = ExtResource("2_4b64p")
|
||
|
Up = NodePath("../Cushy Up")
|
||
|
Down = NodePath("../Cushy Down")
|
||
|
speed = 0.56
|
||
|
|
||
|
[node name="Pony-town-cushyPillow-stand-head-4x" type="Sprite2D" parent="RigidBody2D"]
|
||
|
texture = ExtResource("2_gs3o8")
|
||
|
|
||
|
[node name="Pillow Spawner" type="Node2D" parent="RigidBody2D/Pony-town-cushyPillow-stand-head-4x" node_paths=PackedStringArray("pillowsNode")]
|
||
|
position = Vector2(127, 0)
|
||
|
script = ExtResource("3_i37ey")
|
||
|
pillow = ExtResource("4_nkwti")
|
||
|
pillowsNode = NodePath("../../../Pillows")
|
||
|
RPM = 25.0
|
||
|
|
||
|
[node name="Cushy Up" type="Node2D" parent="."]
|
||
|
position = Vector2(122, 106)
|
||
|
|
||
|
[node name="Cushy Down" type="Node2D" parent="."]
|
||
|
position = Vector2(122, 522)
|
||
|
|
||
|
[node name="Pillows" type="Node2D" parent="."]
|