My first 3D game with Godot 4.4
This commit is contained in:
BIN
player/cookie/Cookie.glb
Normal file
BIN
player/cookie/Cookie.glb
Normal file
Binary file not shown.
37
player/cookie/Cookie.glb.import
Normal file
37
player/cookie/Cookie.glb.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dbnc0jij3obmp"
|
||||
path="res://.godot/imported/Cookie.glb-a84f141391d2f606ef2284a88ee937af.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/cookie/Cookie.glb"
|
||||
dest_files=["res://.godot/imported/Cookie.glb-a84f141391d2f606ef2284a88ee937af.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
52
player/cookie/cookie_model.tscn
Normal file
52
player/cookie/cookie_model.tscn
Normal file
@@ -0,0 +1,52 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ci5254r7er0uc"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dbnc0jij3obmp" path="res://player/cookie/Cookie.glb" id="1_nk7nc"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_nsu0p"]
|
||||
resource_name = "idle"
|
||||
length = 3.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Cookie:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 3),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, 0, -0.785398), Vector3(0, 6.28319, -0.785398)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_a8ig3"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Cookie:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, 0, -0.785398)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2flrl"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_a8ig3"),
|
||||
&"idle": SubResource("Animation_nsu0p")
|
||||
}
|
||||
|
||||
[node name="cookie_model" type="Node3D"]
|
||||
|
||||
[node name="Cookie" parent="." instance=ExtResource("1_nk7nc")]
|
||||
transform = Transform3D(0.0212132, 0.0212132, 0, -0.0212132, 0.0212132, 0, 0, 0, 0.03, 0, 0.6, 0)
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_2flrl")
|
||||
}
|
||||
autoplay = "idle"
|
||||
Reference in New Issue
Block a user