forked from team-sg/hero-mark-2
added music to canopy
This commit is contained in:
parent
a47c0bfffc
commit
f5191bdac6
6 changed files with 214 additions and 54 deletions
BIN
audio/music/dusk_park.mp3
Normal file
BIN
audio/music/dusk_park.mp3
Normal file
Binary file not shown.
15
audio/music/dusk_park.mp3.import
Normal file
15
audio/music/dusk_park.mp3.import
Normal file
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
path="res://.import/dusk_park.mp3-4f32391dd5241853bbe02a0e983b8702.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/music/dusk_park.mp3"
|
||||
dest_files=[ "res://.import/dusk_park.mp3-4f32391dd5241853bbe02a0e983b8702.mp3str" ]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0
|
233
maps/canopy.tscn
233
maps/canopy.tscn
File diff suppressed because one or more lines are too long
|
@ -96,7 +96,7 @@ script = ExtResource( 2 )
|
|||
position = Vector2( 4, 2 )
|
||||
texture = ExtResource( 1 )
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 13, 0, 13, 12 )
|
||||
region_rect = Rect2( 0, 0, 13, 12 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
playback_process_mode = 0
|
||||
|
|
|
@ -21,9 +21,6 @@ func _on_AnimationPlayer_animation_finished(anim_name):
|
|||
anims.play("idle")
|
||||
flip_timer.start(time_ms)
|
||||
|
||||
func _physics_process(delta):
|
||||
Debug.print(delay_timer.get_time_left())
|
||||
|
||||
func _on_FlipTimer_timeout():
|
||||
anims.play("turn")
|
||||
|
||||
|
|
|
@ -75,6 +75,21 @@ ui_accept={
|
|||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":88,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
ui_up={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":5,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
ui_down={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":4,"pressure":0.0,"pressed":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":7,"axis_value":1.0,"script":null)
|
||||
]
|
||||
}
|
||||
jump={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":88,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue