Fart
This commit is contained in:
parent
ce42e18e72
commit
70de3a3e75
34
art/Black.png.import
Normal file
34
art/Black.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/Black.png-2d3e71dec7891a7274b5efa77e1741b2.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/Black.png"
|
||||||
|
dest_files=[ "res://.import/Black.png-2d3e71dec7891a7274b5efa77e1741b2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
16
art/Black.tres
Normal file
16
art/Black.tres
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[gd_resource type="Animation" format=2]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
resource_name = "Black Fade in"
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/path = NodePath("CanvasLayer/Sprite:modulate")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PoolRealArray( 0, 1 ),
|
||||||
|
"transitions": PoolRealArray( 1, 1 ),
|
||||||
|
"update": 0,
|
||||||
|
"values": [ Color( 0, 0, 0, 0 ), Color( 0, 0, 0, 1 ) ]
|
||||||
|
}
|
4
levels/AnimationPlayer.gd
Normal file
4
levels/AnimationPlayer.gd
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
extends AnimationPlayer
|
||||||
|
|
||||||
|
func _on_Leap_body_entered(body):
|
||||||
|
play("Black")
|
4
levels/Leap Of Faith.gd
Normal file
4
levels/Leap Of Faith.gd
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
extends Area2D
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
pass # Replace with function body.
|
File diff suppressed because one or more lines are too long
|
@ -8,7 +8,7 @@
|
||||||
[sub_resource type="CircleShape2D" id=1]
|
[sub_resource type="CircleShape2D" id=1]
|
||||||
radius = 6.0
|
radius = 6.0
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id=5]
|
[sub_resource type="CircleShape2D" id=2]
|
||||||
radius = 50.0
|
radius = 50.0
|
||||||
|
|
||||||
[node name="ExplosiveProjectile" type="KinematicBody2D"]
|
[node name="ExplosiveProjectile" type="KinematicBody2D"]
|
||||||
|
@ -30,7 +30,7 @@ shape = SubResource( 1 )
|
||||||
visible = false
|
visible = false
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||||
shape = SubResource( 5 )
|
shape = SubResource( 2 )
|
||||||
|
|
||||||
[node name="KillTimer" type="Timer" parent="."]
|
[node name="KillTimer" type="Timer" parent="."]
|
||||||
one_shot = true
|
one_shot = true
|
||||||
|
|
|
@ -38,6 +38,8 @@ func play_hitsound():
|
||||||
HitSound.play(0.0)
|
HitSound.play(0.0)
|
||||||
$HitAnimation.play("Hit")
|
$HitAnimation.play("Hit")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func get_current_conduit():
|
func get_current_conduit():
|
||||||
return Inventory.active_conduit
|
return Inventory.active_conduit
|
||||||
|
|
||||||
|
@ -111,5 +113,7 @@ func get_movement_weight():
|
||||||
else:
|
else:
|
||||||
return 0.07
|
return 0.07
|
||||||
|
|
||||||
func _on_Area2D_body_entered(body):
|
|
||||||
pass
|
|
||||||
|
func _on_Leap_body_entered(body):
|
||||||
|
$AnimationPlayer.play("Black Fade in")
|
||||||
|
|
Loading…
Reference in a new issue