Added Objects
This commit is contained in:
parent
eb11047456
commit
78dcaac886
11 changed files with 148 additions and 35 deletions
|
|
@ -4,27 +4,21 @@
|
|||
[ext_resource type="Script" path="res://scenes/game/entities/player/player.gd" id="2_s0pfn"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://dv18sf3aj0n1h" path="res://scenes/game/entities/player/player.tres" id="3_mlsai"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_gk017"]
|
||||
size = Vector2(16, 16)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_upmug"]
|
||||
radius = 8.0
|
||||
height = 16.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_8u3aq"]
|
||||
radius = 8.0
|
||||
|
||||
[node name="Player" groups=["Player"] instance=ExtResource("1_kmfws")]
|
||||
script = ExtResource("2_s0pfn")
|
||||
|
||||
[node name="Area2D" parent="." index="0" groups=["Player"]]
|
||||
|
||||
[node name="CollisionShape2D" parent="Area2D" index="0"]
|
||||
position = Vector2(0, 8)
|
||||
shape = SubResource("RectangleShape2D_gk017")
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
[node name="CollisionShape2D" parent="." index="0"]
|
||||
position = Vector2(0, 8)
|
||||
shape = SubResource("CapsuleShape2D_upmug")
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="2"]
|
||||
[node name="AnimatedSprite2D" parent="." index="1"]
|
||||
sprite_frames = ExtResource("3_mlsai")
|
||||
animation = &"DOWN"
|
||||
metadata/_aseprite_wizard_config_ = {
|
||||
|
|
@ -41,16 +35,24 @@ metadata/_aseprite_wizard_interface_config_ = {
|
|||
"slice_section": false
|
||||
}
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." index="3"]
|
||||
[node name="Camera2D" type="Camera2D" parent="." index="2"]
|
||||
zoom = Vector2(3, 3)
|
||||
limit_smoothed = true
|
||||
position_smoothing_enabled = true
|
||||
|
||||
[node name="RollTimer" type="Timer" parent="." index="4"]
|
||||
[node name="RollTimer" type="Timer" parent="." index="3"]
|
||||
one_shot = true
|
||||
|
||||
[node name="RollCooldownTimer" type="Timer" parent="." index="5"]
|
||||
[node name="RollCooldownTimer" type="Timer" parent="." index="4"]
|
||||
one_shot = true
|
||||
|
||||
[node name="PickupArea" type="Area2D" parent="." index="5" groups=["Player"]]
|
||||
position = Vector2(0, 8)
|
||||
collision_layer = 8
|
||||
collision_mask = 4
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PickupArea" index="0"]
|
||||
shape = SubResource("CircleShape2D_8u3aq")
|
||||
|
||||
[connection signal="timeout" from="RollTimer" to="." method="_on_roll_timeout"]
|
||||
[connection signal="timeout" from="RollCooldownTimer" to="." method="_on_roll_cooldown_timer_timeout"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue