first_anniversary_godot_jam/3d_platforma/Level.tscn

188 lines
5.5 KiB
Plaintext
Raw Normal View History

2024-04-20 15:13:54 +00:00
[gd_scene load_steps=16 format=2]
2024-04-20 12:31:34 +00:00
2024-04-20 15:13:54 +00:00
[ext_resource path="res://3d_platforma/Player.tscn" type="PackedScene" id=1]
2024-04-20 12:31:34 +00:00
[ext_resource path="res://3d_platforma/golden_bay_512.hdr" type="Texture" id=2]
2024-04-20 15:17:19 +00:00
[ext_resource path="res://scripts/Library/Actions/Snare Admiral 2.wav" type="AudioStream" id=3]
2024-04-20 12:31:34 +00:00
[ext_resource path="res://3d_platforma/sqare_norm.png" type="Texture" id=4]
[ext_resource path="res://3d_platforma/texture_08.png" type="Texture" id=5]
2024-04-20 15:17:19 +00:00
[ext_resource path="res://scripts/Library/Actions/TriggerOnReady.gd" type="Script" id=6]
[ext_resource path="res://scripts/Library/Actions/ActionList.gd" type="Script" id=7]
[ext_resource path="res://scripts/Library/Actions/SFX BlackTiger.wav" type="AudioStream" id=8]
2024-04-20 12:31:34 +00:00
[sub_resource type="CubeMesh" id=1]
[sub_resource type="MultiMesh" id=2]
mesh = SubResource( 1 )
[sub_resource type="SpatialMaterial" id=36]
resource_name = "CheckerGrid"
albedo_color = Color( 0.85, 0.85, 0.85, 1 )
albedo_texture = ExtResource( 5 )
roughness = 0.85
uv1_triplanar = true
[sub_resource type="Animation" id=37]
resource_name = "move"
length = 30.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:translation:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 10, 30 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 10.0, 0.0 ]
}
[sub_resource type="BoxShape" id=20]
[sub_resource type="CubeMesh" id=21]
[sub_resource type="OpenSimplexNoise" id=28]
octaves = 2
period = 0.8
[sub_resource type="NoiseTexture" id=29]
flags = 3
width = 32
height = 32
noise = SubResource( 28 )
[sub_resource type="SpatialMaterial" id=22]
albedo_color = Color( 0.603922, 0.0235294, 0.619608, 1 )
roughness = 0.25
roughness_texture = SubResource( 29 )
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 4 )
uv1_scale = Vector3( 3, 3, 3 )
uv1_triplanar = true
[sub_resource type="PanoramaSky" id=23]
panorama = ExtResource( 2 )
[sub_resource type="Environment" id=24]
resource_name = "black_env"
background_mode = 2
background_sky = SubResource( 23 )
background_sky_custom_fov = 50.0
background_color = Color( 0.137255, 0.137255, 0.137255, 1 )
background_energy = 2.0
ambient_light_color = Color( 0.501961, 0.501961, 0.501961, 1 )
ambient_light_energy = 0.45
ambient_light_sky_contribution = 0.6
fog_color = Color( 0.2304, 0.273707, 0.32, 1 )
fog_sun_amount = 0.25
fog_depth_begin = 5.0
fog_depth_end = 20.0
fog_transmit_enabled = true
fog_height_enabled = true
dof_blur_far_distance = 20.0
dof_blur_far_quality = 2
glow_intensity = 2.0
glow_bloom = 0.05
glow_blend_mode = 1
glow_hdr_scale = 4.0
[node name="Game" type="Spatial"]
[node name="MultiMeshInstance" type="MultiMeshInstance" parent="."]
multimesh = SubResource( 2 )
2024-04-20 15:13:54 +00:00
[node name="Player" parent="." instance=ExtResource( 1 )]
2024-04-20 12:31:34 +00:00
[node name="Platforms" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0 )
[node name="start" type="CSGBox" parent="Platforms"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
use_collision = true
width = 10.0
height = 0.2
depth = 10.0
material = SubResource( 36 )
[node name="thin" type="CSGBox" parent="Platforms"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, -12 )
use_collision = true
width = 4.0
height = 0.2
depth = 10.0
material = SubResource( 36 )
[node name="ramp" type="CSGBox" parent="Platforms"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.4, -22 )
use_collision = true
width = 4.0
height = 1.0
depth = 10.0
material = SubResource( 36 )
[node name="lift" type="Spatial" parent="Platforms"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.4, -30 )
[node name="platform" type="CSGBox" parent="Platforms/lift"]
use_collision = true
width = 4.0
height = 1.0
depth = 4.0
material = SubResource( 36 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Platforms/lift/platform"]
autoplay = "move"
anims/move = SubResource( 37 )
[node name="lego" type="StaticBody" parent="Platforms"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5, -1.9, -8 )
__meta__ = {
"_edit_group_": true
}
[node name="CollisionShape" type="CollisionShape" parent="Platforms/lego"]
shape = SubResource( 20 )
[node name="MeshInstance" type="MeshInstance" parent="Platforms/lego"]
mesh = SubResource( 21 )
material/0 = SubResource( 22 )
[node name="CSGPolygon" type="CSGPolygon" parent="Platforms"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 1, -12 )
use_collision = true
2024-04-20 15:13:54 +00:00
polygon = PoolVector2Array( 3, -4, 3, 1, 4.15364, 1.29316, 4, -4 )
2024-04-20 12:31:34 +00:00
mode = 1
spin_degrees = 360.0
spin_sides = 16
material = SubResource( 36 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 5, 0 )
light_energy = 0.65
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 24 )
2024-04-20 14:16:44 +00:00
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 3 )
[node name="AudioStreamPlayer3D2" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 8 )
[node name="TriggerOnReady" type="Node" parent="."]
script = ExtResource( 6 )
action = NodePath("../ActionList")
[node name="ActionList" type="Node" parent="."]
script = ExtResource( 7 )
[node name="PlaySound" type="Node" parent="ActionList"]
script = ExtResource( 1 )
audioStreamPlayer = NodePath("../../AudioStreamPlayer3D")
[node name="PlaySound2" type="Node" parent="ActionList"]
script = ExtResource( 1 )
2024-04-20 14:16:44 +00:00
audioStreamPlayer = NodePath("../../AudioStreamPlayer3D2")