OverviewFilesCommitsIssuesDocsReleasesPeers

godot-tumble_player_demo commits / 577ef7e

Fixed case-sensitive issues
577ef7e4eb53e0013791b14d70069560764c16ff
by Patrick McKeever <patrick.arthur.mckeever@gmail.com> · 2022-01-24T20:04:45.000Z

Changed files (2) +6 -6

player/player.tscn +5 -5
……@@ -17,10 +17,10 @@
1717[ext_resource path="res://player/models/tumble/jump-loop.tres" type="Animation" id=15]
1818[ext_resource path="res://player/models/tumble/strafe-right-loop.tres" type="Animation" id=16]
1919[ext_resource path="res://player/models/tumble/sprint-2.tres" type="Animation" id=17]
20[ext_resource path="res://player/status.gd" type="Script" id=18]
2021[ext_resource path="res://player/models/tumble_asset.tscn" type="PackedScene" id=19]
21[ext_resource path="res://player/Camera.gd" type="Script" id=20]
22[ext_resource path="res://player/camera.gd" type="Script" id=20]
2223[ext_resource path="res://player/player.gd" type="Script" id=21]
23[ext_resource path="res://player/Status.gd" type="Script" id=22]
2424
2525[sub_resource type="CylinderShape" id=24]
2626radius = 0.42385
……@@ -107,7 +107,7 @@ max_space = Vector2( 1.01, 1 )
107107[sub_resource type="AnimationNodeTimeScale" id=23]
108108
109109[sub_resource type="AnimationNodeBlendTree" id=32]
110graph_offset = Vector2( -898.505, 158.25 )
110graph_offset = Vector2( -1095, -3 )
111111nodes/Animation/node = SubResource( 27 )
112112nodes/Animation/position = Vector2( -260, 380 )
113113"nodes/Animation 2/node" = SubResource( 25 )
……@@ -132,7 +132,7 @@ nodes/strafe/node = SubResource( 20 )
132132nodes/strafe/position = Vector2( -760, 60 )
133133nodes/walk_scale/node = SubResource( 23 )
134134nodes/walk_scale/position = Vector2( -640, 360 )
135node_connections = [ "output", 0, "roll", "roll", 0, "aim_transition", "roll", 1, "roll_scale", "run_scale", 0, "Animation 4", "TimeScale 3", 0, "strafe", "aim_transition", 0, "TimeScale 3", "aim_transition", 1, "iwr_blend", "iwr_blend", 0, "Animation 2", "iwr_blend", 1, "walk_scale", "iwr_blend", 2, "run_scale", "roll_scale", 0, "Animation", "walk_scale", 0, "Animation 3" ]
135node_connections = [ "output", 0, "roll", "roll", 0, "aim_transition", "roll", 1, "roll_scale", "walk_scale", 0, "Animation 3", "TimeScale 3", 0, "strafe", "roll_scale", 0, "Animation", "run_scale", 0, "Animation 4", "aim_transition", 0, "TimeScale 3", "aim_transition", 1, "iwr_blend", "iwr_blend", 0, "Animation 2", "iwr_blend", 1, "walk_scale", "iwr_blend", 2, "run_scale" ]
136136
137137[node name="Player" type="KinematicBody"]
138138script = ExtResource( 21 )
……@@ -194,7 +194,7 @@ one_shot = true
194194[node name="Status" type="Control" parent="."]
195195margin_right = 40.0
196196margin_bottom = 40.0
197script = ExtResource( 22 )
197script = ExtResource( 18 )
198198__meta__ = {
199199"_edit_use_anchors_": false
200200}
player/status.gd +1 -1
……@@ -5,7 +5,7 @@ onready var direction = $Control/direction
55onready var velocity = $Control/velocity
66onready var mesh = $Control/mesh
77
8func _physics_process(delta):
8func _physics_process(_delta):
99
1010 var h_rot = get_parent().get_node("Camroot/h").global_transform.basis.get_euler().y
1111