Morning-Murder/Scenes/Entities/candy.tscn

39 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2023-09-14 10:29:52 +03:00
[gd_scene load_steps=5 format=3 uid="uid://b56lg6dhura8f"]
[ext_resource type="Texture2D" uid="uid://k0cnmh268s2e" path="res://Assets/Sprites/CandyRainS5E12.png" id="1_dc57j"]
[ext_resource type="Script" path="res://Scripts/MoveUpDown.cs" id="2_10e3l"]
[ext_resource type="Script" path="res://Scripts/Candy.cs" id="3_d4aun"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mfu86"]
[node name="Candy" type="Node2D"]
[node name="Candy" type="RigidBody2D" parent="." node_paths=PackedStringArray("Up", "Down")]
position = Vector2(1024, 318)
disable_mode = 2
mass = 238.6
gravity_scale = 0.0
continuous_cd = 2
max_contacts_reported = 4
can_sleep = false
freeze_mode = 1
script = ExtResource("2_10e3l")
Up = NodePath("../Candy Up")
Down = NodePath("../Candy Down")
speed = 1.215
[node name="CollisionShape2D" type="CollisionShape2D" parent="Candy"]
scale = Vector2(8.83, 8.83)
shape = SubResource("RectangleShape2D_mfu86")
[node name="CandyRainS5e12" type="Sprite2D" parent="Candy"]
scale = Vector2(0.07, 0.07)
texture = ExtResource("1_dc57j")
script = ExtResource("3_d4aun")
[node name="Candy Up" type="Node2D" parent="."]
position = Vector2(1023, 106)
[node name="Candy Down" type="Node2D" parent="."]
position = Vector2(1023, 522)