FluffyFloofGame/Prototypes/tiredbun-prototype-2/test_scene_3d.tscn

149 lines
5.5 KiB
Plaintext

[gd_scene load_steps=21 format=3 uid="uid://c31gp7om5lww4"]
[ext_resource type="Texture2D" uid="uid://b0bmwarkx2fxb" path="res://Prototypes/tiredbun-prototype-1/mpv-shot0001.jpg" id="1_fbk20"]
[ext_resource type="Script" path="res://Prototypes/tiredbun-prototype-2/camera-test.gd" id="2_4b25q"]
[ext_resource type="Script" path="res://Prototypes/tiredbun-prototype-2/Player3D.gd" id="3_j7jmd"]
[ext_resource type="Texture2D" uid="uid://oblvfn4a7jgr" path="res://Prototypes/tiredbun-prototype-1/player/down-stay.png" id="4_lqg8o"]
[ext_resource type="Texture2D" uid="uid://bn3ak3pxua6kr" path="res://Prototypes/tiredbun-prototype-1/player/down-go.png" id="5_78ws4"]
[ext_resource type="Texture2D" uid="uid://ryqgr3iw2cna" path="res://Prototypes/tiredbun-prototype-1/player/lef-stay.png" id="6_ki7wl"]
[ext_resource type="Texture2D" uid="uid://cr4m035rj17ob" path="res://Prototypes/tiredbun-prototype-1/player/lef-go.png" id="7_c0fx0"]
[ext_resource type="Texture2D" uid="uid://d11jduno6wolt" path="res://Prototypes/tiredbun-prototype-1/player/right-stay.png" id="8_hmhe2"]
[ext_resource type="Texture2D" uid="uid://bp5p8knf7n06i" path="res://Prototypes/tiredbun-prototype-1/player/right-go.png" id="9_ugr25"]
[ext_resource type="Texture2D" uid="uid://jduoxes2e4uh" path="res://Prototypes/tiredbun-prototype-1/player/up-stay.png" id="10_gmxvm"]
[ext_resource type="Texture2D" uid="uid://bup48pdr00h7a" path="res://Prototypes/tiredbun-prototype-1/player/up-go.png" id="11_vwm5d"]
[ext_resource type="Texture2D" uid="uid://dur4276gi0rkm" path="res://Prototypes/tiredbun-prototype-2/randomBush/1.png" id="12_7gptv"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tw6je"]
albedo_texture = ExtResource("1_fbk20")
[sub_resource type="PlaneMesh" id="PlaneMesh_tet4n"]
material = SubResource("StandardMaterial3D_tw6je")
size = Vector2(10, 10)
[sub_resource type="BoxShape3D" id="BoxShape3D_3q2fk"]
size = Vector3(10.084, 1, 9.89738)
[sub_resource type="Environment" id="Environment_vvato"]
background_mode = 1
background_color = Color(0.729412, 0.729412, 0.729412, 1)
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_energy = 2.85
reflected_light_source = 1
[sub_resource type="SphereShape3D" id="SphereShape3D_1tnpf"]
radius = 0.205485
[sub_resource type="SpriteFrames" id="SpriteFrames_ep00u"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_lqg8o")
}, {
"duration": 1.0,
"texture": ExtResource("5_78ws4")
}],
"loop": true,
"name": &"down-go",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("6_ki7wl")
}, {
"duration": 1.0,
"texture": ExtResource("7_c0fx0")
}],
"loop": true,
"name": &"left-go",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("8_hmhe2")
}, {
"duration": 1.0,
"texture": ExtResource("9_ugr25")
}],
"loop": true,
"name": &"right-go",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("10_gmxvm")
}, {
"duration": 1.0,
"texture": ExtResource("11_vwm5d")
}],
"loop": true,
"name": &"up-go",
"speed": 5.0
}]
[sub_resource type="BoxShape3D" id="BoxShape3D_cns20"]
size = Vector3(0.977401, 0.5, 0.16768)
[sub_resource type="SpriteFrames" id="SpriteFrames_ev0qv"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("12_7gptv")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="test-scene3d" type="Node3D"]
[node name="Floor" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_tet4n")
[node name="StaticBody3D" type="StaticBody3D" parent="Floor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor/StaticBody3D"]
shape = SubResource("BoxShape3D_3q2fk")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_vvato")
[node name="Player" type="Node3D" parent="." node_paths=PackedStringArray("AnimatedSprite", "Camera", "CharacterBody")]
script = ExtResource("2_4b25q")
AnimatedSprite = NodePath("CharacterBody3D/PlayerSprite")
Camera = NodePath("CharacterBody3D/Camera3D")
CharacterBody = NodePath("CharacterBody3D")
[node name="CharacterBody3D" type="CharacterBody3D" parent="Player" node_paths=PackedStringArray("PlayerSprite")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
script = ExtResource("3_j7jmd")
PlayerSprite = NodePath("PlayerSprite")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player/CharacterBody3D"]
shape = SubResource("SphereShape3D_1tnpf")
[node name="Camera3D" type="Camera3D" parent="Player/CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 0.897405, 0.441208, 0, -0.441208, 0.897405, 0, 1.47635, 2.63733)
[node name="PlayerSprite" type="AnimatedSprite2D" parent="Player/CharacterBody3D"]
position = Vector2(177, 68)
sprite_frames = SubResource("SpriteFrames_ep00u")
animation = &"down-go"
[node name="Bush" type="Node3D" parent="." node_paths=PackedStringArray("AnimatedSprite", "Camera", "CharacterBody")]
script = ExtResource("2_4b25q")
AnimatedSprite = NodePath("AnimatedSprite2D")
Camera = NodePath("../Player/CharacterBody3D/Camera3D")
CharacterBody = NodePath("StaticBody3D")
[node name="StaticBody3D" type="StaticBody3D" parent="Bush"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.85931, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bush/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.220076)
shape = SubResource("BoxShape3D_cns20")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Bush"]
position = Vector2(299, 64)
sprite_frames = SubResource("SpriteFrames_ev0qv")