From ebae6d04ffc95c6648e863d3de71835f6cd4be96 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 2 Jan 2021 14:54:57 +0100 Subject: Initial working commit --- Character.tscn | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Character.tscn') 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 ) -- cgit v1.2.3