29 lines
983 B
Text
29 lines
983 B
Text
[gd_scene load_steps=4 format=3 uid="uid://bquyryhfcp8y7"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://befg6ydw61eov" path="res://assets/textures/sg_idle_color.png" id="1_cqmt1"]
|
|
[ext_resource type="Script" uid="uid://daswmtow3mr37" path="res://objects/player/player.gd" id="1_g7ett"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ssrue"]
|
|
height = 1.0
|
|
radius = 0.25
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
script = ExtResource("1_g7ett")
|
|
walk_speed = 6.0
|
|
gravity = 15.0
|
|
jump_force = 8.0
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="."]
|
|
offset = Vector2(0, 9)
|
|
flip_h = true
|
|
pixel_size = 0.0556
|
|
axis = 0
|
|
texture_filter = 0
|
|
texture = ExtResource("1_cqmt1")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
|
shape = SubResource("CylinderShape3D_ssrue")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5, 1.5, 0)
|