2024-04-18 19:45:52 -04:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://cgcjicue76wsr"]
|
2024-04-16 20:29:45 -04:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Player.gd" id="1_bu0dg"]
|
2024-04-18 19:45:52 -04:00
|
|
|
[ext_resource type="SpriteFrames" uid="uid://cmkptgd3k37bl" path="res://player_idle.gif" id="2_c8tq3"]
|
2024-04-16 20:29:45 -04:00
|
|
|
|
|
|
|
[node name="Player" type="RigidBody2D" groups=["destructible"]]
|
|
|
|
position = Vector2(-42, 74)
|
|
|
|
gravity_scale = 1.66533e-16
|
|
|
|
linear_damp = 1.0
|
|
|
|
script = ExtResource("1_bu0dg")
|
|
|
|
|
2024-04-18 19:45:52 -04:00
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
|
|
|
position = Vector2(-33, 0)
|
|
|
|
sprite_frames = ExtResource("2_c8tq3")
|
|
|
|
animation = &"gif"
|
|
|
|
speed_scale = 0.75
|
2024-04-16 20:29:45 -04:00
|
|
|
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
|
|
|
visible = false
|
|
|
|
rotation = 1.5708
|
|
|
|
scale = Vector2(0.1, 0.1)
|
|
|
|
polygon = PackedVector2Array(0, -155, 23, -147, 249, 89, 259, 113, 246, 142, 216, 155, 178, 148, 0, 52, -187, 150, -232, 148, -257, 116, -250, 89, -38, -136, -21, -147)
|