DashBoomColorClash/scenes/World.tscn

88 lines
3.4 KiB
Plaintext
Raw Normal View History

2024-01-28 13:19:08 +01:00
[gd_scene load_steps=11 format=3 uid="uid://b1nm5h3yccr16"]
2024-01-26 21:07:19 +01:00
[ext_resource type="Script" path="res://scenes/World.gd" id="1_gtcjp"]
2024-01-28 12:58:17 +01:00
[ext_resource type="AudioStream" uid="uid://5da1smwywxdk" path="res://assets/music/Run-Amok(chosic.com).mp3" id="3_owwdt"]
2024-01-27 00:05:04 +01:00
[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"]
2024-01-27 18:03:18 +01:00
[ext_resource type="PackedScene" path="res://scenes/PixelCountComputeShader.tscn" id="6_75vqy"]
2024-01-28 14:35:49 +01:00
[ext_resource type="PackedScene" uid="uid://87rik2jwk38y" path="res://levels/Platforms.tscn" id="6_n6e0v"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_5gauv"]
sky_energy_multiplier = 5.0
[sub_resource type="Sky" id="Sky_qfldx"]
sky_material = SubResource("ProceduralSkyMaterial_5gauv")
2024-01-26 21:07:19 +01:00
[sub_resource type="Environment" id="Environment_f3jci"]
background_mode = 2
sky = SubResource("Sky_qfldx")
2024-01-26 21:07:19 +01:00
ambient_light_source = 3
ambient_light_energy = 2.64
2024-01-27 00:05:04 +01:00
[sub_resource type="World3D" id="World3D_s7kgt"]
2024-01-26 21:07:19 +01:00
2024-01-27 00:05:04 +01:00
[node name="World" type="Node3D"]
script = ExtResource("1_gtcjp")
2024-01-26 21:07:19 +01:00
[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")
2024-01-28 12:58:17 +01:00
[node name="MusicAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_owwdt")
2024-01-26 21:07:19 +01:00
[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)
2024-01-27 00:05:04 +01:00
[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)
2024-01-27 00:05:04 +01:00
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"]
2024-01-27 01:41:29 +01:00
visible = false
modulate = Color(0.117647, 0.564706, 1, 1)
position = Vector2(500, 500)
2024-01-27 01:41:29 +01:00
texture = ExtResource("5_17c1g")
[node name="Player2Sprite" type="Sprite2D" parent="WorldColoringViewport"]
modulate = Color(0.878431, 0, 0.980392, 1)
position = Vector2(530, 500)
2024-01-27 01:41:29 +01:00
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")
2024-01-28 13:19:08 +01:00
[node name="Players" type="Node3D" parent="."]
2024-01-27 18:03:18 +01:00
2024-01-28 13:19:08 +01:00
[node name="Level" type="Node3D" parent="."]
2024-01-28 14:35:49 +01:00
[node name="Platforms" parent="Level" instance=ExtResource("6_n6e0v")]
transform = Transform3D(1, 3.19189e-15, 0, -2.16493e-15, 1, -9.99201e-16, 0, -1.33227e-15, 1, -6.76534, 0, 5.93242)