DashBoomColorClash/scenes/World.tscn

142 lines
6.3 KiB
Plaintext

[gd_scene load_steps=14 format=3 uid="uid://b1nm5h3yccr16"]
[ext_resource type="Script" path="res://scenes/World.gd" id="1_gtcjp"]
[ext_resource type="PackedScene" uid="uid://bfyjtfdko3l7o" path="res://entities/Player.tscn" id="2_a343a"]
[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" path="res://scenes/PixelCountComputeShader.tscn" id="6_75vqy"]
[ext_resource type="PackedScene" uid="uid://7a2ma10hq0qa" path="res://scenes/PlatformA.tscn" id="6_83plb"]
[ext_resource type="PackedScene" uid="uid://bnmtyc1kkt6ku" path="res://scenes/PlatformB.tscn" id="7_cld3m"]
[ext_resource type="PackedScene" uid="uid://cc521i07ajufm" path="res://entities/SpawnPoint.tscn" id="8_ykvyf"]
[ext_resource type="PackedScene" uid="uid://0lrpepyejfxg" path="res://scenes/TestObstacles.tscn" id="9_eml1e"]
[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="Player1" parent="." instance=ExtResource("2_a343a")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.121184, 0)
color = Color(1, 0, 0, 1)
coloring_sprite_path = NodePath("../WorldColoringViewport/Player1Sprite")
coloring_bomb_sprite_path = NodePath("../WorldColoringViewport/Player1BombSprite")
[node name="Player2" parent="." instance=ExtResource("2_a343a")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, -0.121184, 0)
color = Color(0, 0, 1, 1)
move_right_action = "move_right_p2"
move_left_action = "move_left_p2"
move_down_action = "move_down_p2"
move_up_action = "move_up_p2"
dash_action = "dash_p2"
bomb_action = "bomb_p2"
coloring_sprite_path = NodePath("../WorldColoringViewport/Player2Sprite")
coloring_bomb_sprite_path = NodePath("../WorldColoringViewport/Player2BombSprite")
[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="Level" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.76534, 0, 5.93242)
[node name="Platforms" parent="Level" instance=ExtResource("6_83plb")]
[node name="Platforms2" parent="Level" instance=ExtResource("6_83plb")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.68666, 0, 5.21494)
[node name="Platforms3" parent="Level" instance=ExtResource("6_83plb")]
transform = Transform3D(0.768741, 0, -0.63956, 0, 1, 0, 0.63956, 0, 0.768741, 8.83345, 0, 2.90911)
[node name="Platforms4" parent="Level" instance=ExtResource("6_83plb")]
transform = Transform3D(-0.99988, 0, -0.0155154, 0, 1, 0, 0.0155154, 0, -0.99988, 13.9505, -4.76837e-07, -0.629952)
[node name="Platforms5" parent="Level" instance=ExtResource("6_83plb")]
transform = Transform3D(-0.99988, 0, -0.0155154, 0, 1, 0, 0.0155154, 0, -0.99988, 6.40327, 0, -5.73714)
[node name="Platforms6" parent="Level" instance=ExtResource("6_83plb")]
transform = Transform3D(-0.91991, 0, -0.392128, 0, 1, 0, 0.392128, 0, -0.91991, 17.1955, -4.76837e-07, -5.8158)
[node name="Platforms7" parent="Level" instance=ExtResource("6_83plb")]
transform = Transform3D(-0.91991, 0, -0.392128, 0, 1, 0, 0.392128, 0, -0.91991, 8.27811, 0, -7.69307)
[node name="Platforms8" parent="Level" instance=ExtResource("7_cld3m")]
transform = Transform3D(0.769634, 0, 0.638486, 0, 1, 0, -0.638486, 0, 0.769634, -1.18219, 0, -6.89363)
[node name="Platforms9" parent="Level" instance=ExtResource("7_cld3m")]
transform = Transform3D(0.330663, 0, -0.943749, 0, 1, 0, 0.943749, 0, 0.330663, 3.64812, -9.53674e-07, -15.7327)
[node name="Platforms10" parent="Level" instance=ExtResource("6_83plb")]
transform = Transform3D(-0.851736, 0, 0.523971, 0, 1, 0, -0.523971, 0, -0.851736, 15.3333, 0, -12.1468)
[node name="SpawnPointPlayer1" parent="Level" instance=ExtResource("8_ykvyf")]
[node name="SpawnPointPlayer2" parent="Level" instance=ExtResource("8_ykvyf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.48618, 0, -11.2001)
player_index = 1
[node name="SpawnPointPlayer3" parent="Level" instance=ExtResource("8_ykvyf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.55561, 0, 3.26255)
[node name="Obstacles" parent="Level" instance=ExtResource("9_eml1e")]