diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-01-02 14:54:57 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-01-02 14:54:57 +0100 |
commit | ebae6d04ffc95c6648e863d3de71835f6cd4be96 (patch) | |
tree | 58ce9119a65ccd6925d661f12aab98a057dfb53d /Character.tscn | |
parent | fb64f15e22acfc1c03c7c5357dd66077454adbcf (diff) |
Initial working commit
Diffstat (limited to 'Character.tscn')
-rw-r--r-- | Character.tscn | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Character.tscn b/Character.tscn index 5902649..eb0b6b6 100644 --- a/Character.tscn +++ b/Character.tscn @@ -14,6 +14,11 @@ [sub_resource type="SpriteFrames" id=1] animations = [ { +"frames": [ ExtResource( 8 ) ], +"loop": true, +"name": "slide", +"speed": 5.0 +}, { "frames": [ ExtResource( 4 ) ], "loop": true, "name": "back", @@ -24,11 +29,6 @@ animations = [ { "name": "idle", "speed": 5.0 }, { -"frames": [ ExtResource( 8 ) ], -"loop": true, -"name": "slide", -"speed": 5.0 -}, { "frames": [ ExtResource( 5 ), ExtResource( 6 ) ], "loop": true, "name": "walk", @@ -64,6 +64,7 @@ animations = [ { extents = Vector2( 9.21901, 11.2317 ) [node name="Character" type="KinematicBody2D"] +collision_mask = 15 script = ExtResource( 1 ) [node name="Sprite" type="AnimatedSprite" parent="."] @@ -81,4 +82,3 @@ cast_to = Vector2( 0, 150 ) [node name="CheckFallLanding" type="RayCast2D" parent="."] enabled = true -cast_to = Vector2( 0, 50 ) |