grunk/levels/grunkbeast_test/grunkbeast_test.tscn

68 lines
2.5 KiB
Plaintext
Raw Normal View History

2025-03-14 11:46:49 -06:00
[gd_scene load_steps=11 format=3 uid="uid://cbxlfnlmgdvsq"]
[ext_resource type="PackedScene" uid="uid://d2664rpg4losx" path="res://src/world/grunk_beast/grunk_beast.tscn" id="1_6yv42"]
[ext_resource type="Script" uid="uid://bukihqt1lybnx" path="res://src/util/frame_skipper.gd" id="1_eco5q"]
2025-03-14 11:46:49 -06:00
[ext_resource type="Script" uid="uid://cpt8dy0csa3eu" path="res://levels/grunkbeast_test/fixed_camera.gd" id="2_77sam"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_goufh"]
[sub_resource type="Sky" id="Sky_pka60"]
sky_material = SubResource("ProceduralSkyMaterial_goufh")
[sub_resource type="Environment" id="Environment_bg05n"]
background_mode = 2
sky = SubResource("Sky_pka60")
[sub_resource type="PlaneMesh" id="PlaneMesh_mn2wa"]
size = Vector2(50, 50)
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_mn2wa"]
[sub_resource type="CylinderMesh" id="CylinderMesh_4n07c"]
top_radius = 2.0
bottom_radius = 2.0
height = 1.0
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6yv42"]
height = 1.0
radius = 2.0
[node name="GrunkbeastTest" type="Node3D"]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.866025, -0.156955, -0.474726, 0.5, 0.271854, 0.82225, 0, -0.949453, 0.31391, 0, 0, 0)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_bg05n")
[node name="WorldFloor" type="StaticBody3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="WorldFloor"]
mesh = SubResource("PlaneMesh_mn2wa")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldFloor"]
shape = SubResource("WorldBoundaryShape3D_mn2wa")
[node name="Cylinder" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5, 1, -4.5)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Cylinder"]
mesh = SubResource("CylinderMesh_4n07c")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cylinder"]
shape = SubResource("CylinderShape3D_6yv42")
[node name="FrameSkipper" type="Node" parent="."]
script = ExtResource("1_eco5q")
frame_skip = 3
[node name="GrunkBeast" parent="FrameSkipper" instance=ExtResource("1_6yv42")]
move_speed = 8.0
step_time = 0.06
[node name="Camera3D" type="Camera3D" parent="." node_paths=PackedStringArray("target")]
transform = Transform3D(0.252101, -0.522855, 0.81429, 0, 0.841469, 0.540306, -0.967701, -0.136212, 0.212135, 6.63551, 7.43415, 1.1904)
script = ExtResource("2_77sam")
target = NodePath("../FrameSkipper/GrunkBeast")