DashBoomColorClash/scenes/World.tscn

87 lines
3.3 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://b1nm5h3yccr16"]
[ext_resource type="Script" path="res://scenes/World.gd" id="1_gtcjp"]
[ext_resource type="AudioStream" uid="uid://5da1smwywxdk" path="res://assets/music/Run-Amok(chosic.com).mp3" id="3_owwdt"]
[ext_resource type="Texture2D" uid="uid://bnsrnuuq28p4d" path="res://assets/textures/player_draw_mask.png" id="4_dipd5"]
[ext_resource type="Texture2D" uid="uid://vcebfpqo2ko7" path="res://assets/textures/player_bomb_mask.png" id="5_17c1g"]
[ext_resource type="PackedScene" uid="uid://b1twlocviffui" path="res://levels/BridgedPlatforms.tscn" id="6_14y2b"]
[ext_resource type="PackedScene" path="res://scenes/PixelCountComputeShader.tscn" id="6_75vqy"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_5gauv"]
sky_energy_multiplier = 5.0
[sub_resource type="Sky" id="Sky_qfldx"]
sky_material = SubResource("ProceduralSkyMaterial_5gauv")
[sub_resource type="Environment" id="Environment_f3jci"]
background_mode = 2
sky = SubResource("Sky_qfldx")
ambient_light_source = 3
ambient_light_energy = 2.64
[sub_resource type="World3D" id="World3D_s7kgt"]
[node name="World" type="Node3D"]
script = ExtResource("1_gtcjp")
[node name="ScoreUpdateTimer" type="Timer" parent="."]
wait_time = 0.33
autostart = true
[node name="PixelCountComputeShader" parent="." instance=ExtResource("6_75vqy")]
paint_viewport_path = NodePath("../WorldColoringViewport")
[node name="MusicAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_owwdt")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_f3jci")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-4.37114e-08, -0.528438, 0.848972, 0, 0.848972, 0.528438, -1, 2.30988e-08, -3.71097e-08, 0.936448, 2.01321, 1.19116)
shadow_enabled = true
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.305147, 0.952305, 0, -0.952305, 0.305147, 0, 10, 3.10854)
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(20, 0, 0, 0, -8.74228e-07, 50, 0, -20, -2.18557e-06, 0, 0, 0)
modulate = Color(1, 1, 1, 0.32549)
[node name="WorldColoringViewport" type="SubViewport" parent="."]
own_world_3d = true
world_3d = SubResource("World3D_s7kgt")
transparent_bg = true
handle_input_locally = false
size = Vector2i(1024, 1024)
render_target_clear_mode = 1
render_target_update_mode = 4
[node name="Player1Sprite" type="Sprite2D" parent="WorldColoringViewport"]
modulate = Color(0.117647, 0.564706, 1, 1)
position = Vector2(500, 500)
texture = ExtResource("4_dipd5")
[node name="Player1BombSprite" type="Sprite2D" parent="WorldColoringViewport"]
visible = false
modulate = Color(0.117647, 0.564706, 1, 1)
position = Vector2(500, 500)
texture = ExtResource("5_17c1g")
[node name="Player2Sprite" type="Sprite2D" parent="WorldColoringViewport"]
modulate = Color(0.878431, 0, 0.980392, 1)
position = Vector2(530, 500)
texture = ExtResource("4_dipd5")
[node name="Player2BombSprite" type="Sprite2D" parent="WorldColoringViewport"]
visible = false
modulate = Color(0.878431, 0, 0.980392, 1)
position = Vector2(530, 500)
texture = ExtResource("5_17c1g")
[node name="Players" type="Node3D" parent="."]
[node name="Level" type="Node3D" parent="."]
[node name="Level" parent="Level" instance=ExtResource("6_14y2b")]