aboutsummaryrefslogtreecommitdiff
path: root/entities
diff options
context:
space:
mode:
authorIndrajith K L2022-04-14 16:36:24 +0530
committerIndrajith K L2022-04-14 16:36:24 +0530
commitaef396151234aa21af4a658ea11f03ea9434961c (patch)
treee6572f4e53830283846f4294b43f083159c5fd50 /entities
parent8bf932bf0b2184c1dc11241bb9c84d6c4e420293 (diff)
downloadgamedevjs-jam-aef396151234aa21af4a658ea11f03ea9434961c.tar.gz
gamedevjs-jam-aef396151234aa21af4a658ea11f03ea9434961c.tar.bz2
gamedevjs-jam-aef396151234aa21af4a658ea11f03ea9434961c.zip
Graphics and SFX Changes
* Adds Background parallax images (not exactly parallax since we have a fixed camera) * Adds SFX * Fixes Pickable collisions and SFX playback
Diffstat (limited to 'entities')
-rw-r--r--entities/Player.tscn28
1 files changed, 17 insertions, 11 deletions
diff --git a/entities/Player.tscn b/entities/Player.tscn
index 2029798..a5d1f7e 100644
--- a/entities/Player.tscn
+++ b/entities/Player.tscn
@@ -55,14 +55,9 @@ animations = [ {
"name": "idle",
"speed": 25.0
}, {
-"frames": [ ExtResource( 31 ), ExtResource( 23 ), ExtResource( 40 ), ExtResource( 33 ), ExtResource( 37 ), ExtResource( 25 ), ExtResource( 41 ) ],
-"loop": true,
-"name": "hit",
-"speed": 5.0
-}, {
-"frames": [ ExtResource( 39 ), ExtResource( 42 ), ExtResource( 32 ), ExtResource( 38 ), ExtResource( 35 ), ExtResource( 22 ), ExtResource( 24 ), ExtResource( 43 ), ExtResource( 21 ), ExtResource( 34 ), ExtResource( 26 ), ExtResource( 36 ) ],
+"frames": [ ExtResource( 27 ), ExtResource( 29 ), ExtResource( 18 ), ExtResource( 20 ), ExtResource( 19 ) ],
"loop": true,
-"name": "run",
+"name": "wall_jump",
"speed": 25.0
}, {
"frames": [ ExtResource( 30 ) ],
@@ -70,19 +65,24 @@ animations = [ {
"name": "fall",
"speed": 5.0
}, {
-"frames": [ ExtResource( 27 ), ExtResource( 29 ), ExtResource( 18 ), ExtResource( 20 ), ExtResource( 19 ) ],
+"frames": [ ExtResource( 2 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ) ],
"loop": true,
-"name": "wall_jump",
+"name": "double_jump",
"speed": 25.0
}, {
+"frames": [ ExtResource( 31 ), ExtResource( 23 ), ExtResource( 40 ), ExtResource( 33 ), ExtResource( 37 ), ExtResource( 25 ), ExtResource( 41 ) ],
+"loop": true,
+"name": "hit",
+"speed": 5.0
+}, {
"frames": [ ExtResource( 28 ) ],
"loop": true,
"name": "jump",
"speed": 5.0
}, {
-"frames": [ ExtResource( 2 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ) ],
+"frames": [ ExtResource( 39 ), ExtResource( 42 ), ExtResource( 32 ), ExtResource( 38 ), ExtResource( 35 ), ExtResource( 22 ), ExtResource( 24 ), ExtResource( 43 ), ExtResource( 21 ), ExtResource( 34 ), ExtResource( 26 ), ExtResource( 36 ) ],
"loop": true,
-"name": "double_jump",
+"name": "run",
"speed": 25.0
} ]
@@ -94,6 +94,12 @@ script = ExtResource( 44 )
position = Vector2( 0, 2 )
shape = SubResource( 2 )
+[node name="Area2D" type="Area2D" parent="."]
+
+[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"]
+position = Vector2( 0, 2 )
+shape = SubResource( 2 )
+
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
frames = SubResource( 1 )
animation = "idle"