| … | … | @@ -1,4 +1,7 @@ |
| 1 | [gd_resource type="Animation" format=2] | |
| 1 | [gd_resource type="Animation" load_steps=3 format=2] | |
| 2 | ||
| 3 | [ext_resource path="res://assets/sounds/player/step_left.mp3" type="AudioStream" id=1] | |
| 4 | [ext_resource path="res://assets/sounds/player/step_right.mp3" type="AudioStream" id=2] | |
| 2 | 5 | |
| 3 | 6 | [resource] |
| 4 | 7 | resource_name = "running-loop" |
| … | … | @@ -228,3 +231,31 @@ tracks/31/loop_wrap = true |
| 228 | 231 | tracks/31/imported = true |
| 229 | 232 | tracks/31/enabled = true |
| 230 | 233 | tracks/31/keys = PoolRealArray( 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0.916667, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1 ) |
| 234 | tracks/32/type = "audio" | |
| 235 | tracks/32/path = NodePath("Sound_Footstep_Left") | |
| 236 | tracks/32/interp = 1 | |
| 237 | tracks/32/loop_wrap = true | |
| 238 | tracks/32/imported = false | |
| 239 | tracks/32/enabled = true | |
| 240 | tracks/32/keys = { | |
| 241 | "clips": [ { | |
| 242 | "end_offset": 0.0, | |
| 243 | "start_offset": 0.0, | |
| 244 | "stream": ExtResource( 1 ) | |
| 245 | } ], | |
| 246 | "times": PoolRealArray( 0.6 ) | |
| 247 | } | |
| 248 | tracks/33/type = "audio" | |
| 249 | tracks/33/path = NodePath("Sound_Footstep_Right") | |
| 250 | tracks/33/interp = 1 | |
| 251 | tracks/33/loop_wrap = true | |
| 252 | tracks/33/imported = false | |
| 253 | tracks/33/enabled = true | |
| 254 | tracks/33/keys = { | |
| 255 | "clips": [ { | |
| 256 | "end_offset": 0.0, | |
| 257 | "start_offset": 0.0, | |
| 258 | "stream": ExtResource( 2 ) | |
| 259 | } ], | |
| 260 | "times": PoolRealArray( 0.2 ) | |
| 261 | } |
| … | … | @@ -1,4 +1,4 @@ |
| 1 | [gd_scene load_steps=24 format=2] | |
| 1 | [gd_scene load_steps=26 format=2] | |
| 2 | 2 | |
| 3 | 3 | [ext_resource path="res://assets/models/night_ghost/night_ghost.scn" type="PackedScene" id=1] |
| 4 | 4 | [ext_resource path="res://assets/models/night_ghost/night_ghost_anim_tree.res" type="AnimationNodeBlendTree" id=2] |
| … | … | @@ -11,6 +11,8 @@ |
| 11 | 11 | [ext_resource path="res://assets/models/night_ghost/night_ghost/walk_forward-loop.tres" type="Animation" id=9] |
| 12 | 12 | [ext_resource path="res://assets/models/night_ghost/night_ghost/run-loop.tres" type="Animation" id=10] |
| 13 | 13 | [ext_resource path="res://assets/models/night_ghost/night_ghost/run_forward_loop.tres" type="Animation" id=11] |
| 14 | [ext_resource path="res://assets/sounds/player/step_right.mp3" type="AudioStream" id=12] | |
| 15 | [ext_resource path="res://assets/sounds/player/step_left.mp3" type="AudioStream" id=13] | |
| 14 | 16 | [ext_resource path="res://game/player/player_core.gd" type="Script" id=24] |
| 15 | 17 | [ext_resource path="res://assets/sounds/player/generic_robot_jump.wav" type="AudioStream" id=25] |
| 16 | 18 | [ext_resource path="res://assets/sounds/player/metal_footstep_3.wav" type="AudioStream" id=26] |
| … | … | @@ -70,6 +72,15 @@ attenuation_filter_cutoff_hz = 20500.0 |
| 70 | 72 | stream = ExtResource( 35 ) |
| 71 | 73 | attenuation_filter_cutoff_hz = 20500.0 |
| 72 | 74 | |
| 75 | [node name="Sound_Footstep_Left" type="AudioStreamPlayer3D" parent="Model"] | |
| 76 | stream = ExtResource( 13 ) | |
| 77 | attenuation_filter_cutoff_hz = 20500.0 | |
| 78 | ||
| 79 | [node name="Sound_Footstep_Right" type="AudioStreamPlayer3D" parent="Model"] | |
| 80 | transform = Transform( 0.181818, 0, 0, 0, 0.181818, 0, 0, 0, 0.181818, 0, 0, 0 ) | |
| 81 | stream = ExtResource( 12 ) | |
| 82 | attenuation_filter_cutoff_hz = 20500.0 | |
| 83 | ||
| 73 | 84 | [node name="CollisionShape" type="CollisionShape" parent="."] |
| 74 | 85 | transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 ) |
| 75 | 86 | shape = SubResource( 1 ) |
| … | … | @@ -91,7 +102,7 @@ tree_root = ExtResource( 2 ) |
| 91 | 102 | anim_player = NodePath("../AnimationPlayer") |
| 92 | 103 | active = true |
| 93 | 104 | parameters/Blend3/blend_amount = 0 |
| 94 | parameters/Transition/current = 1 | |
| 105 | parameters/air_transition/current = 1 | |
| 95 | 106 | parameters/falling_scale/scale = 1.0 |
| 96 | 107 | parameters/iwr_blend/blend_amount = -1.0 |
| 97 | 108 | parameters/jump_scale/scale = 2.0 |
| … | … | @@ -42,6 +42,9 @@ stream = ExtResource( 11 ) |
| 42 | 42 | stream = ExtResource( 12 ) |
| 43 | 43 | attenuation_model = 3 |
| 44 | 44 | |
| 45 | [node name="AnimationTree" parent="." index="3"] | |
| 46 | parameters/air_transition/current = 0 | |
| 47 | ||
| 45 | 48 | [node name="Input" type="Node" parent="." index="4"] |
| 46 | 49 | script = ExtResource( 2 ) |
| 47 | 50 |
| … | … | @@ -25,6 +25,16 @@ func _input(_event): |
| 25 | 25 | if Input.is_action_just_pressed("toggleScatters"): |
| 26 | 26 | var mapNode = get_tree().get_current_scene().get_node("Maps").find_node("*", true, false) |
| 27 | 27 | mapNode.toggleScatterAreaVisibility() |
| 28 | ||
| 28 | if Input.is_action_just_pressed("superDEBUG"): | |
| 29 | # OS.create_process("Tumble.exe", []) | |
| 30 | OS.execute("Tumble.exe", ["--main-pack", "Tumble.pck"], false) | |
| 31 | get_tree().quit() | |
| 32 | #var success = ProjectSettings.load_resource_pack("res://Tumble.pck") | |
| 33 | ||
| 34 | #if success: | |
| 35 | # Now one can use the assets as if they had them in the project from the start. | |
| 36 | # var imported_scene = load("res://main.tscn") | |
| 37 | ||
| 38 | ||
| 29 | 39 | func _process(_delta): |
| 30 | 40 | pass |
| … | … | @@ -195,6 +195,11 @@ removeMask={ |
| 195 | 195 | "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":0,"physical_scancode":77,"unicode":0,"echo":false,"script":null) |
| 196 | 196 | ] |
| 197 | 197 | } |
| 198 | superDEBUG={ | |
| 199 | "deadzone": 0.5, | |
| 200 | "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":0,"physical_scancode":80,"unicode":0,"echo":false,"script":null) | |
| 201 | ] | |
| 202 | } | |
| 198 | 203 | |
| 199 | 204 | [rendering] |
| 200 | 205 |