Files
SemesterGameJam2022/Nodes/Player.tscn
2022-12-10 16:10:38 +01:00

47 lines
1.6 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://vwjd5od63jgh"]
[ext_resource type="Script" path="res://scripts/Player.gd" id="1_dta8q"]
[ext_resource type="Texture2D" uid="uid://du7d6fk4dabd7" path="res://cVOQuID.png" id="2_pd1wl"]
[ext_resource type="Texture2D" uid="uid://eg0k8esm2scp" path="res://p5lFkJY.png" id="3_hxw38"]
[ext_resource type="Texture2D" uid="uid://dsphpbpt27t1i" path="res://a3TCqhg.png" id="4_6puyx"]
[sub_resource type="SpriteFrames" id="SpriteFrames_liykb"]
animations = [{
"frames": [ExtResource("4_6puyx")],
"loop": true,
"name": &"idle",
"speed": 1.0
}, {
"frames": [ExtResource("3_hxw38"), ExtResource("2_pd1wl")],
"loop": true,
"name": &"walking",
"speed": 2.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_h8ivv"]
radius = 0.494048
[sub_resource type="CylinderShape3D" id="CylinderShape3D_8lrgm"]
radius = 0.808068
[node name="CharacterBody3D" type="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
script = ExtResource("1_dta8q")
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
transform = Transform3D(0.3, 0, 0, 0, -1.31134e-08, 0.3, 0, -0.3, -1.31134e-08, 0, -2, 0)
frames = SubResource("SpriteFrames_liykb")
animation = &"idle"
speed_scale = 2.0
playing = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1.57581, 0, 0, 0, 2.16936, 0, 0, 0, 1.5749, 0, 0, 0)
shape = SubResource("CylinderShape3D_h8ivv")
[node name="HitBox" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitBox"]
transform = Transform3D(2.74062, 0, 0, 0, 2.24144, 0, 0, 0, 2.70992, 0, 0, 0)
shape = SubResource("CylinderShape3D_8lrgm")