Graphics pass
This commit is contained in:
parent
51af0ea751
commit
fb47693a99
42 changed files with 821 additions and 95 deletions
|
|
@ -1,18 +1,16 @@
|
|||
[gd_scene load_steps=18 format=3 uid="uid://mk5n0hrwk4yi"]
|
||||
[gd_scene load_steps=16 format=3 uid="uid://mk5n0hrwk4yi"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/scripts/test_level.gd" id="1_lgt1m"]
|
||||
[ext_resource type="PackedScene" uid="uid://dyu4mucawjlu6" path="res://entities/Beehive.tscn" id="2_5ueyo"]
|
||||
[ext_resource type="Script" path="res://scenes/scripts/drone_manager.gd" id="2_474nc"]
|
||||
[ext_resource type="Script" path="res://scenes/scripts/bee_spawner.gd" id="2_qqqq4"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1uawawum16b0" path="res://scenes/elements/background.tscn" id="2_w0b0n"]
|
||||
[ext_resource type="Script" path="res://scenes/scripts/pesticide.gd" id="3_gg2a6"]
|
||||
[ext_resource type="Script" path="res://scenes/scripts/drone_controls.gd" id="3_rqkyv"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgwtb4gxypaj1" path="res://resources/textures/tree.png" id="3_hwsnj"]
|
||||
[ext_resource type="PackedScene" uid="uid://cfhoi2rqxa3up" path="res://entities/Dog.tscn" id="4_xlyy4"]
|
||||
[ext_resource type="Theme" uid="uid://cpkvret5gi66h" path="res://resources/theme/game_theme.tres" id="6_1kbwe"]
|
||||
[ext_resource type="AudioStream" uid="uid://jdk681m35wt4" path="res://resources/SFX/bee.ogg" id="6_gqjhy"]
|
||||
[ext_resource type="PackedScene" uid="uid://b7eeptlk47ymd" path="res://ui/UiComponent.tscn" id="6_xuemm"]
|
||||
[ext_resource type="AudioStream" uid="uid://dpgl5huwc4yl8" path="res://resources/SFX/mixkit-big-bee-hard-flying-sound-42.wav" id="7_y3gwr"]
|
||||
[ext_resource type="PackedScene" uid="uid://cwutwy11pityw" path="res://ui/LevelCompleteComponent.tscn" id="8_4k5cm"]
|
||||
[ext_resource type="PackedScene" uid="uid://ddf2mkkw1trkj" path="res://scenes/elements/bee_spawner.tscn" id="8_admu4"]
|
||||
[ext_resource type="Script" path="res://ui/scripts/level_complete_component.gd" id="9_qrlto"]
|
||||
[ext_resource type="PackedScene" uid="uid://ct3c16xm33r2a" path="res://scenes/elements/drone_manager.tscn" id="10_rmaj1"]
|
||||
[ext_resource type="AudioStream" uid="uid://bgcbd6xf0lyrr" path="res://resources/music/bee_background.ogg" id="12_5cn5j"]
|
||||
[ext_resource type="AudioStream" uid="uid://dvsjpsh5dyixq" path="res://resources/SFX/mixkit-european-spring-forest-ambience-1219.wav" id="13_nttuq"]
|
||||
|
||||
|
|
@ -25,10 +23,18 @@ radius = 252.15
|
|||
[node name="TestLevel" type="Node2D"]
|
||||
script = ExtResource("1_lgt1m")
|
||||
|
||||
[node name="Background" type="Polygon2D" parent="."]
|
||||
position = Vector2(52, -26)
|
||||
color = Color(0.329412, 0.494118, 0.392157, 1)
|
||||
polygon = PackedVector2Array(-141, -86, 1456, -97, 1337, 753, -193, 771)
|
||||
[node name="Background" parent="." instance=ExtResource("2_w0b0n")]
|
||||
|
||||
[node name="Tree" type="Sprite2D" parent="."]
|
||||
position = Vector2(1073, 529)
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("3_hwsnj")
|
||||
|
||||
[node name="Tree2" type="Sprite2D" parent="Tree"]
|
||||
self_modulate = Color(0, 0, 0, 0.0784314)
|
||||
show_behind_parent = true
|
||||
position = Vector2(10, 10)
|
||||
texture = ExtResource("3_hwsnj")
|
||||
|
||||
[node name="Beehive" parent="." groups=["beehive"] instance=ExtResource("2_5ueyo")]
|
||||
unique_name_in_owner = true
|
||||
|
|
@ -68,86 +74,19 @@ shape = SubResource("CircleShape2D_ewfly")
|
|||
[node name="Dog" parent="." instance=ExtResource("4_xlyy4")]
|
||||
position = Vector2(705, 491)
|
||||
|
||||
[node name="BeeSpawner" type="Node2D" parent="."]
|
||||
script = ExtResource("2_qqqq4")
|
||||
|
||||
[node name="BeeSound" type="AudioStreamPlayer" parent="BeeSpawner"]
|
||||
stream = ExtResource("6_gqjhy")
|
||||
autoplay = true
|
||||
|
||||
[node name="BigBeeSound" type="AudioStreamPlayer" parent="BeeSpawner"]
|
||||
stream = ExtResource("7_y3gwr")
|
||||
volume_db = -10.138
|
||||
[node name="BeeSpawner" parent="." instance=ExtResource("8_admu4")]
|
||||
|
||||
[node name="UiComponent" parent="." instance=ExtResource("6_xuemm")]
|
||||
offset_right = 1280.0
|
||||
offset_bottom = 720.0
|
||||
|
||||
[node name="DroneManager" type="Node2D" parent="." groups=["dronemanager"]]
|
||||
[node name="DroneManager" parent="." instance=ExtResource("10_rmaj1")]
|
||||
unique_name_in_owner = true
|
||||
z_index = 50
|
||||
script = ExtResource("2_474nc")
|
||||
|
||||
[node name="SpawnedDrones" type="Node2D" parent="DroneManager"]
|
||||
|
||||
[node name="Control" type="Control" parent="DroneManager"]
|
||||
top_level = true
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="DroneManager/Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -155.5
|
||||
offset_top = -31.0
|
||||
offset_right = 155.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
theme = ExtResource("6_1kbwe")
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="DroneControls" type="HBoxContainer" parent="DroneManager/Control/MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 10
|
||||
alignment = 1
|
||||
script = ExtResource("3_rqkyv")
|
||||
|
||||
[node name="SpawnDirector" type="Button" parent="DroneManager/Control/MarginContainer/DroneControls"]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Place a director drone, these are the main drones that define the path bees should follow. The order bees should visit these drones can be defined by clicking on them."
|
||||
text = "Director"
|
||||
|
||||
[node name="SpawnCollector" type="Button" parent="DroneManager/Control/MarginContainer/DroneControls"]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Place a drone that encourages bees to collect pollen near this area."
|
||||
text = "Collector"
|
||||
|
||||
[node name="SpawnDistractor" type="Button" parent="DroneManager/Control/MarginContainer/DroneControls"]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Place a distracting drone that will (hopefully) divert threats attention so they ignore the bees."
|
||||
text = "Distractor"
|
||||
|
||||
[node name="SpawnDancer" type="Button" parent="DroneManager/Control/MarginContainer/DroneControls"]
|
||||
layout_mode = 2
|
||||
tooltip_text = "Spawn a dancing drone that will encourage bees to leave the hive. Best to put this near to the hive. "
|
||||
text = "Dancer"
|
||||
|
||||
[node name="LevelCompleteComponent" parent="." instance=ExtResource("8_4k5cm")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
z_index = 999
|
||||
offset_right = 1280.0
|
||||
offset_bottom = 720.0
|
||||
script = ExtResource("9_qrlto")
|
||||
|
|
@ -160,8 +99,3 @@ autoplay = true
|
|||
[node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("13_nttuq")
|
||||
autoplay = true
|
||||
|
||||
[connection signal="pressed" from="DroneManager/Control/MarginContainer/DroneControls/SpawnDirector" to="DroneManager" method="_on_spawn_director_pressed"]
|
||||
[connection signal="pressed" from="DroneManager/Control/MarginContainer/DroneControls/SpawnCollector" to="DroneManager" method="_on_spawn_collector_pressed"]
|
||||
[connection signal="pressed" from="DroneManager/Control/MarginContainer/DroneControls/SpawnDistractor" to="DroneManager" method="_on_spawn_distractor_pressed"]
|
||||
[connection signal="pressed" from="DroneManager/Control/MarginContainer/DroneControls/SpawnDancer" to="DroneManager" method="_on_spawn_dancer_pressed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue