level 3
This commit is contained in:
parent
20aa80d706
commit
690f174ed3
|
@ -5,7 +5,7 @@ resource_name = "Hit"
|
|||
length = 0.1
|
||||
step = 0.05
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("../Demon/Hell:modulate")
|
||||
tracks/0/path = NodePath("Hell:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
|
|
|
@ -5,7 +5,7 @@ resource_name = "Hit"
|
|||
length = 0.1
|
||||
step = 0.05
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Sprite:modulate")
|
||||
tracks/0/path = NodePath("../Ogre/Skeleton Enemy3:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
|
|
|
@ -5,7 +5,7 @@ resource_name = "Run"
|
|||
length = 0.35
|
||||
loop = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("../Ogre/Sprite:frame")
|
||||
tracks/0/path = NodePath("../Ogre/Skeleton Enemy3:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
|
|
|
@ -5,7 +5,7 @@ resource_name = "Hit"
|
|||
length = 0.1
|
||||
step = 0.05
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Skeleton:modulate")
|
||||
tracks/0/path = NodePath("../Skeleton Enemy/Demon2:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
|
|
|
@ -26,7 +26,7 @@ tracks/0/keys = {
|
|||
|
||||
[node name="Demon" type="KinematicBody2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 11
|
||||
collision_mask = 15
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
|
|
@ -12,7 +12,7 @@ resource_name = "Skeleton Jump"
|
|||
length = 0.65
|
||||
loop = true
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Skeleton:frame")
|
||||
tracks/0/path = NodePath("../Skeleton Enemy/Demon2:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
|
@ -26,7 +26,7 @@ tracks/0/keys = {
|
|||
|
||||
[node name="Skeleton Enemy" type="KinematicBody2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 3
|
||||
collision_mask = 15
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
|
|
@ -14,14 +14,14 @@ height = 6.0
|
|||
|
||||
[node name="Ogre" type="KinematicBody2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 2147483655
|
||||
collision_mask = 2147483663
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, -17 )
|
||||
texture = ExtResource( 2 )
|
||||
hframes = 4
|
||||
frame = 2
|
||||
frame = 3
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
|
29
levels/Campaign/Level 3/Appearing Platform.tres
Normal file
29
levels/Campaign/Level 3/Appearing Platform.tres
Normal file
|
@ -0,0 +1,29 @@
|
|||
[gd_resource type="Animation" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "Appearing Platform"
|
||||
length = 0.3
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:collision_layer")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.3 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 1,
|
||||
"values": [ 0, 2 ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath(".:visible")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 0.3 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 1,
|
||||
"values": [ false, true ]
|
||||
}
|
File diff suppressed because one or more lines are too long
8
levels/Campaign/Level 3/TileMap2.gd
Normal file
8
levels/Campaign/Level 3/TileMap2.gd
Normal file
|
@ -0,0 +1,8 @@
|
|||
extends TileMap
|
||||
|
||||
func _on_Lever_on():
|
||||
$AnimationPlayer.play("Appearing Platform")
|
||||
|
||||
|
||||
func _on_Lever_off():
|
||||
queue_free()
|
6
levels/Campaign/Level 3/TileMap3.gd
Normal file
6
levels/Campaign/Level 3/TileMap3.gd
Normal file
|
@ -0,0 +1,6 @@
|
|||
extends TileMap
|
||||
|
||||
|
||||
|
||||
func _on_Lever_on():
|
||||
queue_free()
|
Loading…
Reference in a new issue