28 lines
813 B
Plaintext
28 lines
813 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://Player/Player.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CylinderShape" id=1]
|
|
|
|
[node name="Spatial" type="KinematicBody"]
|
|
script = ExtResource( 1 )
|
|
body_nodepath = NodePath("Body")
|
|
animation_nodepath = NodePath("WalkAnimationPlayer")
|
|
ui_nodepath = NodePath("HUD")
|
|
camera_nodepath = NodePath("Camera")
|
|
|
|
[node name="Body" type="Spatial" parent="."]
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
|
|
[node name="Collider" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="WalkAnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
[node name="HUD" type="Control" parent="."]
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|