OverviewFilesCommitsIssuesDocsReleasesPeers

godot-witchy_world_demo commits / 96a6ea8

"I don't know, who can say"
96a6ea83e8691464f30d6bc1a928259a64970d1d
by Dresk Spidflisk <dreskspidflisk@gmail.com> · 2022-04-26T17:52:06.000Z

Changed files (7) +64 -4

assets/models/night_ghost/night_ghost.scn +0 -0
(no content changes — binary or rename)
assets/models/night_ghost/night_ghost/running-loop.tres +32 -1
……@@ -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]
25
36[resource]
47resource_name = "running-loop"
……@@ -228,3 +231,31 @@ tracks/31/loop_wrap = true
228231tracks/31/imported = true
229232tracks/31/enabled = true
230233tracks/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 )
234tracks/32/type = "audio"
235tracks/32/path = NodePath("Sound_Footstep_Left")
236tracks/32/interp = 1
237tracks/32/loop_wrap = true
238tracks/32/imported = false
239tracks/32/enabled = true
240tracks/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}
248tracks/33/type = "audio"
249tracks/33/path = NodePath("Sound_Footstep_Right")
250tracks/33/interp = 1
251tracks/33/loop_wrap = true
252tracks/33/imported = false
253tracks/33/enabled = true
254tracks/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}
assets/models/night_ghost/night_ghost_anim_tree.res +0 -0
(no content changes — binary or rename)
game/player/player_core.tscn +13 -2
……@@ -1,4 +1,4 @@
1[gd_scene load_steps=24 format=2]
1[gd_scene load_steps=26 format=2]
22
33[ext_resource path="res://assets/models/night_ghost/night_ghost.scn" type="PackedScene" id=1]
44[ext_resource path="res://assets/models/night_ghost/night_ghost_anim_tree.res" type="AnimationNodeBlendTree" id=2]
……@@ -11,6 +11,8 @@
1111[ext_resource path="res://assets/models/night_ghost/night_ghost/walk_forward-loop.tres" type="Animation" id=9]
1212[ext_resource path="res://assets/models/night_ghost/night_ghost/run-loop.tres" type="Animation" id=10]
1313[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]
1416[ext_resource path="res://game/player/player_core.gd" type="Script" id=24]
1517[ext_resource path="res://assets/sounds/player/generic_robot_jump.wav" type="AudioStream" id=25]
1618[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
7072stream = ExtResource( 35 )
7173attenuation_filter_cutoff_hz = 20500.0
7274
75[node name="Sound_Footstep_Left" type="AudioStreamPlayer3D" parent="Model"]
76stream = ExtResource( 13 )
77attenuation_filter_cutoff_hz = 20500.0
78
79[node name="Sound_Footstep_Right" type="AudioStreamPlayer3D" parent="Model"]
80transform = Transform( 0.181818, 0, 0, 0, 0.181818, 0, 0, 0, 0.181818, 0, 0, 0 )
81stream = ExtResource( 12 )
82attenuation_filter_cutoff_hz = 20500.0
83
7384[node name="CollisionShape" type="CollisionShape" parent="."]
7485transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
7586shape = SubResource( 1 )
……@@ -91,7 +102,7 @@ tree_root = ExtResource( 2 )
91102anim_player = NodePath("../AnimationPlayer")
92103active = true
93104parameters/Blend3/blend_amount = 0
94parameters/Transition/current = 1
105parameters/air_transition/current = 1
95106parameters/falling_scale/scale = 1.0
96107parameters/iwr_blend/blend_amount = -1.0
97108parameters/jump_scale/scale = 2.0
game/player/player_core_local.tscn +3 -0
……@@ -42,6 +42,9 @@ stream = ExtResource( 11 )
4242stream = ExtResource( 12 )
4343attenuation_model = 3
4444
45[node name="AnimationTree" parent="." index="3"]
46parameters/air_transition/current = 0
47
4548[node name="Input" type="Node" parent="." index="4"]
4649script = ExtResource( 2 )
4750
game/player/player_core_local_input_special.gd +11 -1
……@@ -25,6 +25,16 @@ func _input(_event):
2525 if Input.is_action_just_pressed("toggleScatters"):
2626 var mapNode = get_tree().get_current_scene().get_node("Maps").find_node("*", true, false)
2727 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
2939func _process(_delta):
3040 pass
project.godot +5 -0
……@@ -195,6 +195,11 @@ removeMask={
195195"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)
196196 ]
197197}
198superDEBUG={
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}
198203
199204[rendering]
200205