Updated to Godot 4.6

This commit is contained in:
SchimmelSpreu83 2026-01-26 19:16:13 +01:00
parent 9dc31a11f6
commit cae9576ed6
205 changed files with 4541 additions and 4724 deletions

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://hrdl2qmxv3ve"]
[gd_scene format=3 uid="uid://hrdl2qmxv3ve"]
[ext_resource type="Script" uid="uid://bj2bhtdul8xct" path="res://_development/ayuroo/dynamic_area_loader/dynamic_area_loader.gd" id="1_gcydo"]
[node name="DynamicAreaLoader" type="Area3D"]
[node name="DynamicAreaLoader" type="Area3D" unique_id=1601980036]
collision_layer = 0
collision_mask = 2
script = ExtResource("1_gcydo")

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://b57cpxwxpn40j"]
[gd_scene format=3 uid="uid://b57cpxwxpn40j"]
[ext_resource type="Script" uid="uid://dybhpfhrqsk6y" path="res://_development/ayuroo/heartbeat_effect.gd" id="1_gjfos"]
[ext_resource type="Script" uid="uid://bbwtct3hoxwws" path="res://src/core/vibration_component.gd" id="2_h7kji"]
@ -29,19 +29,17 @@ _data = {
&"heartbeat_anim": SubResource("Animation_akavr")
}
[node name="HeartbeatEffect" type="Node3D"]
[node name="HeartbeatEffect" type="Node3D" unique_id=168629351]
script = ExtResource("1_gjfos")
heartbeat_max_distance = 60.0
falloff = 1.75
[node name="BeatVibration" type="Node" parent="."]
[node name="BeatVibration" type="Node" parent="." unique_id=635503961]
script = ExtResource("2_h7kji")
weak_magnitude = 1.0
strong_magnitude = 1.0
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_5124f")
}
autoplay = "heartbeat_anim"
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=650765089]
libraries/ = SubResource("AnimationLibrary_5124f")
autoplay = &"heartbeat_anim"

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://cer6jlrgjjiud"]
[gd_scene format=3 uid="uid://cer6jlrgjjiud"]
[ext_resource type="PackedScene" uid="uid://k3edwxkml8dd" path="res://src/gameplay/props/electrics/hologram_projector/hologram_projector_floor.tscn" id="1_rj064"]
@ -134,33 +134,31 @@ _data = {
&"teleport": SubResource("Animation_rj064")
}
[node name="Node3D" type="Node3D"]
[node name="Node3D" type="Node3D" unique_id=967658957]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=868911945]
environment = SubResource("Environment_ryav0")
[node name="Character" type="Node3D" parent="."]
[node name="Character" type="Node3D" parent="." unique_id=99461227]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Character"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Character" unique_id=1956173408]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
material_override = SubResource("StandardMaterial3D_rj064")
mesh = SubResource("CapsuleMesh_bl7je")
skeleton = NodePath("../..")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_ryav0")
}
autoplay = "teleport"
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1685889369]
libraries/ = SubResource("AnimationLibrary_ryav0")
autoplay = &"teleport"
[node name="HologramProjectorFloor" parent="." instance=ExtResource("1_rj064")]
[node name="HologramProjectorFloor" parent="." unique_id=1489689294 instance=ExtResource("1_rj064")]
[node name="HologramProjectorFloor2" parent="." instance=ExtResource("1_rj064")]
[node name="HologramProjectorFloor2" parent="." unique_id=25421337 instance=ExtResource("1_rj064")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 0)
[node name="HologramProjectorFloor3" parent="." instance=ExtResource("1_rj064")]
[node name="HologramProjectorFloor3" parent="." unique_id=152150434 instance=ExtResource("1_rj064")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.6, 0, -5)
[node name="Camera3D" type="Camera3D" parent="."]
[node name="Camera3D" type="Camera3D" parent="." unique_id=205685183]
transform = Transform3D(0.94264144, 0, -0.33380684, 0, 1, 0, 0.33380684, 0, 0.94264144, 0.175, 1.04, 2.02)
fov = 90.0

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=3 uid="uid://btjepmbw1mq6j"]
[gd_scene format=3 uid="uid://btjepmbw1mq6j"]
[ext_resource type="PackedScene" uid="uid://8y3swwnmxwg2" path="res://src/core/world/world.tscn" id="1_7hw7e"]
[ext_resource type="Script" uid="uid://dfnb036hysorj" path="res://src/core/world/level/level_loader.gd" id="2_5eifk"]
@ -25,33 +25,33 @@ size = Vector3(1.3000001, 2, 0.5)
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_gynur"]
[node name="ChaseTestWorld" instance=ExtResource("1_7hw7e")]
[node name="ChaseTestWorld" unique_id=1932541403 instance=ExtResource("1_7hw7e")]
world_info = ExtResource("2_gynur")
initial_spawn_id = &"Staircase"
debug_spawn_point = &"ChaseInfrontBeginning"
[node name="Spawnpoints" type="Node" parent="." index="0"]
[node name="Spawnpoints" type="Node" parent="." index="0" unique_id=1078404466]
[node name="SpawnStaircase" type="Marker3D" parent="Spawnpoints" index="0"]
[node name="SpawnStaircase" type="Marker3D" parent="Spawnpoints" index="0" unique_id=1436664785]
script = ExtResource("3_5eifk")
spawn_id = &"Staircase"
metadata/_custom_type_script = "uid://3hlvt5k34xva"
[node name="SpawnInfrontChase" type="Marker3D" parent="Spawnpoints" index="1"]
[node name="SpawnInfrontChase" type="Marker3D" parent="Spawnpoints" index="1" unique_id=1529000511]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 4, -26)
script = ExtResource("3_5eifk")
spawn_id = &"ChaseInfrontBeginning"
metadata/_custom_type_script = "uid://3hlvt5k34xva"
[node name="SpawnChaseBeginning" type="Marker3D" parent="Spawnpoints" index="2"]
[node name="SpawnChaseBeginning" type="Marker3D" parent="Spawnpoints" index="2" unique_id=248310878]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 4, -28)
script = ExtResource("3_5eifk")
spawn_id = &"ChaseBeginning"
metadata/_custom_type_script = "uid://3hlvt5k34xva"
[node name="LevelLoaders" type="Node" parent="." index="1"]
[node name="LevelLoaders" type="Node" parent="." index="1" unique_id=1588192739]
[node name="LoaderLayoutTest" type="Marker3D" parent="LevelLoaders" index="0"]
[node name="LoaderLayoutTest" type="Marker3D" parent="LevelLoaders" index="0" unique_id=167308253]
script = ExtResource("2_5eifk")
scene_path = "uid://srvm3v1grugk"
load_threaded = false
@ -59,17 +59,17 @@ override_level_id = false
level_id = &"LayoutTest"
metadata/_custom_type_script = "uid://dfnb036hysorj"
[node name="LevelArea" parent="LevelLoaders/LoaderLayoutTest" index="1" node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
[node name="LevelArea" parent="LevelLoaders/LoaderLayoutTest" index="1" unique_id=1153816505 node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
level_loader = NodePath("..")
loaded_if_spawnpoint = [NodePath("../../../Spawnpoints/SpawnStaircase"), NodePath("../../../Spawnpoints/SpawnChaseBeginning"), NodePath("../../../Spawnpoints/SpawnInfrontChase")]
keep_loaded_duration = 2.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderLayoutTest/LevelArea" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderLayoutTest/LevelArea" index="0" unique_id=79657108]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.5, -785.5)
shape = SubResource("BoxShape3D_77q0j")
debug_color = Color(1, 1, 0, 0.41960785)
[node name="LoaderChaseLGTest" type="Marker3D" parent="LevelLoaders" index="1"]
[node name="LoaderChaseLGTest" type="Marker3D" parent="LevelLoaders" index="1" unique_id=1187378232]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5, 3.5, -37.5)
script = ExtResource("2_5eifk")
scene_path = "uid://d013wo01v8lr5"
@ -77,17 +77,17 @@ override_level_id = false
level_id = &"ChaseTest"
metadata/_custom_type_script = "uid://dfnb036hysorj"
[node name="LevelArea" parent="LevelLoaders/LoaderChaseLGTest" index="1" node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
[node name="LevelArea" parent="LevelLoaders/LoaderChaseLGTest" index="1" unique_id=2147371796 node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.5, 37.5)
level_loader = NodePath("..")
loaded_if_spawnpoint = [NodePath("../../../Spawnpoints/SpawnChaseBeginning")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderChaseLGTest/LevelArea" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderChaseLGTest/LevelArea" index="0" unique_id=210994657]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.5, -613.54346)
shape = SubResource("BoxShape3D_clslv")
debug_color = Color(1, 1, 0, 0.41960785)
[node name="LoaderChaseEFTest" type="Marker3D" parent="LevelLoaders" index="2"]
[node name="LoaderChaseEFTest" type="Marker3D" parent="LevelLoaders" index="2" unique_id=1549181387]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14.5, 3.5, -37.5)
script = ExtResource("2_5eifk")
scene_path = "uid://bdkbqhgw8nhh6"
@ -95,17 +95,17 @@ override_level_id = false
level_id = &"ChaseTest"
metadata/_custom_type_script = "uid://dfnb036hysorj"
[node name="LevelArea" parent="LevelLoaders/LoaderChaseEFTest" index="1" node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
[node name="LevelArea" parent="LevelLoaders/LoaderChaseEFTest" index="1" unique_id=2031065828 node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.5, 37.5)
level_loader = NodePath("..")
loaded_if_spawnpoint = [NodePath("../../../Spawnpoints/SpawnChaseBeginning")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderChaseEFTest/LevelArea" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderChaseEFTest/LevelArea" index="0" unique_id=206807556]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.5, -801.04346)
shape = SubResource("BoxShape3D_gynur")
debug_color = Color(1, 1, 0, 0.41960785)
[node name="LoaderChaseGNTest" type="Marker3D" parent="LevelLoaders" index="3"]
[node name="LoaderChaseGNTest" type="Marker3D" parent="LevelLoaders" index="3" unique_id=1087440908]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -12.5, 3.5, -28.5)
script = ExtResource("2_5eifk")
scene_path = "uid://buftkff6aaq04"
@ -113,17 +113,17 @@ override_level_id = false
level_id = &"ChaseTest"
metadata/_custom_type_script = "uid://dfnb036hysorj"
[node name="LevelArea" parent="LevelLoaders/LoaderChaseGNTest" index="1" node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
[node name="LevelArea" parent="LevelLoaders/LoaderChaseGNTest" index="1" unique_id=1521830509 node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.5, 37.5)
level_loader = NodePath("..")
loaded_if_spawnpoint = [NodePath("../../../Spawnpoints/SpawnChaseBeginning")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderChaseGNTest/LevelArea" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderChaseGNTest/LevelArea" index="0" unique_id=183259523]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.5, -801.04346)
shape = SubResource("BoxShape3D_gynur")
debug_color = Color(1, 1, 0, 0.41960785)
[node name="LoaderChaseMOTest" type="Marker3D" parent="LevelLoaders" index="4"]
[node name="LoaderChaseMOTest" type="Marker3D" parent="LevelLoaders" index="4" unique_id=1930246973]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.5, -37.5)
script = ExtResource("2_5eifk")
scene_path = "uid://lyl5v6s6waw"
@ -131,17 +131,17 @@ override_level_id = false
level_id = &"ChaseTest"
metadata/_custom_type_script = "uid://dfnb036hysorj"
[node name="LevelArea" parent="LevelLoaders/LoaderChaseMOTest" index="1" node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
[node name="LevelArea" parent="LevelLoaders/LoaderChaseMOTest" index="1" unique_id=407954427 node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.5, 37.5)
level_loader = NodePath("..")
loaded_if_spawnpoint = [NodePath("../../../Spawnpoints/SpawnChaseBeginning")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderChaseMOTest/LevelArea" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderChaseMOTest/LevelArea" index="0" unique_id=690974153]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.5, -801.04346)
shape = SubResource("BoxShape3D_gynur")
debug_color = Color(1, 1, 0, 0.41960785)
[node name="LoaderRhythmTest" type="Marker3D" parent="LevelLoaders" index="5"]
[node name="LoaderRhythmTest" type="Marker3D" parent="LevelLoaders" index="5" unique_id=213572636]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 12.5, 3.5, -29.5)
script = ExtResource("2_5eifk")
scene_path = "uid://7se2e0m4ivcn"
@ -149,19 +149,19 @@ override_level_id = false
level_id = &"ChaseTest"
metadata/_custom_type_script = "uid://dfnb036hysorj"
[node name="LevelArea" parent="LevelLoaders/LoaderRhythmTest" index="1" node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
[node name="LevelArea" parent="LevelLoaders/LoaderRhythmTest" index="1" unique_id=2005505534 node_paths=PackedStringArray("level_loader", "loaded_if_spawnpoint") instance=ExtResource("4_clslv")]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 29.5, -3.5, -2.000001)
level_loader = NodePath("..")
loaded_if_spawnpoint = [NodePath("../../../Spawnpoints/SpawnChaseBeginning")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderRhythmTest/LevelArea" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelLoaders/LoaderRhythmTest/LevelArea" index="0" unique_id=1282085823]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3, 6.5, -29.543457)
shape = SubResource("BoxShape3D_vcy7h")
debug_color = Color(1, 1, 0, 0.41960785)
[node name="Checkpoints" type="Node" parent="." index="2"]
[node name="Checkpoints" type="Node" parent="." index="2" unique_id=1758309364]
[node name="GameStateOverrider" type="Area3D" parent="Checkpoints" index="0" node_paths=PackedStringArray("level_loader", "spawnpoint")]
[node name="GameStateOverrider" type="Area3D" parent="Checkpoints" index="0" unique_id=398317504 node_paths=PackedStringArray("level_loader", "spawnpoint")]
collision_layer = 0
collision_mask = 2
script = ExtResource("6_gynur")
@ -171,11 +171,11 @@ level_loader = NodePath("../../LevelLoaders/LoaderLayoutTest")
spawnpoint = NodePath("../../Spawnpoints/SpawnInfrontChase")
metadata/_custom_type_script = "uid://u2s0spt1rud4"
[node name="CollisionShape3D" type="CollisionShape3D" parent="Checkpoints/GameStateOverrider" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Checkpoints/GameStateOverrider" index="0" unique_id=939801498]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 5, -28.251904)
shape = SubResource("BoxShape3D_tys81")
[node name="DeathArea" type="Area3D" parent="." index="3"]
[node name="DeathArea" type="Area3D" parent="." index="3" unique_id=1096201757]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -7, 0)
collision_layer = 0
collision_mask = 2
@ -183,5 +183,5 @@ script = ExtResource("6_tys81")
death_type = 1
metadata/_custom_type_script = "uid://bfv3de7iqflhv"
[node name="CollisionShape3D" type="CollisionShape3D" parent="DeathArea" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="DeathArea" index="0" unique_id=724040957]
shape = SubResource("WorldBoundaryShape3D_gynur")

View File

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="WorldInfo" load_steps=6 format=3 uid="uid://d0y8d244covqn"]
[gd_resource type="Resource" script_class="WorldInfo" format=3 uid="uid://d0y8d244covqn"]
[ext_resource type="Script" uid="uid://dlf1vq0qej6bs" path="res://src/core/world/world_info.gd" id="1_5vaia"]
[ext_resource type="Script" uid="uid://dhaus6vq5oigj" path="res://src/core/world/level/level_info.gd" id="1_akwq6"]

View File

@ -1,4 +1,4 @@
[gd_resource type="AnimationLibrary" load_steps=4 format=3 uid="uid://ct8oebsc01o7j"]
[gd_resource type="AnimationLibrary" format=3 uid="uid://ct8oebsc01o7j"]
[ext_resource type="AudioStream" uid="uid://dxx77jtvkpmdh" path="res://_development/ayuroo/levels/_chase_test/everlasting_fun/Everlasting Fun (Derivative Version) 【INDIGO PARK FAN MUSIC VIDEO.mp3" id="1_prlov"]

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=3 uid="uid://bdkbqhgw8nhh6"]
[gd_scene format=3 uid="uid://bdkbqhgw8nhh6"]
[ext_resource type="Script" uid="uid://cdgei0ihcem0n" path="res://_development/ayuroo/levels/_chase_test/_chase_test.gd" id="1_ksy85"]
[ext_resource type="AudioStream" uid="uid://bxka3egn4m01r" path="res://_development/ayuroo/levels/_chase_test/tick.ogg" id="2_2frp2"]
@ -30,84 +30,82 @@ height = 0.3
[sub_resource type="BoxShape3D" id="BoxShape3D_gsfaw"]
size = Vector3(14, 5, 1)
[node name="ChaseTest" type="Node3D"]
[node name="ChaseTest" type="Node3D" unique_id=1635389419]
script = ExtResource("1_ksy85")
chase_anim = &"everlasting_fun"
bpm = 176.0
metadata/_custom_type_script = "uid://cigop0ivp5vvu"
[node name="Music" type="AudioStreamPlayer" parent="."]
[node name="Music" type="AudioStreamPlayer" parent="." unique_id=1758133140]
volume_db = -6.0
[node name="Beat" type="AudioStreamPlayer" parent="."]
[node name="Beat" type="AudioStreamPlayer" parent="." unique_id=1908378713]
stream = SubResource("AudioStreamRandomizer_2frp2")
volume_db = -3.0
max_polyphony = 4
[node name="Bar" type="AudioStreamPlayer" parent="."]
[node name="Bar" type="AudioStreamPlayer" parent="." unique_id=887143486]
stream = ExtResource("3_c4bhh")
volume_db = -6.0
[node name="MusicAnimation" type="AnimationPlayer" parent="."]
[node name="MusicAnimation" type="AnimationPlayer" parent="." unique_id=1187399878]
audio_max_polyphony = 1
callback_mode_process = 0
callback_mode_method = 1
libraries = {
&"": ExtResource("4_c4bhh")
}
libraries/ = ExtResource("4_c4bhh")
script = ExtResource("5_c4bhh")
audio_player = NodePath("../Music")
metadata/_custom_type_script = "uid://jahmwrxb2siw"
[node name="CameraRoot" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1031.8802)
[node name="CameraRoot" type="Node3D" parent="." unique_id=1620879794]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="Camera3D" type="Camera3D" parent="CameraRoot"]
[node name="Camera3D" type="Camera3D" parent="CameraRoot" unique_id=1461780572]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2, 0, 0)
fov = 37.38998
[node name="ProgressTrack" type="Path3D" parent="."]
[node name="ProgressTrack" type="Path3D" parent="." unique_id=1757301457]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
curve = SubResource("Curve3D_tqtrq")
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack"]
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack" unique_id=998193962]
rotation_mode = 0
loop = false
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress"]
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress" unique_id=463897129]
mesh = SubResource("SphereMesh_tqtrq")
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer"]
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer" unique_id=77894873]
remote_path = NodePath("../../../../CameraRoot")
update_scale = false
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" node_paths=PackedStringArray("path")]
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" unique_id=1954691366 node_paths=PackedStringArray("path")]
script = ExtResource("3_c3hig")
path = NodePath("..")
track_duration = 290.06
track_bpm = 176
metadata/_custom_type_script = "uid://dp6jy00a6xuhk"
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1395699711]
use_collision = true
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=970672075]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -767.75)
size = Vector3(14, 1, 1536.5)
material = ExtResource("4_gmmry")
[node name="Saws" type="Node3D" parent="."]
[node name="Saws" type="Node3D" parent="." unique_id=938775852]
[node name="ResetSaw" parent="Saws" instance=ExtResource("5_86lpt")]
[node name="ResetSaw" parent="Saws" unique_id=1157897115 instance=ExtResource("5_86lpt")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 1, -1511.1943)
[node name="Saw" parent="Saws" instance=ExtResource("5_86lpt")]
[node name="Saw" parent="Saws" unique_id=1820073745 instance=ExtResource("5_86lpt")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -46)
[node name="Saw2" parent="Saws" instance=ExtResource("5_86lpt")]
[node name="Saw2" parent="Saws" unique_id=1771216359 instance=ExtResource("5_86lpt")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -53)
[node name="HeavyBeatVibration" type="Node" parent="."]
[node name="HeavyBeatVibration" type="Node" parent="." unique_id=1534562417]
script = ExtResource("6_t80us")
duration = 0.075
sync_to_audio = true
@ -116,7 +114,7 @@ strong_magnitude = 0.5
weak_controller_duration_multiplier = 1.5
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="LightBeatVibration" type="Node" parent="."]
[node name="LightBeatVibration" type="Node" parent="." unique_id=2043007519]
script = ExtResource("6_t80us")
duration = 0.075
delay = 0.125
@ -124,15 +122,15 @@ sync_to_audio = true
strong_magnitude = 0.0
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="StartChaseArea" type="Area3D" parent="."]
[node name="StartChaseArea" type="Area3D" parent="." unique_id=1886785793]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea" unique_id=129985232]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
shape = SubResource("BoxShape3D_gsfaw")
[node name="_DEV_LABEL" type="Label3D" parent="."]
[node name="_DEV_LABEL" type="Label3D" parent="." unique_id=588390397]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 6, 2, -3)
text = "If the audio and anim desync and cause the player to slow down,
set the follower up, so that it always stays at a certain

View File

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="LevelInfo" load_steps=2 format=3 uid="uid://stvk354xpola"]
[gd_resource type="Resource" script_class="LevelInfo" format=3 uid="uid://stvk354xpola"]
[ext_resource type="Script" uid="uid://dhaus6vq5oigj" path="res://src/core/world/level/level_info.gd" id="1_85ilw"]

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=3 uid="uid://buftkff6aaq04"]
[gd_scene format=3 uid="uid://buftkff6aaq04"]
[ext_resource type="Script" uid="uid://cdgei0ihcem0n" path="res://_development/ayuroo/levels/_chase_test/_chase_test.gd" id="1_sm484"]
[ext_resource type="AudioStream" uid="uid://bxka3egn4m01r" path="res://_development/ayuroo/levels/_chase_test/tick.ogg" id="2_so850"]
@ -30,85 +30,83 @@ height = 0.3
[sub_resource type="BoxShape3D" id="BoxShape3D_gsfaw"]
size = Vector3(14, 5, 1)
[node name="ChaseTest" type="Node3D"]
[node name="ChaseTest" type="Node3D" unique_id=757991549]
script = ExtResource("1_sm484")
chase_anim = &"good_enough"
chase_anim_karaoke = &"good_enough_karaoke"
bpm = 195.0
metadata/_custom_type_script = "uid://cigop0ivp5vvu"
[node name="Music" type="AudioStreamPlayer" parent="."]
[node name="Music" type="AudioStreamPlayer" parent="." unique_id=426988328]
volume_db = -4.5
[node name="Beat" type="AudioStreamPlayer" parent="."]
[node name="Beat" type="AudioStreamPlayer" parent="." unique_id=1905242254]
stream = SubResource("AudioStreamRandomizer_2frp2")
volume_db = -3.0
max_polyphony = 4
[node name="Bar" type="AudioStreamPlayer" parent="."]
[node name="Bar" type="AudioStreamPlayer" parent="." unique_id=1391102127]
stream = ExtResource("3_wpnkt")
volume_db = -6.0
[node name="MusicAnimation" type="AnimationPlayer" parent="."]
[node name="MusicAnimation" type="AnimationPlayer" parent="." unique_id=2025893246]
audio_max_polyphony = 1
callback_mode_process = 0
callback_mode_method = 1
libraries = {
&"": ExtResource("4_ikio2")
}
libraries/ = ExtResource("4_ikio2")
script = ExtResource("5_uc6ca")
audio_player = NodePath("../Music")
metadata/_custom_type_script = "uid://jahmwrxb2siw"
[node name="CameraRoot" type="Node3D" parent="."]
[node name="CameraRoot" type="Node3D" parent="." unique_id=79679770]
transform = Transform3D(0.99999887, 0, 0, 0, 0.99999887, 0, 0, 0, 0.99999887, 0, 1, 0)
[node name="Camera3D" type="Camera3D" parent="CameraRoot"]
[node name="Camera3D" type="Camera3D" parent="CameraRoot" unique_id=1151440931]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2, 0, 0)
fov = 37.38998
[node name="ProgressTrack" type="Path3D" parent="."]
[node name="ProgressTrack" type="Path3D" parent="." unique_id=1376666564]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
curve = SubResource("Curve3D_tqtrq")
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack"]
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack" unique_id=377544522]
rotation_mode = 0
loop = false
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress"]
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress" unique_id=651589377]
mesh = SubResource("SphereMesh_tqtrq")
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer"]
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer" unique_id=967002834]
remote_path = NodePath("../../../../CameraRoot")
update_scale = false
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" node_paths=PackedStringArray("path")]
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" unique_id=979921480 node_paths=PackedStringArray("path")]
script = ExtResource("6_suojm")
path = NodePath("..")
track_duration = 290.06
track_bpm = 176
metadata/_custom_type_script = "uid://dp6jy00a6xuhk"
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1738816511]
use_collision = true
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1483042996]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -767.75)
size = Vector3(14, 1, 1536.5)
material = ExtResource("7_6fa34")
[node name="Saws" type="Node3D" parent="."]
[node name="Saws" type="Node3D" parent="." unique_id=430748994]
[node name="ResetSaw" parent="Saws" instance=ExtResource("8_5k2no")]
[node name="ResetSaw" parent="Saws" unique_id=711034427 instance=ExtResource("8_5k2no")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 1, -1511.1943)
[node name="Saw" parent="Saws" instance=ExtResource("8_5k2no")]
[node name="Saw" parent="Saws" unique_id=878629950 instance=ExtResource("8_5k2no")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -46)
[node name="Saw2" parent="Saws" instance=ExtResource("8_5k2no")]
[node name="Saw2" parent="Saws" unique_id=1329806023 instance=ExtResource("8_5k2no")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -53)
[node name="HeavyBeatVibration" type="Node" parent="."]
[node name="HeavyBeatVibration" type="Node" parent="." unique_id=456160867]
script = ExtResource("9_u4bqw")
duration = 0.09
sync_to_audio = true
@ -117,7 +115,7 @@ strong_magnitude = 0.75
weak_controller_duration_multiplier = 1.5
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="LightBeatVibration" type="Node" parent="."]
[node name="LightBeatVibration" type="Node" parent="." unique_id=1160261224]
script = ExtResource("9_u4bqw")
duration = 0.075
sync_to_audio = true
@ -125,15 +123,15 @@ weak_magnitude = 0.375
strong_magnitude = 0.0
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="StartChaseArea" type="Area3D" parent="."]
[node name="StartChaseArea" type="Area3D" parent="." unique_id=1427044734]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea" unique_id=1766491591]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
shape = SubResource("BoxShape3D_gsfaw")
[node name="_DEV_LABEL" type="Label3D" parent="."]
[node name="_DEV_LABEL" type="Label3D" parent="." unique_id=93927970]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 6, 2, -3)
text = "If the audio and anim desync and cause the player to slow down,
set the follower up, so that it always stays at a certain

View File

@ -1,4 +1,4 @@
[gd_resource type="AnimationLibrary" load_steps=6 format=3 uid="uid://dfgpkxgfyo5h1"]
[gd_resource type="AnimationLibrary" format=3 uid="uid://dfgpkxgfyo5h1"]
[ext_resource type="AudioStream" uid="uid://b6kgg4bkxmcd7" path="res://_development/ayuroo/levels/_chase_test/good_enough/Good Enough (feat. @KittenSneeze, @Cami-Cat, @bbyamm @longestsoloever, @OtterBoyVA) [AUDIO ONLY].mp3" id="1_sny6g"]
[ext_resource type="AudioStream" uid="uid://bqxw00b4hjpll" path="res://_development/ayuroo/levels/_chase_test/good_enough/Good Enough (Karaoke w Backup Vocals) ft. @Jakeneutron.mp3" id="2_b1cfe"]

View File

@ -1,4 +1,4 @@
[gd_resource type="AnimationLibrary" load_steps=4 format=3 uid="uid://ck15gq8qw1rfg"]
[gd_resource type="AnimationLibrary" format=3 uid="uid://ck15gq8qw1rfg"]
[ext_resource type="AudioStream" uid="uid://ddfnb7m4ufpmu" path="res://_development/ayuroo/levels/_chase_test/liquid_gold/Liquid Gold.mp3" id="1_58hp1"]

View File

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="LevelInfo" load_steps=2 format=3 uid="uid://o7u7x13isl7e"]
[gd_resource type="Resource" script_class="LevelInfo" format=3 uid="uid://o7u7x13isl7e"]
[ext_resource type="Script" uid="uid://dhaus6vq5oigj" path="res://src/core/world/level/level_info.gd" id="1_d8a7e"]

View File

@ -1,4 +1,4 @@
[gd_resource type="AnimationLibrary" load_steps=4 format=3 uid="uid://dhcvtj55pdbi0"]
[gd_resource type="AnimationLibrary" format=3 uid="uid://dhcvtj55pdbi0"]
[ext_resource type="AudioStream" uid="uid://du3mds6gp7awe" path="res://_development/ayuroo/levels/_chase_test/maestro/Maestro.mp3" id="1_qp8eb"]

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=3 uid="uid://lyl5v6s6waw"]
[gd_scene format=3 uid="uid://lyl5v6s6waw"]
[ext_resource type="Script" uid="uid://cdgei0ihcem0n" path="res://_development/ayuroo/levels/_chase_test/_chase_test.gd" id="1_ce4yl"]
[ext_resource type="AudioStream" uid="uid://bxka3egn4m01r" path="res://_development/ayuroo/levels/_chase_test/tick.ogg" id="2_v5aaa"]
@ -30,83 +30,81 @@ height = 0.3
[sub_resource type="BoxShape3D" id="BoxShape3D_gsfaw"]
size = Vector3(14, 5, 1)
[node name="ChaseTest" type="Node3D"]
[node name="ChaseTest" type="Node3D" unique_id=1255206756]
script = ExtResource("1_ce4yl")
chase_anim = &"maestro"
metadata/_custom_type_script = "uid://cigop0ivp5vvu"
[node name="Music" type="AudioStreamPlayer" parent="."]
[node name="Music" type="AudioStreamPlayer" parent="." unique_id=1719638466]
volume_db = -4.5
[node name="Beat" type="AudioStreamPlayer" parent="."]
[node name="Beat" type="AudioStreamPlayer" parent="." unique_id=1599451269]
stream = SubResource("AudioStreamRandomizer_2frp2")
volume_db = -3.0
max_polyphony = 4
[node name="Bar" type="AudioStreamPlayer" parent="."]
[node name="Bar" type="AudioStreamPlayer" parent="." unique_id=530408029]
stream = ExtResource("3_kbj6i")
volume_db = -6.0
[node name="MusicAnimation" type="AnimationPlayer" parent="."]
[node name="MusicAnimation" type="AnimationPlayer" parent="." unique_id=113930890]
audio_max_polyphony = 1
callback_mode_process = 0
callback_mode_method = 1
libraries = {
&"": ExtResource("4_q2x38")
}
libraries/ = ExtResource("4_q2x38")
script = ExtResource("5_5dvgd")
audio_player = NodePath("../Music")
metadata/_custom_type_script = "uid://jahmwrxb2siw"
[node name="CameraRoot" type="Node3D" parent="."]
transform = Transform3D(0.99999887, 0, 0, 0, 0.99999887, 0, 0, 0, 0.99999887, 0, 1, -897)
[node name="CameraRoot" type="Node3D" parent="." unique_id=949164518]
transform = Transform3D(0.99999887, 0, 0, 0, 0.99999887, 0, 0, 0, 0.99999887, 0, 1, 0)
[node name="Camera3D" type="Camera3D" parent="CameraRoot"]
[node name="Camera3D" type="Camera3D" parent="CameraRoot" unique_id=1314945714]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2, 0, 0)
fov = 37.38998
[node name="ProgressTrack" type="Path3D" parent="."]
[node name="ProgressTrack" type="Path3D" parent="." unique_id=330177244]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
curve = SubResource("Curve3D_tqtrq")
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack"]
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack" unique_id=1781347439]
rotation_mode = 0
loop = false
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress"]
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress" unique_id=2022116176]
mesh = SubResource("SphereMesh_tqtrq")
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer"]
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer" unique_id=544589534]
remote_path = NodePath("../../../../CameraRoot")
update_scale = false
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" node_paths=PackedStringArray("path")]
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" unique_id=2038210614 node_paths=PackedStringArray("path")]
script = ExtResource("6_hltqc")
path = NodePath("..")
track_duration = 290.06
track_bpm = 176
metadata/_custom_type_script = "uid://dp6jy00a6xuhk"
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=176539414]
use_collision = true
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=362373907]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -450)
size = Vector3(14, 1, 901)
material = ExtResource("7_6lemm")
[node name="Saws" type="Node3D" parent="."]
[node name="Saws" type="Node3D" parent="." unique_id=1085768077]
[node name="ResetSaw" parent="Saws" instance=ExtResource("8_lca1p")]
[node name="ResetSaw" parent="Saws" unique_id=955616245 instance=ExtResource("8_lca1p")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 1, -896.19434)
[node name="Saw" parent="Saws" instance=ExtResource("8_lca1p")]
[node name="Saw" parent="Saws" unique_id=43340962 instance=ExtResource("8_lca1p")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -46)
[node name="Saw2" parent="Saws" instance=ExtResource("8_lca1p")]
[node name="Saw2" parent="Saws" unique_id=1068102628 instance=ExtResource("8_lca1p")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -53)
[node name="HeavyBeatVibration" type="Node" parent="."]
[node name="HeavyBeatVibration" type="Node" parent="." unique_id=1136863204]
script = ExtResource("9_yut28")
duration = 0.1
sync_to_audio = true
@ -116,7 +114,7 @@ weak_controller_magnitude_multiplier = 1.5
weak_controller_duration_multiplier = 1.25
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="LightBeatVibration" type="Node" parent="."]
[node name="LightBeatVibration" type="Node" parent="." unique_id=2006943016]
script = ExtResource("9_yut28")
duration = 0.175
sync_to_audio = true
@ -125,15 +123,15 @@ strong_magnitude = 0.0
weak_controller_magnitude_multiplier = 1.75
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="StartChaseArea" type="Area3D" parent="."]
[node name="StartChaseArea" type="Area3D" parent="." unique_id=1335887294]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea" unique_id=1215245507]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
shape = SubResource("BoxShape3D_gsfaw")
[node name="_DEV_LABEL" type="Label3D" parent="."]
[node name="_DEV_LABEL" type="Label3D" parent="." unique_id=396407330]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 6, 2, -3)
text = "If the audio and anim desync and cause the player to slow down,
set the follower up, so that it always stays at a certain

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=21 format=3 uid="uid://7se2e0m4ivcn"]
[gd_scene format=3 uid="uid://7se2e0m4ivcn"]
[ext_resource type="Script" uid="uid://cdgei0ihcem0n" path="res://_development/ayuroo/levels/_chase_test/_chase_test.gd" id="1_td1ny"]
[ext_resource type="AudioStream" uid="uid://bxka3egn4m01r" path="res://_development/ayuroo/levels/_chase_test/tick.ogg" id="2_hqvl2"]
@ -540,87 +540,83 @@ _data = {
[sub_resource type="BoxShape3D" id="BoxShape3D_gsfaw"]
size = Vector3(14, 5, 1)
[node name="ChaseTest" type="Node3D"]
[node name="ChaseTest" type="Node3D" unique_id=1999234920]
script = ExtResource("1_td1ny")
chase_anim = &"rhythm_test"
bpm = 120.0
metadata/_custom_type_script = "uid://cigop0ivp5vvu"
[node name="Music" type="AudioStreamPlayer" parent="."]
[node name="Music" type="AudioStreamPlayer" parent="." unique_id=1761536829]
volume_db = -6.0
[node name="Beat" type="AudioStreamPlayer" parent="."]
[node name="Beat" type="AudioStreamPlayer" parent="." unique_id=1601635854]
stream = SubResource("AudioStreamRandomizer_2frp2")
volume_db = -3.0
max_polyphony = 4
[node name="Bar" type="AudioStreamPlayer" parent="."]
[node name="Bar" type="AudioStreamPlayer" parent="." unique_id=202884030]
stream = ExtResource("3_gkp73")
volume_db = -6.0
[node name="MusicAnimation" type="AnimationPlayer" parent="."]
[node name="MusicAnimation" type="AnimationPlayer" parent="." unique_id=41823964]
audio_max_polyphony = 1
callback_mode_process = 0
callback_mode_method = 1
libraries = {
&"": SubResource("AnimationLibrary_4gsqv")
}
libraries/ = SubResource("AnimationLibrary_4gsqv")
script = ExtResource("5_qnmws")
audio_player = NodePath("../Music")
metadata/_custom_type_script = "uid://jahmwrxb2siw"
[node name="CameraRoot" type="Node3D" parent="."]
[node name="CameraRoot" type="Node3D" parent="." unique_id=260195499]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="Camera3D" type="Camera3D" parent="CameraRoot"]
[node name="Camera3D" type="Camera3D" parent="CameraRoot" unique_id=1013985914]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2, 0, 0)
fov = 37.38998
[node name="ProgressTrack" type="Path3D" parent="."]
[node name="ProgressTrack" type="Path3D" parent="." unique_id=218578709]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
curve = SubResource("Curve3D_tqtrq")
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack"]
[node name="PlayerDesiredProgress" type="PathFollow3D" parent="ProgressTrack" unique_id=31461253]
rotation_mode = 0
loop = false
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress"]
[node name="DebugVisualizer" type="MeshInstance3D" parent="ProgressTrack/PlayerDesiredProgress" unique_id=95072323]
mesh = SubResource("SphereMesh_tqtrq")
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer"]
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="ProgressTrack/PlayerDesiredProgress/DebugVisualizer" unique_id=404464145]
remote_path = NodePath("../../../../CameraRoot")
update_scale = false
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" node_paths=PackedStringArray("path")]
[node name="BeatMeasurer" type="Node" parent="ProgressTrack" unique_id=2128398594 node_paths=PackedStringArray("path")]
script = ExtResource("6_6tlon")
path = NodePath("..")
track_duration = 290.06
track_bpm = 176
metadata/_custom_type_script = "uid://dp6jy00a6xuhk"
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1744468286]
use_collision = true
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=894929316]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6.5)
size = Vector3(14, 1, 14)
material = ExtResource("7_xcut5")
[node name="Saws" type="Node3D" parent="."]
[node name="Saws" type="Node3D" parent="." unique_id=302533639]
[node name="Saw" parent="Saws" instance=ExtResource("8_burxb")]
[node name="Saw" parent="Saws" unique_id=1341625241 instance=ExtResource("8_burxb")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0.5, -11)
[node name="SawAnimation" type="AnimationPlayer" parent="Saws/Saw"]
[node name="SawAnimation" type="AnimationPlayer" parent="Saws/Saw" unique_id=2123381450]
root_node = NodePath("../../..")
audio_max_polyphony = 1
callback_mode_process = 0
callback_mode_method = 1
libraries = {
&"": SubResource("AnimationLibrary_f8t6g")
}
libraries/ = SubResource("AnimationLibrary_f8t6g")
[node name="HeavyBeatVibration" type="Node" parent="."]
[node name="HeavyBeatVibration" type="Node" parent="." unique_id=784870350]
script = ExtResource("9_k4kf7")
duration = 0.1
sync_to_audio = true
@ -629,18 +625,18 @@ strong_magnitude = 0.5
weak_controller_duration_multiplier = 1.5
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="LightBeatVibration" type="Node" parent="."]
[node name="LightBeatVibration" type="Node" parent="." unique_id=428159980]
script = ExtResource("9_k4kf7")
duration = 0.1
sync_to_audio = true
strong_magnitude = 0.125
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="StartChaseArea" type="Area3D" parent="."]
[node name="StartChaseArea" type="Area3D" parent="." unique_id=825452759]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StartChaseArea" unique_id=726439974]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
shape = SubResource("BoxShape3D_gsfaw")

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=19 format=3 uid="uid://d3ag4d4r8qcw7"]
[gd_scene format=3 uid="uid://d3ag4d4r8qcw7"]
[ext_resource type="PackedScene" uid="uid://clhy3kiceqf2o" path="res://src/gameplay/characters/player/player_character.tscn" id="1_uvw2h"]
[ext_resource type="Script" uid="uid://bj2bhtdul8xct" path="res://_development/ayuroo/dynamic_area_loader/dynamic_area_loader.gd" id="2_vkr6n"]
@ -49,29 +49,29 @@ size = Vector3(9, 4, 25)
[sub_resource type="CylinderMesh" id="CylinderMesh_g60qb"]
[node name="DynamicLoadTestMap" type="Node"]
[node name="DynamicLoadTestMap" type="Node" unique_id=2060320726]
[node name="PlayerCharacter" parent="." instance=ExtResource("1_uvw2h")]
[node name="PlayerCharacter" parent="." unique_id=762744626 instance=ExtResource("1_uvw2h")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=2085997974]
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=2078603738]
environment = SubResource("Environment_4rgsp")
[node name="Areas" type="Node" parent="."]
[node name="Areas" type="Node" parent="." unique_id=1981591577]
[node name="AlwaysLoaded" type="CSGCombiner3D" parent="Areas"]
[node name="AlwaysLoaded" type="CSGCombiner3D" parent="Areas" unique_id=1799963699]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 9)
use_collision = true
[node name="CSGBox3D" type="CSGBox3D" parent="Areas/AlwaysLoaded"]
[node name="CSGBox3D" type="CSGBox3D" parent="Areas/AlwaysLoaded" unique_id=1466548170]
size = Vector3(8, 1, 7)
material = SubResource("StandardMaterial3D_g60qb")
[node name="PerformanceTestPlatform1" type="Area3D" parent="Areas" node_paths=PackedStringArray("placeholder_node")]
[node name="PerformanceTestPlatform1" type="Area3D" parent="Areas" unique_id=817126810 node_paths=PackedStringArray("placeholder_node")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0)
collision_layer = 0
collision_mask = 2
@ -80,15 +80,15 @@ placeholder_node = NodePath("Area1")
loaded_if_spawnpoint = Array[int]([0])
metadata/_custom_type_script = "uid://bj2bhtdul8xct"
[node name="Area1" parent="Areas/PerformanceTestPlatform1" instance_placeholder="res://src/maps/_dynamic_load_test/area_1.tscn"]
[node name="Area1" parent="Areas/PerformanceTestPlatform1" unique_id=194062021]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, -2, 2)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Areas/PerformanceTestPlatform1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Areas/PerformanceTestPlatform1" unique_id=1840015833]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.5, 2)
shape = SubResource("BoxShape3D_g60qb")
debug_color = Color(0.678973, 0.504376, 0, 0.42)
[node name="PerformanceTestPlatform2" type="Area3D" parent="Areas" node_paths=PackedStringArray("placeholder_node")]
[node name="PerformanceTestPlatform2" type="Area3D" parent="Areas" unique_id=860639849 node_paths=PackedStringArray("placeholder_node")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -7)
collision_layer = 0
collision_mask = 2
@ -97,25 +97,25 @@ placeholder_node = NodePath("Area2")
loaded_if_spawnpoint = Array[int]([1])
metadata/_custom_type_script = "uid://bj2bhtdul8xct"
[node name="Area2" parent="Areas/PerformanceTestPlatform2" instance_placeholder="res://src/maps/_dynamic_load_test/area_2.tscn"]
[node name="Area2" parent="Areas/PerformanceTestPlatform2" unique_id=1981005666]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, -2, 2)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Areas/PerformanceTestPlatform2"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Areas/PerformanceTestPlatform2" unique_id=2070533557]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.5, 2)
shape = SubResource("BoxShape3D_yaqeo")
debug_color = Color(0.678973, 0.504376, 0, 0.42)
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Areas/PerformanceTestPlatform2"]
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Areas/PerformanceTestPlatform2" unique_id=37797257]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0.5, 3.67773)
shape = SubResource("BoxShape3D_4rgsp")
debug_color = Color(0.678973, 0.504376, 0, 0.42)
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Areas/PerformanceTestPlatform2"]
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Areas/PerformanceTestPlatform2" unique_id=1693269824]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5, 0.5, 5.67773)
shape = SubResource("BoxShape3D_m4fap")
debug_color = Color(0.678973, 0.504376, 0, 0.42)
[node name="Hallway1Loader" type="Area3D" parent="Areas" node_paths=PackedStringArray("placeholder_node")]
[node name="Hallway1Loader" type="Area3D" parent="Areas" unique_id=1010256213 node_paths=PackedStringArray("placeholder_node")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -7)
collision_layer = 0
collision_mask = 2
@ -123,15 +123,15 @@ script = ExtResource("2_vkr6n")
placeholder_node = NodePath("Hallway1")
metadata/_custom_type_script = "uid://bj2bhtdul8xct"
[node name="Hallway1" parent="Areas/Hallway1Loader" instance_placeholder="res://src/maps/_dynamic_load_test/hallway_1.tscn"]
[node name="Hallway1" parent="Areas/Hallway1Loader" unique_id=1580445385]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, -2, 15)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Areas/Hallway1Loader"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Areas/Hallway1Loader" unique_id=1632096964]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.5, 17.85)
shape = SubResource("BoxShape3D_k1ge7")
debug_color = Color(0.678973, 0.504376, 0, 0.42)
[node name="Hallway2Loader" type="Area3D" parent="Areas" node_paths=PackedStringArray("placeholder_node")]
[node name="Hallway2Loader" type="Area3D" parent="Areas" unique_id=1431926266 node_paths=PackedStringArray("placeholder_node")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -7)
collision_layer = 0
collision_mask = 2
@ -139,53 +139,50 @@ script = ExtResource("2_vkr6n")
placeholder_node = NodePath("Hallway2")
metadata/_custom_type_script = "uid://bj2bhtdul8xct"
[node name="Hallway2" parent="Areas/Hallway2Loader" instance_placeholder="res://src/maps/_dynamic_load_test/hallway_2.tscn"]
[node name="Hallway2" parent="Areas/Hallway2Loader" unique_id=210789498]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, -2, 15)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Areas/Hallway2Loader"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Areas/Hallway2Loader" unique_id=1725894028]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.5, 25.5)
shape = SubResource("BoxShape3D_ka7nb")
debug_color = Color(0.678973, 0.504376, 0, 0.42)
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Areas/Hallway2Loader"]
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Areas/Hallway2Loader" unique_id=2012457319]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.5, 0.5, 3.67773)
shape = SubResource("BoxShape3D_kaxur")
debug_color = Color(0.678973, 0.504376, 0, 0.42)
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Areas/Hallway2Loader"]
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Areas/Hallway2Loader" unique_id=2004424014]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0.5, 12.6777)
shape = SubResource("BoxShape3D_0qpgw")
debug_color = Color(0.678973, 0.504376, 0, 0.42)
[node name="WorldFloor" type="StaticBody3D" parent="."]
[node name="WorldFloor" type="StaticBody3D" parent="." unique_id=1033053351]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
metadata/_edit_lock_ = true
metadata/_edit_group_ = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldFloor"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldFloor" unique_id=61791087]
shape = SubResource("WorldBoundaryShape3D_g60qb")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1265910093]
transform = Transform3D(5.58473, 6.33307, 0, -6.33307, 5.58473, 0, 0, 0, 8.44375, -13.6652, 0, -15.4998)
mesh = SubResource("CylinderMesh_g60qb")
[node name="PlayerSpawnPoint" type="Marker3D" parent="."]
[node name="PlayerSpawnPoint" type="Marker3D" parent="." unique_id=712175543]
transform = Transform3D(0.330597, 0, 0.943772, 0, 1, 0, -0.943772, 0, 0.330597, 2.60837, 0.5, 3.3168)
script = ExtResource("3_1q3mf")
spawn_index = 3
metadata/_custom_type_script = "uid://3hlvt5k34xva"
[node name="PlayerSpawnPoint2" type="Marker3D" parent="."]
[node name="PlayerSpawnPoint2" type="Marker3D" parent="." unique_id=311504366]
transform = Transform3D(0.330597, 0, 0.943772, 0, 1, 0, -0.943772, 0, 0.330597, 2.60837, 0.5, -2.6832)
script = ExtResource("3_1q3mf")
spawn_index = 4
metadata/_custom_type_script = "uid://3hlvt5k34xva"
[node name="PlayerSpawnPoint3" type="Marker3D" parent="."]
[node name="PlayerSpawnPoint3" type="Marker3D" parent="." unique_id=1334531617]
transform = Transform3D(0.43358, 0, -0.901115, 0, 1, 0, 0.901115, 0, 0.43358, -14.3916, 0.5, -2.6832)
script = ExtResource("3_1q3mf")
spawn_index = 2
metadata/_custom_type_script = "uid://3hlvt5k34xva"
[node name="Saw" parent="." instance=ExtResource("4_mduwu")]
[node name="Saw" parent="." unique_id=730544566 instance=ExtResource("4_mduwu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.31477, 1.59362, 6.44809)

View File

@ -1,56 +1,56 @@
[gd_scene format=3 uid="uid://dr0gtcel5qdqg"]
[node name="Hallway1" type="CSGCombiner3D"]
[node name="Hallway1" type="CSGCombiner3D" unique_id=881754228]
use_collision = true
[node name="Floor" type="CSGBox3D" parent="."]
[node name="Floor" type="CSGBox3D" parent="." unique_id=406072754]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 1)
size = Vector3(8, 1, 3)
[node name="Floor2" type="CSGBox3D" parent="."]
[node name="Floor2" type="CSGBox3D" parent="." unique_id=1542085120]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.5, 0, 7.5)
size = Vector3(3, 1, 10)
[node name="Floor3" type="CSGBox3D" parent="."]
[node name="Floor3" type="CSGBox3D" parent="." unique_id=1855822352]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.5, 0, 10.5)
size = Vector3(21, 1, 4)
[node name="Ceiling" type="CSGBox3D" parent="."]
[node name="Ceiling" type="CSGBox3D" parent="." unique_id=449213655]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 5, 1)
size = Vector3(8, 1, 3)
[node name="Ceiling2" type="CSGBox3D" parent="."]
[node name="Ceiling2" type="CSGBox3D" parent="." unique_id=2033906654]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.5, 5, 7.5)
size = Vector3(3, 1, 10)
[node name="Ceiling3" type="CSGBox3D" parent="."]
[node name="Ceiling3" type="CSGBox3D" parent="." unique_id=396497718]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.5, 5, 10.5)
size = Vector3(21, 1, 4)
[node name="Wall" type="CSGBox3D" parent="."]
[node name="Wall" type="CSGBox3D" parent="." unique_id=447354787]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 2.5, 13)
size = Vector3(24, 6, 1)
[node name="Wall2" type="CSGBox3D" parent="."]
[node name="Wall2" type="CSGBox3D" parent="." unique_id=1636276497]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 2.5, -1)
size = Vector3(8, 6, 1)
[node name="Wall3" type="CSGBox3D" parent="."]
[node name="Wall3" type="CSGBox3D" parent="." unique_id=1844565928]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 2.5, 8)
size = Vector3(17, 6, 1)
[node name="Wall4" type="CSGBox3D" parent="."]
[node name="Wall4" type="CSGBox3D" parent="." unique_id=1233387969]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 2.5, 3)
size = Vector3(5, 6, 1)
[node name="Wall5" type="CSGBox3D" parent="."]
[node name="Wall5" type="CSGBox3D" parent="." unique_id=679441734]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.5, 2.5, 6)
size = Vector3(1, 6, 15)
[node name="Wall6" type="CSGBox3D" parent="."]
[node name="Wall6" type="CSGBox3D" parent="." unique_id=1720618903]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.5, 2.5, 5.5)
size = Vector3(1, 6, 4)
[node name="Wall7" type="CSGBox3D" parent="."]
[node name="Wall7" type="CSGBox3D" parent="." unique_id=2115503156]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5, 2.5, 11)
size = Vector3(1, 6, 5)

View File

@ -1,68 +1,68 @@
[gd_scene format=3 uid="uid://loo81pvlxlhh"]
[node name="Hallway2" type="CSGCombiner3D"]
[node name="Hallway2" type="CSGCombiner3D" unique_id=689086022]
use_collision = true
[node name="Floor" type="CSGBox3D" parent="."]
[node name="Floor" type="CSGBox3D" parent="." unique_id=1237208881]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5, 0, 1.5)
size = Vector3(3, 1, 14)
[node name="Floor2" type="CSGBox3D" parent="."]
[node name="Floor2" type="CSGBox3D" parent="." unique_id=1019725797]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5, 0, -7)
size = Vector3(7, 1, 3)
[node name="Floor3" type="CSGBox3D" parent="."]
[node name="Floor3" type="CSGBox3D" parent="." unique_id=86511258]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18.5, 0, -12)
size = Vector3(3, 1, 7)
[node name="Floor4" type="CSGBox3D" parent="."]
[node name="Floor4" type="CSGBox3D" parent="." unique_id=118114713]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 0, -14)
size = Vector3(9, 1, 3)
[node name="Wall" type="CSGBox3D" parent="."]
[node name="Wall" type="CSGBox3D" parent="." unique_id=19356434]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 2.5, -16)
size = Vector3(12, 6, 1)
[node name="Wall2" type="CSGBox3D" parent="."]
[node name="Wall2" type="CSGBox3D" parent="." unique_id=571607771]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.5, -12)
size = Vector3(9, 6, 1)
[node name="Wall3" type="CSGBox3D" parent="."]
[node name="Wall3" type="CSGBox3D" parent="." unique_id=212369215]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5, 2.5, -9)
size = Vector3(5, 6, 1)
[node name="Wall4" type="CSGBox3D" parent="."]
[node name="Wall4" type="CSGBox3D" parent="." unique_id=927004045]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18.5, 2.5, -5)
size = Vector3(5, 6, 1)
[node name="Wall5" type="CSGBox3D" parent="."]
[node name="Wall5" type="CSGBox3D" parent="." unique_id=1700915161]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -20.5, 2.5, -11)
size = Vector3(1, 6, 11)
[node name="Wall6" type="CSGBox3D" parent="."]
[node name="Wall6" type="CSGBox3D" parent="." unique_id=960226135]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5, 2.5, -10.5)
size = Vector3(1, 6, 2)
[node name="Wall7" type="CSGBox3D" parent="."]
[node name="Wall7" type="CSGBox3D" parent="." unique_id=106581627]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 2.5, 0)
size = Vector3(1, 6, 17)
[node name="Wall8" type="CSGBox3D" parent="."]
[node name="Wall8" type="CSGBox3D" parent="." unique_id=171969206]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5, 2.5, 2)
size = Vector3(1, 6, 13)
[node name="Ceiling" type="CSGBox3D" parent="."]
[node name="Ceiling" type="CSGBox3D" parent="." unique_id=1544144914]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.5, 5, 1.5)
size = Vector3(3, 1, 14)
[node name="Ceiling2" type="CSGBox3D" parent="."]
[node name="Ceiling2" type="CSGBox3D" parent="." unique_id=1843448006]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5, 5, -7)
size = Vector3(7, 1, 3)
[node name="Ceiling3" type="CSGBox3D" parent="."]
[node name="Ceiling3" type="CSGBox3D" parent="." unique_id=1598787125]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18.5, 5, -12)
size = Vector3(3, 1, 7)
[node name="Ceiling4" type="CSGBox3D" parent="."]
[node name="Ceiling4" type="CSGBox3D" parent="." unique_id=1992203203]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.5, 5, -14)
size = Vector3(9, 1, 3)

View File

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="LevelInfo" load_steps=2 format=3 uid="uid://dc6x0whf4601"]
[gd_resource type="Resource" script_class="LevelInfo" format=3 uid="uid://dc6x0whf4601"]
[ext_resource type="Script" uid="uid://dhaus6vq5oigj" path="res://src/core/world/level/level_info.gd" id="1_3pj77"]

View File

@ -1,4 +1,4 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://bye8jd50tg7wl"]
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bye8jd50tg7wl"]
[ext_resource type="Texture2D" uid="uid://dw3af4ir446rk" path="res://assets/materials/dev/dark/texture_13.png" id="1_pfrvh"]

View File

@ -1,4 +1,4 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://uejce7ra2gcy"]
[gd_resource type="StandardMaterial3D" format=3 uid="uid://uejce7ra2gcy"]
[ext_resource type="Texture2D" uid="uid://12e0onm52r6b" path="res://assets/materials/dev/orange/texture_02.png" id="1_67eg5"]

View File

@ -1,4 +1,4 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://lvm62memxs5k"]
[gd_resource type="StandardMaterial3D" format=3 uid="uid://lvm62memxs5k"]
[ext_resource type="Texture2D" uid="uid://bwo1s4wl34tyt" path="res://assets/materials/dev/red/texture_02.png" id="1_vv0ty"]

View File

@ -1,4 +1,4 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://dknefw4cwovq"]
[gd_resource type="StandardMaterial3D" format=3 uid="uid://dknefw4cwovq"]
[ext_resource type="Texture2D" uid="uid://12e0onm52r6b" path="res://assets/materials/dev/orange/texture_02.png" id="1_8tkn2"]

View File

@ -1,4 +1,4 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://dictg13b71nlf"]
[gd_resource type="StandardMaterial3D" format=3 uid="uid://dictg13b71nlf"]
[ext_resource type="Texture2D" uid="uid://bwo1s4wl34tyt" path="res://assets/materials/dev/red/texture_02.png" id="1_gjyc6"]

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://b3wpm3qll2e6g"]
[gd_scene format=3 uid="uid://b3wpm3qll2e6g"]
[ext_resource type="Script" uid="uid://41co2svrlbkc" path="res://src/ui/rich_effects/loading_text_effect.gd" id="1_f8j4s"]
[ext_resource type="Script" uid="uid://ysronki6hr11" path="res://src/ui/rich_effects/loading_text_effect_v2.gd" id="2_yf0e7"]
@ -13,7 +13,7 @@ resource_name = "RichTextLoadingV2"
script = ExtResource("2_yf0e7")
metadata/_custom_type_script = "uid://ysronki6hr11"
[node name="Effects" type="Control"]
[node name="Effects" type="Control" unique_id=865045832]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@ -21,7 +21,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="RichTextLabel" parent="."]
[node name="Label" type="RichTextLabel" parent="." unique_id=1957732276]
clip_contents = false
layout_mode = 0
offset_left = 122.0
@ -34,7 +34,7 @@ fit_content = true
autowrap_mode = 0
custom_effects = [SubResource("RichTextEffect_pk08u")]
[node name="Panel" type="Panel" parent="Label"]
[node name="Panel" type="Panel" parent="Label" unique_id=922173610]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
@ -43,7 +43,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label2" type="RichTextLabel" parent="."]
[node name="Label2" type="RichTextLabel" parent="." unique_id=1091880872]
clip_contents = false
layout_mode = 0
offset_left = 122.0
@ -56,7 +56,7 @@ fit_content = true
autowrap_mode = 0
custom_effects = [SubResource("RichTextEffect_3pfe6")]
[node name="Panel" type="Panel" parent="Label2"]
[node name="Panel" type="Panel" parent="Label2" unique_id=1866453759]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15

View File

@ -1,14 +1,14 @@
[gd_scene load_steps=3 format=3 uid="uid://bqphpk7wftndj"]
[gd_scene format=3 uid="uid://bqphpk7wftndj"]
[ext_resource type="Material" uid="uid://b3fgicfsq7yvh" path="res://addons/SunshineClouds2/Dock/Materials/DrawBrushToolsMaterial.tres" id="1_t2125"]
[sub_resource type="PlaneMesh" id="PlaneMesh_gqrd6"]
[node name="DrawBrush" type="MeshInstance3D"]
[node name="DrawBrush" type="MeshInstance3D" unique_id=1382837215]
mesh = SubResource("PlaneMesh_gqrd6")
surface_material_override/0 = ExtResource("1_t2125")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1198079134]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
material_override = ExtResource("1_t2125")
mesh = SubResource("PlaneMesh_gqrd6")

View File

@ -69,56 +69,56 @@ func _notification(what):
RenderingServer.call_on_render_thread(ClearCompute)
func _process(delta: float) -> void:
if (currentDrawMode != DRAWINGMODE.none):
var selection = EditorInterface.get_selection()
if (selection.get_selected_nodes().size() == 0):
if (driver != null):
selection.add_node(driver)
if (currentDrawMode == DRAWINGMODE.color):
drawBrushToolMaterial.albedo_color = DrawColorPicker.color
if (drawingCurrently):
RenderingServer.call_on_render_thread(ExecuteCompute.bindv([delta, false, Color.WHITE]))
func InitialSceneLoad() -> void:
var sceneRoot = await FindSceneNode()
SceneChanged(sceneRoot)
print("initial scene load")
await get_tree().create_timer(0.5).timeout
var version_info = Engine.get_version_info()
var file = FileAccess.open("res://addons/SunshineClouds2/CloudsInc.txt", FileAccess.READ_WRITE)
var content = file.get_as_text()
var major_index = content.find("GODOT_VERSION_MAJOR") + 20
var minor_index = content.find("GODOT_VERSION_MINOR") + 20
if content[major_index] != str(version_info.major) || content[minor_index] != str(version_info.minor):
print("Version conflict, updating and reimporting...")
content[major_index] = str(version_info.major)
content[minor_index] = str(version_info.minor)
file.store_string(content)
file.close()
EditorInterface.get_resource_filesystem().reimport_files(["res://addons/SunshineClouds2/SunshineCloudsCompute.glsl", "res://addons/SunshineClouds2/SunshineCloudsPostCompute.glsl", "res://addons/SunshineClouds2/SunshineCloudsPreCompute.glsl"])
await get_tree().create_timer(0.1).timeout
if driver != null && driver.clouds_resource != null:
driver.clouds_resource.refresh_compute()
print("Version change may cause some errors during first load, these should not impact functionality, if there is impacted functionality please report it to the creator of the plugin.")
print("Version updated, launching normally.")
else:
print("Version correct, launching normally.")
file.close()
func RefreshSceneNode() -> void:
var sceneRoot = await FindSceneNode()
SceneChanged(sceneRoot)
func FindSceneNode() -> Node:
@ -129,25 +129,25 @@ func FindSceneNode() -> Node:
await get_tree().create_timer(0.1).timeout
iterationcount -= 1
sceneRoot = editorInterface.get_edited_scene_root()
return sceneRoot
func SceneChanged(scene_root : Node):
pause_updates = true
DrawWeightEnable.button_pressed = false
DrawColorEnable.button_pressed = false
last_image_data = []
DisableDrawMode()
currentRoot = scene_root
driver = RetrieveCloudsDriver(scene_root)
if (driver != null && driver.clouds_resource != null):
driver.clouds_resource.maskDrawnRid = RID()
MaskWidth.value = driver.clouds_resource.mask_width_km
UseMaskToggle.button_pressed = driver.clouds_resource.extra_large_used_as_mask
if ResourceLoader.exists(MaskFilePath.text):
var image = ResourceLoader.load(MaskFilePath.text) as Image
if image:
@ -161,28 +161,28 @@ func RetrieveCloudsDriver(scene_root : Node) -> SunshineCloudsDriverGD:
for child in scene_root.get_children():
if child is SunshineCloudsDriverGD:
return child
var newDriver = RetrieveCloudsDriver(child)
if (newDriver):
return newDriver
return null
func UpdateStatusDisplay():
if (driver != null):
CloudsActiveToggle.disabled = false
CloudsActiveToggle.button_pressed = driver.update_continuously
CloudsDriverRefresh.visible = false
CloudsStatusLabel.text = "Clouds present"
if ResourceLoader.exists(MaskFilePath.text):
MaskStatusLabel.text = "Mask Detected: " + MaskFilePath.text
DrawTools.visible = true
else:
MaskStatusLabel.text = "Mask Not Found."
DrawTools.visible = false
else:
CloudsActiveToggle.disabled = true
CloudsActiveToggle.button_pressed = false
@ -190,14 +190,14 @@ func UpdateStatusDisplay():
DrawTools.visible = false
CloudsDriverAccordianButton.Open()
CloudsStatusLabel.text = "Clouds not present"
if driver != null && driver.clouds_resource != null:
UseMaskToggle.disabled = false
else:
UseMaskToggle.disabled = true
UseMaskToggle.button_pressed = false
func UpdateMaskSettings():
if (pause_updates):
@ -210,13 +210,13 @@ func UpdateMaskSettings():
driver.clouds_resource.extra_large_noise_patterns = ResourceLoader.load("res://addons/SunshineClouds2/NoiseTextures/ExtraLargeScaleNoise.tres")
elif ResourceLoader.exists(MaskFilePath.text):
driver.clouds_resource.extra_large_noise_patterns = ResourceLoader.load(MaskFilePath.text)
InitializeMaskTexture()
func InitializeMaskTexture():
#if (driver == null):
#return
if not rd:
rd = RenderingServer.get_rendering_device()
if not rd:
@ -234,23 +234,23 @@ func InitializeMaskTexture():
image = Image.create(MaskResolution.value, MaskResolution.value, false, Image.FORMAT_RGBAF)
image.clear_mipmaps()
image.save_exr(MaskFilePath.text)
var editorFileSystem := EditorInterface.get_resource_filesystem()
editorFileSystem.scan()
else:
var image = Image.create(MaskResolution.value, MaskResolution.value, false, Image.FORMAT_RGBAF)
image.clear_mipmaps()
image.save_exr(MaskFilePath.text)
var editorFileSystem := EditorInterface.get_resource_filesystem()
editorFileSystem.scan()
#driver.clouds_resource.mask_rid = currentDrawingMask
#driver.clouds_resource.extra_large_noise_patterns = ResourceLoader.load(MaskFilePath.text)
#driver.clouds_resource.last_size = Vector2i.ZERO
RenderingServer.call_on_render_thread(InitializeCompute)
call_deferred("UpdateStatusDisplay")
@ -262,11 +262,11 @@ func InitializeCompute():
computeEnabled = false
#if driver == null:
#return
#currentDrawingMask = driver.clouds_resource.mask_rid
#if !currentDrawingMask.is_valid():
#return
if not rd:
rd = RenderingServer.get_rendering_device()
if not rd:
@ -276,13 +276,13 @@ func InitializeCompute():
ClearCompute()
if not compute_shader:
compute_shader = ResourceLoader.load("res://addons/SunshineClouds2/Dock/MaskDrawingCompute.glsl")
if not compute_shader:
computeEnabled = false
printerr("No Shader found for drawing tool.")
ClearCompute()
return
var shader_spirv = compute_shader.get_spirv()
shader = rd.shader_create_from_spirv(shader_spirv)
if shader.is_valid():
@ -292,33 +292,33 @@ func InitializeCompute():
printerr("Shader failed to compile.")
ClearCompute()
return
var uniforms_array : Array[RDUniform] = []
var newFormat : RDTextureFormat = RDTextureFormat.new()
newFormat.format = RenderingDevice.DATA_FORMAT_R32G32B32A32_SFLOAT
newFormat.height = MaskResolution.value
newFormat.width = MaskResolution.value
newFormat.usage_bits = RenderingDevice.TEXTURE_USAGE_STORAGE_BIT | RenderingDevice.TEXTURE_USAGE_SAMPLING_BIT | RenderingDevice.TEXTURE_USAGE_CAN_COPY_FROM_BIT
var image : Image
if ResourceLoader.exists(MaskFilePath.text):
image = (ResourceLoader.load(MaskFilePath.text) as CompressedTexture2D).get_image()
if image == null:
image = Image.create(MaskResolution.value, MaskResolution.value, false, Image.FORMAT_RGBAF)
currentDrawingMask = rd.texture_create(newFormat, RDTextureView.new(), [image.get_data()])
if (driver != null && driver.clouds_resource != null):
driver.clouds_resource.update_mask(currentDrawingMask)
var mask_uniform = RDUniform.new()
mask_uniform.uniform_type = RenderingDevice.UNIFORM_TYPE_IMAGE
mask_uniform.binding = 0
mask_uniform.add_id(currentDrawingMask)
uniforms_array.append(mask_uniform)
uniform_set = rd.uniform_set_create(uniforms_array, shader, 0)
computeEnabled = true
@ -327,7 +327,7 @@ func ClearCompute():
if shader.is_valid():
rd.free_rid(shader)
shader = RID()
if currentDrawingMask.is_valid():
rd.free_rid(currentDrawingMask)
currentDrawingMask = RID()
@ -335,41 +335,41 @@ func ClearCompute():
func ExecuteCompute(delta : float, setvalue : bool, setvalueColor : Color):
if (!computeEnabled):
return
var resolution : float = MaskResolution.value
var drawPosition : Vector2 = Vector2.ZERO
var drawRadius = 0.0
if (!setvalue):
drawPosition = Vector2(drawBrushTool.global_position.x, drawBrushTool.global_position.z)
drawPosition = Vector2(drawBrushTool.global_position.x, drawBrushTool.global_position.z)
drawPosition = (drawPosition / (MaskWidth.value * 1000.0)) * resolution
drawPosition += Vector2(resolution * 0.5, resolution * 0.5)
drawRadius = (drawBrushTool.scale.x / (MaskWidth.value * 1000.0)) * resolution
var groups = ceil(resolution / 32) + 1
var drawSharpness = DrawSharpness.value
var drawStrength = DrawStrength.value * delta
if (drawInverted):
drawStrength = -drawStrength
var editingtype : float = 0.0
if setvalue:
editingtype = 2.0
elif currentDrawMode == DRAWINGMODE.color:
editingtype = 1.0
var ms = StreamPeerBuffer.new()
ms.put_float(drawPosition.x)
ms.put_float(drawPosition.y)
ms.put_float(drawRadius)
ms.put_float(drawSharpness)
ms.put_float(drawStrength)
ms.put_float(editingtype)
ms.put_float(resolution)
ms.put_float(0.0)
if (setvalue):
ms.put_float(setvalueColor.r)
ms.put_float(setvalueColor.g)
@ -380,19 +380,19 @@ func ExecuteCompute(delta : float, setvalue : bool, setvalueColor : Color):
ms.put_float(DrawColorPicker.color.g)
ms.put_float(DrawColorPicker.color.b)
ms.put_float(0.0)
push_constants = ms.get_data_array()
var compute_list = rd.compute_list_begin()
rd.compute_list_bind_compute_pipeline(compute_list, pipeline)
rd.compute_list_bind_uniform_set(compute_list, uniform_set, 0)
rd.compute_list_set_push_constant(compute_list, push_constants, push_constants.size())
rd.compute_list_dispatch(compute_list, groups, groups, 1)
rd.compute_list_end()
await RenderingServer.frame_post_draw
rd.texture_get_data_async(currentDrawingMask, 0, CompleteRetreval)
func CompleteRetreval(data):
@ -403,7 +403,7 @@ func CompleteRetreval(data):
#var image = Image.create_from_data(MaskResolution.value, MaskResolution.value, false, Image.FORMAT_RGBAF, data)
##rd.texture_update(RenderingServer.texture_get_rd_texture(currentMask.get_rid()),0, data)
#image.save_png(MaskFilePath.text)
#var editorFileSystem := EditorInterface.get_resource_filesystem()
#editorFileSystem.scan()
@ -416,7 +416,7 @@ func IterateCursorLocation(viewport_camera: Camera3D, event:InputEventMouse):
currentCloudsHeight = DefaultCloudsHeight
var ray_origin = viewport_camera.project_ray_origin(event.position)
var ray_dir = viewport_camera.project_ray_normal(event.position)
var result : float = RetrieveTravelDistance(ray_origin, ray_dir)
if (result == -1.0):
drawBrushTool.visible = false
@ -443,7 +443,7 @@ func DrawModeCancel():
DrawWeightEnable.button_pressed = false
DrawColorEnable.button_pressed = false
DisableDrawMode()
func SetDrawScale():
if driver != null && driver.clouds_resource != null:
@ -462,7 +462,7 @@ func FloodFill():
func DrawWeightToggled():
DrawColorEnable.button_pressed = false
if DrawWeightEnable.button_pressed && EnableDrawMode():
currentDrawMode = DRAWINGMODE.weight
else:
@ -470,7 +470,7 @@ func DrawWeightToggled():
func DrawColorToggled():
DrawWeightEnable.button_pressed = false
if DrawColorEnable.button_pressed && EnableDrawMode():
currentDrawMode = DRAWINGMODE.color
else:
@ -479,7 +479,7 @@ func DrawColorToggled():
func EnableDrawMode() -> bool:
if (!computeEnabled):
InitializeMaskTexture()
if (!is_instance_valid(currentRoot)):
return false
drawBrushToolMaterial.albedo_color = DrawingColor
@ -487,7 +487,7 @@ func EnableDrawMode() -> bool:
drawBrushTool = drawBrushToolPrefab.instantiate() as MeshInstance3D
currentRoot.add_child(drawBrushTool)
SetDrawScale()
return true
func DisableDrawMode():
@ -498,21 +498,21 @@ func DisableDrawMode():
if (drawingCurrently):
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
drawingCurrently = false
if (is_instance_valid(drawBrushTool)):
drawBrushTool.queue_free()
drawBrushTool = null
if (last_image_data.size() > 0):
print("Saved image to disc")
var image = Image.create_from_data(MaskResolution.value, MaskResolution.value, false, Image.FORMAT_RGBAF, last_image_data)
image.save_exr(MaskFilePath.text)
var editorFileSystem := EditorInterface.get_resource_filesystem()
editorFileSystem.scan()
last_image_data = []
if (driver != null && driver.clouds_resource != null):
driver.clouds_resource.extra_large_noise_patterns = ResourceLoader.load(MaskFilePath.text)
@ -530,8 +530,8 @@ func RetrieveTravelDistance(pos : Vector3, dir :Vector3) -> float:
var t : float = (currentCloudsHeight - pos.y) / dir.y
if (dir.y == 0 || t < 0.0):
return -1.0
return t * dir.length()
#endregion
@ -542,7 +542,7 @@ func RetrieveTravelDistance(pos : Vector3, dir :Vector3) -> float:
func SetCloudsUpdating():
if (driver != null):
driver.update_continuously = CloudsActiveToggle.button_pressed
UpdateStatusDisplay()
@ -730,7 +730,7 @@ func SetCloudsUpdating():
#
#if (thisColor.a == 0):
#thisColor.r = color.r
#thisColor.g = color.g
#thisColor.g = color.g
#thisColor.b = color.b
#
#thisColor.r = lerpf(thisColor.r, color.r, stampAlpha * power * 0.2)
@ -739,7 +739,7 @@ func SetCloudsUpdating():
#
### Handles opacity, which always goes up.
#thisColor.a = clampf(thisColor.a + (stampAlpha * abs(power) * 0.2), 0.0, 1.0)
#currentImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#currentImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#pixelChanged = true
#
#var imageTexture = ImageTexture.create_from_image(currentImage)
@ -791,7 +791,7 @@ func SetCloudsUpdating():
#
#thisColor.a = clampf(thisColor.a - stampAlpha * power * 0.2, 0.0, 1.0)
#
#currentImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#currentImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#
#var imageTexture = ImageTexture.create_from_image(currentImage)
#
@ -837,7 +837,7 @@ func SetCloudsUpdating():
#stampAlpha = stampImage.get_pixel(x * stampScale,y * stampScale).a
##thisColor.r += (0.5 - thisColor.r) * stampAlpha * power * 0.2
#thisColor.g = clampf(thisColor.g - stampAlpha * power * 0.2, 0.0, 1.0)
#newHeightmapImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#newHeightmapImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#
#var imageTexture = ImageTexture.create_from_image(newHeightmapImage)
#
@ -879,7 +879,7 @@ func SetCloudsUpdating():
#thisColor.r = clampf(thisColor.r + ((heightValue - thisColor.r) * stampAlpha * power * 0.2), 0.0, 1.0)
#thisColor.g = clampf(thisColor.g + ((0.0 - thisColor.g) * stampAlpha * power * 0.05), 0.0, 1.0)
#
#newHeightmapImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#newHeightmapImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#pixelChanged = true
#
#var imageTexture = ImageTexture.create_from_image(newHeightmapImage)
@ -926,7 +926,7 @@ func SetCloudsUpdating():
#thisColor.r = clampf(thisColor.r + (stampAlpha * power * 0.05), 0.0, 1.0)
### Handles opacity, which always goes up.
#thisColor.g = clampf(thisColor.g + (stampAlpha * abs(power) * 0.05), 0.0, 1.0)
#newHeightmapImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#newHeightmapImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#pixelChanged = true
#
#var imageTexture = ImageTexture.create_from_image(newHeightmapImage)
@ -974,7 +974,7 @@ func SetCloudsUpdating():
#thisColor.r = clampf(thisColor.r + ((heightValue - thisColor.r) * stampAlpha * power), 0.0, 1.0)
### Handles opacity, which always goes up.
#thisColor.g = clampf(thisColor.g + (stampAlpha * abs(power) * 0.2), 0.0, 1.0)
#newHeightmapImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#newHeightmapImage.set_pixel(currentPos.x, currentPos.y, thisColor)
#pixelChanged = true
#
#var imageTexture = ImageTexture.create_from_image(newHeightmapImage)

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=3 uid="uid://bsmrb5nocmcin"]
[gd_scene format=3 uid="uid://bsmrb5nocmcin"]
[ext_resource type="Script" uid="uid://dnan3ytl8evv1" path="res://addons/SunshineClouds2/Dock/CloudsEditorController.gd" id="1_c42ej"]
[ext_resource type="Texture2D" uid="uid://l06i8g7p2msv" path="res://addons/SunshineClouds2/Dock/Icons/caret-down-solid.svg" id="2_8dri0"]
@ -17,15 +17,15 @@
[sub_resource type="LabelSettings" id="LabelSettings_yqrwx"]
font_size = 24
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tc6ic"]
bg_color = Color(0.257374, 0.311252, 0.386689, 0.564706)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ml10g"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yqrwx"]
bg_color = Color(0.0680232, 0.0903094, 0.121509, 0.564706)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ml10g"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tc6ic"]
bg_color = Color(0.257374, 0.311252, 0.386689, 0.564706)
[node name="CloudsEditor" type="Control" node_paths=PackedStringArray("CloudsStatusLabel", "CloudsActiveToggle", "CloudsDriverRefresh", "CloudsDriverAccordianButton", "UseMaskToggle", "MaskStatusLabel", "MaskFilePath", "MaskResolution", "MaskWidth", "DrawWeightEnable", "DrawColorEnable", "DrawColorPicker", "DrawTools", "DrawSharpness", "DrawStrength")]
[node name="CloudsEditor" type="Control" unique_id=362376697 node_paths=PackedStringArray("CloudsStatusLabel", "CloudsActiveToggle", "CloudsDriverRefresh", "CloudsDriverAccordianButton", "UseMaskToggle", "MaskStatusLabel", "MaskFilePath", "MaskResolution", "MaskWidth", "DrawWeightEnable", "DrawColorEnable", "DrawColorPicker", "DrawTools", "DrawSharpness", "DrawStrength")]
clip_contents = true
layout_mode = 3
anchors_preset = 15
@ -54,7 +54,7 @@ compute_shader = ExtResource("2_yqrwx")
DrawingColor = Color(0.769578, 0.731927, 0.149317, 1)
InvertedDrawingColor = Color(0.765928, 0.254294, 0.0203708, 1)
[node name="ScrollContainer" type="ScrollContainer" parent="."]
[node name="ScrollContainer" type="ScrollContainer" parent="." unique_id=770122259]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -63,62 +63,62 @@ grow_horizontal = 2
grow_vertical = 2
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer" unique_id=464064826]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="HBoxContainer2" type="HBoxContainer" parent="ScrollContainer/VBoxContainer"]
[node name="HBoxContainer2" type="HBoxContainer" parent="ScrollContainer/VBoxContainer" unique_id=1535684165]
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer2"]
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer2" unique_id=1352354850]
layout_mode = 2
text = "Sunshine Clouds Editor"
label_settings = SubResource("LabelSettings_yqrwx")
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/VBoxContainer/HBoxContainer2"]
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/VBoxContainer/HBoxContainer2" unique_id=1375839300]
layout_mode = 2
texture = ExtResource("2_tc6ic")
expand_mode = 3
[node name="HSeparator2" type="HSeparator" parent="ScrollContainer/VBoxContainer"]
[node name="HSeparator2" type="HSeparator" parent="ScrollContainer/VBoxContainer" unique_id=887177468]
custom_minimum_size = Vector2(0, 18.49)
layout_mode = 2
[node name="MaskStatusOutput" type="Label" parent="ScrollContainer/VBoxContainer"]
[node name="MaskStatusOutput" type="Label" parent="ScrollContainer/VBoxContainer" unique_id=2126510565]
layout_mode = 2
text = "Mask Detected: res://CloudsMask.png"
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer" unique_id=2106248391]
layout_mode = 2
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer" unique_id=1936043114]
layout_mode = 2
text = "Mask Path:"
[node name="LineEdit" type="LineEdit" parent="ScrollContainer/VBoxContainer/HBoxContainer"]
[node name="LineEdit" type="LineEdit" parent="ScrollContainer/VBoxContainer/HBoxContainer" unique_id=506492975]
layout_mode = 2
size_flags_horizontal = 3
text = "res://CloudsMask.exr"
[node name="MaskBuildButton" type="Button" parent="ScrollContainer/VBoxContainer"]
[node name="MaskBuildButton" type="Button" parent="ScrollContainer/VBoxContainer" unique_id=1819643519]
layout_mode = 2
size_flags_horizontal = 0
text = "Refresh Mask Reference"
[node name="MaskSettings" type="PanelContainer" parent="ScrollContainer/VBoxContainer"]
[node name="MaskSettings" type="PanelContainer" parent="ScrollContainer/VBoxContainer" unique_id=972869217]
layout_mode = 2
theme_override_styles/panel = ExtResource("2_x2oe8")
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/MaskSettings"]
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/MaskSettings" unique_id=198460849]
layout_mode = 2
[node name="AccordionButton" type="Button" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer"]
[node name="AccordionButton" type="Button" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer" unique_id=421207079]
layout_mode = 2
theme_override_styles/hover = SubResource("StyleBoxFlat_tc6ic")
theme_override_styles/pressed = SubResource("StyleBoxFlat_yqrwx")
theme_override_styles/normal = SubResource("StyleBoxEmpty_ml10g")
theme_override_styles/pressed = SubResource("StyleBoxFlat_yqrwx")
theme_override_styles/hover = SubResource("StyleBoxFlat_tc6ic")
text = "Mask Settings"
icon = ExtResource("2_8dri0")
alignment = 0
@ -127,32 +127,32 @@ expand_icon = true
script = ExtResource("2_wp1ai")
metadata/_custom_type_script = "uid://cb3ho8b5lgx55"
[node name="Resolution" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer"]
[node name="Resolution" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer" unique_id=1804253951]
visible = false
layout_mode = 2
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer/Resolution"]
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer/Resolution" unique_id=1320699702]
layout_mode = 2
size_flags_horizontal = 3
text = "Mask Resolution"
[node name="SpinBox" type="SpinBox" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer/Resolution"]
[node name="SpinBox" type="SpinBox" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer/Resolution" unique_id=970594129]
layout_mode = 2
size_flags_horizontal = 3
min_value = 32.0
max_value = 1024.0
value = 128.0
[node name="Width" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer"]
[node name="Width" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer" unique_id=1045130911]
visible = false
layout_mode = 2
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer/Width"]
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer/Width" unique_id=545873309]
layout_mode = 2
size_flags_horizontal = 3
text = "Mask Width"
[node name="SpinBox" type="SpinBox" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer/Width"]
[node name="SpinBox" type="SpinBox" parent="ScrollContainer/VBoxContainer/MaskSettings/VBoxContainer/Width" unique_id=1446687885]
layout_mode = 2
size_flags_horizontal = 3
min_value = 12.0
@ -160,18 +160,18 @@ max_value = 1024.0
value = 32.0
suffix = "km"
[node name="PanelContainer" type="PanelContainer" parent="ScrollContainer/VBoxContainer"]
[node name="PanelContainer" type="PanelContainer" parent="ScrollContainer/VBoxContainer" unique_id=1357883538]
layout_mode = 2
theme_override_styles/panel = ExtResource("2_x2oe8")
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/PanelContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/PanelContainer" unique_id=1017226943]
layout_mode = 2
[node name="AccordionButton" type="Button" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer"]
[node name="AccordionButton" type="Button" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer" unique_id=578301561]
layout_mode = 2
theme_override_styles/hover = SubResource("StyleBoxFlat_tc6ic")
theme_override_styles/pressed = SubResource("StyleBoxFlat_yqrwx")
theme_override_styles/normal = SubResource("StyleBoxEmpty_ml10g")
theme_override_styles/pressed = SubResource("StyleBoxFlat_yqrwx")
theme_override_styles/hover = SubResource("StyleBoxFlat_tc6ic")
text = "Driver Controls
"
icon = ExtResource("2_8dri0")
@ -181,42 +181,42 @@ expand_icon = true
script = ExtResource("2_wp1ai")
metadata/_custom_type_script = "uid://cb3ho8b5lgx55"
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer" unique_id=952511997]
layout_mode = 2
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer/VBoxContainer"]
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer/VBoxContainer" unique_id=1813299133]
layout_mode = 2
text = "Clouds not present"
[node name="CheckButton" type="CheckButton" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer/VBoxContainer"]
[node name="CheckButton" type="CheckButton" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer/VBoxContainer" unique_id=650148943]
layout_mode = 2
text = "Clouds Updating"
[node name="DriverQueryButton" type="Button" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer/VBoxContainer"]
[node name="DriverQueryButton" type="Button" parent="ScrollContainer/VBoxContainer/PanelContainer/VBoxContainer/VBoxContainer" unique_id=1709573530]
visible = false
layout_mode = 2
size_flags_horizontal = 0
text = "Search for Driver"
[node name="DrawTools" type="PanelContainer" parent="ScrollContainer/VBoxContainer"]
[node name="DrawTools" type="PanelContainer" parent="ScrollContainer/VBoxContainer" unique_id=1755221934]
layout_mode = 2
theme_override_styles/panel = ExtResource("2_x2oe8")
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools"]
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools" unique_id=1605152195]
layout_mode = 2
[node name="MaskUsageCheckButton" type="CheckButton" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer"]
[node name="MaskUsageCheckButton" type="CheckButton" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer" unique_id=681365358]
layout_mode = 2
text = "Clouds Mask Enabled"
[node name="MarginContainer2" type="MarginContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer"]
[node name="MarginContainer2" type="MarginContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer" unique_id=216467861]
layout_mode = 2
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="Label" type="Label" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer2"]
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer2" unique_id=649479362]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
text = "Draw mode allows for creation of clouds directly using a mask texture.
@ -230,24 +230,24 @@ Ctrl+Left Mouse Button: Erase Clouds
Escape: Disable draw mode"
autowrap_mode = 3
[node name="HSeparator" type="HSeparator" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer"]
[node name="HSeparator" type="HSeparator" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer" unique_id=800269391]
custom_minimum_size = Vector2(0, 17.4)
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer"]
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer" unique_id=1711720688]
layout_mode = 2
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="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer" unique_id=1909489706]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer" unique_id=1215661436]
layout_mode = 2
[node name="CloudsWeight" type="TextureButton" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
[node name="CloudsWeight" type="TextureButton" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer" unique_id=1386020221]
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
tooltip_text = "Draw Cloud Weight"
@ -259,7 +259,7 @@ texture_hover = ExtResource("9_kg56n")
ignore_texture_size = true
stretch_mode = 4
[node name="CloudsColor" type="TextureButton" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
[node name="CloudsColor" type="TextureButton" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer" unique_id=186194708]
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
tooltip_text = "Draw Cloud Color"
@ -271,25 +271,25 @@ texture_hover = ExtResource("12_lwakg")
ignore_texture_size = true
stretch_mode = 4
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer" unique_id=141375043]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 25
alignment = 2
[node name="Button" type="Button" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer/HBoxContainer"]
[node name="Button" type="Button" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer/HBoxContainer" unique_id=1085391012]
layout_mode = 2
tooltip_text = "Will fill the mask with the selected color and draw strength (This cannot be undone, make backups of your mask texture)."
focus_mode = 0
theme_override_colors/font_hover_color = Color(1, 0.1, 0, 0.968627)
theme_override_colors/font_color = Color(0.94, 0.313333, 0, 0.682353)
theme_override_colors/font_hover_color = Color(1, 0.1, 0, 0.968627)
text = "Flood Fill mask"
[node name="HSeparator" type="HSeparator" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer"]
[node name="HSeparator" type="HSeparator" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer" unique_id=685461375]
custom_minimum_size = Vector2(0, 17.4)
layout_mode = 2
[node name="GridContainer" type="GridContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer"]
[node name="GridContainer" type="GridContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer" unique_id=757083104]
layout_mode = 2
theme_override_constants/h_separation = 20
columns = 2
@ -297,7 +297,7 @@ script = ExtResource("13_w3q10")
TargetColumnCount = 2
MinimumColumnSize = 250.0
[node name="ColorPicker" type="ColorPicker" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer"]
[node name="ColorPicker" type="ColorPicker" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer" unique_id=1466934307]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
@ -308,32 +308,32 @@ color_mode = 3
sampler_visible = false
presets_visible = false
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer" unique_id=1588511621]
layout_mode = 2
size_flags_horizontal = 3
[node name="Label2" type="Label" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer/VBoxContainer"]
[node name="Label2" type="Label" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer/VBoxContainer" unique_id=334628929]
layout_mode = 2
text = "Draw Strength:"
[node name="Strength" type="HSlider" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer/VBoxContainer"]
[node name="Strength" type="HSlider" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer/VBoxContainer" unique_id=1029778811]
layout_mode = 2
max_value = 5.0
step = 0.0
value = 0.5
[node name="Label3" type="Label" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer/VBoxContainer"]
[node name="Label3" type="Label" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer/VBoxContainer" unique_id=218539694]
layout_mode = 2
text = "Draw Sharpness:"
[node name="Sharpness" type="HSlider" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer/VBoxContainer"]
[node name="Sharpness" type="HSlider" parent="ScrollContainer/VBoxContainer/DrawTools/VBoxContainer/MarginContainer/VBoxContainer/GridContainer/VBoxContainer" unique_id=397603480]
layout_mode = 2
min_value = 0.05
max_value = 0.95
step = 0.0
value = 0.2
[node name="HSeparator" type="HSeparator" parent="ScrollContainer/VBoxContainer"]
[node name="HSeparator" type="HSeparator" parent="ScrollContainer/VBoxContainer" unique_id=564330968]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2

View File

@ -1,4 +1,4 @@
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://b3fgicfsq7yvh"]
[gd_resource type="StandardMaterial3D" format=3 uid="uid://b3fgicfsq7yvh"]
[sub_resource type="Gradient" id="Gradient_t2125"]
offsets = PackedFloat32Array(0, 0.911197, 0.945946, 1)

View File

@ -1,9 +1,9 @@
[gd_resource type="CompositorEffect" script_class="SunshineCloudsGD" load_steps=11 format=3 uid="uid://lftlvgnckiw"]
[gd_resource type="CompositorEffect" script_class="SunshineCloudsGD" format=3 uid="uid://lftlvgnckiw"]
[ext_resource type="RDShaderFile" uid="uid://dx1y5cye1m1hu" path="res://addons/SunshineClouds2/SunshineCloudsCompute.glsl" id="1_yndmv"]
[ext_resource type="CompressedTexture3D" uid="uid://dei12lsgrjpyu" path="res://addons/SunshineClouds2/NoiseTextures/curl_noise_varied.tga" id="2_tfvib"]
[ext_resource type="CompressedTexture3D" uid="uid://b3uyfsp4in821" path="res://addons/SunshineClouds2/NoiseTextures/bluenoise_Dither.png" id="3_ueybc"]
[ext_resource type="Texture2D" uid="uid://nqybc2s70fwk" path="res://CloudsMask.exr" id="4_yndmv"]
[ext_resource type="Texture2D" uid="uid://de2nsujnhdlg0" path="res://addons/SunshineClouds2/NoiseTextures/ExtraLargeScaleNoise.tres" id="4_o3amn"]
[ext_resource type="Texture2D" uid="uid://g02m2ewpwusq" path="res://addons/SunshineClouds2/NoiseTextures/HeightGradient.tres" id="5_mx051"]
[ext_resource type="NoiseTexture3D" uid="uid://6ed3lvlpbqmg" path="res://addons/SunshineClouds2/NoiseTextures/LargeScaleNoise.tres" id="6_nhpek"]
[ext_resource type="RDShaderFile" uid="uid://chxheyp4eohbc" path="res://addons/SunshineClouds2/SunshineCloudsPostCompute.glsl" id="8_jjdov"]
@ -22,10 +22,8 @@ needs_motion_vectors = true
needs_normal_roughness = false
script = ExtResource("10_08sum")
clouds_coverage = 0.726
clouds_density = 1.0
atmospheric_density = 0.5
lighting_density = 0.55
fog_effect_ground = 1.0
clouds_anisotropy = 0.057
cloud_ambient_color = Color(1, 1, 1, 1)
cloud_ambient_tint = Color(0.1276, 0.18766, 0.22, 1)
@ -40,15 +38,12 @@ clouds_sharpness = 0.5
clouds_detail_power = 0.0
curl_noise_strength = 6184.1
lighting_sharpness = 0.34
cloud_floor = 1500.0
cloud_ceiling = 15000.0
max_step_count = 300.0
max_lighting_steps = 32.0
resolution_scale = 1
lod_bias = 1.0
dither_noise = ExtResource("3_ueybc")
height_gradient = ExtResource("5_mx051")
extra_large_noise_patterns = ExtResource("4_yndmv")
extra_large_noise_patterns = ExtResource("4_o3amn")
large_scale_noise = ExtResource("6_nhpek")
medium_scale_noise = ExtResource("2_tfvib")
small_scale_noise = ExtResource("11_ea8oe")
@ -56,22 +51,12 @@ curl_noise = ExtResource("2_tfvib")
dither_speed = 100.825
blur_power = 1.0
blur_quality = 1.0
reflections_globalshaderparam = ""
min_step_distance = 100.0
max_step_distance = 600.0
lighting_travel_distance = 8000.0
extra_large_used_as_mask = true
mask_width_km = 512.0
pre_pass_compute_shader = ExtResource("9_cr0n2")
compute_shader = ExtResource("1_yndmv")
post_pass_compute_shader = ExtResource("8_jjdov")
origin_offset = Vector3(0, 0, 0)
wind_direction = Vector3(1, 0, 1)
extra_large_scale_clouds_position = Vector3(109661, 0, 109661)
large_scale_clouds_position = Vector3(21006.4, 0, 21006.4)
medium_scale_clouds_position = Vector3(3193.39, 0, 3193.39)
detail_clouds_position = Vector3(859.701, -859.701, 859.701)
current_time = 274.928
directional_lights_data = Array[Vector4]([Vector4(0.240525, 0.876693, -0.416602, 32), Vector4(1, 1, 1, 1)])
point_lights_data = Array[Vector4]([])
point_effector_data = Array[Vector4]([])

View File

@ -1,4 +1,4 @@
[gd_resource type="NoiseTexture2D" load_steps=3 format=3 uid="uid://de2nsujnhdlg0"]
[gd_resource type="NoiseTexture2D" format=3 uid="uid://de2nsujnhdlg0"]
[sub_resource type="Gradient" id="Gradient_uclom"]
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1)

View File

@ -1,4 +1,4 @@
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://g02m2ewpwusq"]
[gd_resource type="GradientTexture1D" format=3 uid="uid://g02m2ewpwusq"]
[sub_resource type="Gradient" id="Gradient_x3ayj"]
interpolation_mode = 2

View File

@ -1,4 +1,4 @@
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://cacgk3h78y717"]
[gd_resource type="GradientTexture1D" format=3 uid="uid://cacgk3h78y717"]
[sub_resource type="Gradient" id="Gradient_lleky"]
offsets = PackedFloat32Array(0, 0.524823, 0.947658, 1)

View File

@ -1,4 +1,4 @@
[gd_resource type="NoiseTexture3D" load_steps=2 format=3 uid="uid://6ed3lvlpbqmg"]
[gd_resource type="NoiseTexture3D" format=3 uid="uid://6ed3lvlpbqmg"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_o0m1u"]
noise_type = 2

View File

@ -1,4 +1,4 @@
[gd_resource type="NoiseTexture3D" load_steps=2 format=3 uid="uid://dxyewgt7o40m0"]
[gd_resource type="NoiseTexture3D" format=3 uid="uid://dxyewgt7o40m0"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_n1wlf"]
noise_type = 2

View File

@ -1,4 +1,4 @@
[gd_resource type="NoiseTexture3D" load_steps=2 format=3 uid="uid://bnck2kxeg5bkg"]
[gd_resource type="NoiseTexture3D" format=3 uid="uid://bnck2kxeg5bkg"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_j7bl3"]
noise_type = 2

View File

@ -1,4 +1,4 @@
[gd_resource type="CompositorEffect" script_class="SunshineCloudsGD" load_steps=12 format=3 uid="uid://560d7ytxsg8x"]
[gd_resource type="CompositorEffect" script_class="SunshineCloudsGD" format=3 uid="uid://560d7ytxsg8x"]
[ext_resource type="RDShaderFile" uid="uid://dx1y5cye1m1hu" path="res://addons/SunshineClouds2/SunshineCloudsCompute.glsl" id="1_tv1nj"]
[ext_resource type="CompressedTexture3D" uid="uid://dei12lsgrjpyu" path="res://addons/SunshineClouds2/NoiseTextures/curl_noise_varied.tga" id="2_tv1nj"]
@ -16,36 +16,27 @@
resource_local_to_scene = false
resource_name = ""
enabled = true
effect_callback_type = 2
effect_callback_type = 3
access_resolved_color = true
access_resolved_depth = true
needs_motion_vectors = true
needs_normal_roughness = false
needs_separate_specular = false
script = ExtResource("10_ynas1")
clouds_coverage = 0.572
clouds_density = 1.0
atmospheric_density = 0.5
lighting_density = 0.55
clouds_anisotropy = 0.3
cloud_ambient_color = Color(0.351825, 0.624474, 0.784178, 1)
atmosphere_color = Color(0.80121, 0.892869, 0.961545, 1)
ambient_occlusion_color = Color(0.17, 0.04386, 0.0272, 0.54902)
extra_large_noise_scale = 320000.0
accumulation_decay = 0.5
large_noise_scale = 50000.0
medium_noise_scale = 6000.0
small_noise_scale = 2500.0
clouds_sharpness = 1.0
clouds_detail_strength = 0.9
curl_noise_strength = 5000.0
lighting_sharpness = 0.05
lighting_density = 0.55
cloud_floor = 1500.0
cloud_ceiling = 25000.0
max_step_count = 50.0
max_lighting_steps = 32.0
resolution_scale = 0
lod_bias = 1.0
accumulation_decay = 0.5
dither_noise = ExtResource("3_1ah3a")
height_gradient = ExtResource("5_rjkq8")
extra_large_noise_patterns = ExtResource("4_wc4ok")
@ -54,19 +45,11 @@ medium_scale_noise = ExtResource("7_ttvxe")
small_scale_noise = ExtResource("11_oob35")
curl_noise = ExtResource("2_tv1nj")
dither_speed = 100.0
blur_power = 2.0
blur_quality = 1.0
min_step_distance = 100.0
max_step_distance = 600.0
lighting_travel_distance = 5000.0
pre_pass_compute_shader = ExtResource("9_qvdau")
compute_shader = ExtResource("1_tv1nj")
post_pass_compute_shader = ExtResource("8_5qsws")
extra_large_scale_clouds_position = Vector3(48234.7, 0, 48234.7)
large_scale_clouds_position = Vector3(12997.9, 0, 12997.9)
medium_scale_clouds_position = Vector3(-2794.2, 0, -2794.2)
detail_clouds_position = Vector3(-722.566, 722.566, -722.566)
current_time = 952.838
directional_lights_data = Array[Vector4]([Vector4(0.298016, 0.410183, -0.861938, 32), Vector4(0.937703, 0.780682, 0.675313, 1.06334), Vector4(0.156437, 0.215317, 0.963933, 6), Vector4(0.532392, 0.762997, 0.90349, 0.0368955)])
point_lights_data = Array[Vector4]([])
metadata/_custom_type_script = "uid://dnblgqynq1t7l"

View File

@ -14,4 +14,4 @@ func _ready() -> void:
func set_title(value: String) -> void:
title = value
$Label.text = value
$Label.text = value

View File

@ -75,7 +75,7 @@ func get_active_script() -> TodoItem:
for todo_item in todo_items:
if todo_item.script_path == script_path:
return todo_item
# nothing found
var todo_item := TodoItem.new(script_path, [])
return todo_item
@ -99,20 +99,20 @@ func go_to_script(script_path: String, line_number : int = 0) -> void:
func get_exec_flags(editor_path : String, script_path : String, line_number : int) -> PackedStringArray:
var args : PackedStringArray
var script_global_path = ProjectSettings.globalize_path(script_path)
if editor_path.ends_with("code.cmd") or editor_path.ends_with("code"): ## VS Code
args.append(ProjectSettings.globalize_path("res://"))
args.append("--goto")
args.append(script_global_path + ":" + str(line_number))
elif editor_path.ends_with("rider64.exe") or editor_path.ends_with("rider"): ## Rider
args.append("--line")
args.append(str(line_number))
args.append(script_global_path)
else: ## Atom / Sublime
args.append(script_global_path + ":" + str(line_number))
return args
@ -139,7 +139,7 @@ func populate_settings() -> void:
colour_picker.index = i
colours_container.add_child(colour_picker)
colour_picker.colour_picker.color_changed.connect(change_colour.bind(i))
## Create Patterns
var pattern_edit: PatternEdit = PatternEditScene.instantiate()
pattern_edit.text = patterns[i][0]
@ -151,10 +151,10 @@ func populate_settings() -> void:
pattern_edit, colour_picker))
pattern_edit.case_checkbox.button_pressed = patterns[i][2]
pattern_edit.case_checkbox.toggled.connect(case_sensitive_pattern.bind(i))
var pattern_button := $VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4/Patterns/AddPatternButton
$VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4/Patterns.move_child(pattern_button, 0)
# path filtering
var ignore_paths_field := ignore_textbox
if not ignore_paths_field.is_connected("text_changed", _on_ignore_paths_changed):
@ -164,7 +164,7 @@ func populate_settings() -> void:
ignore_paths_text += path + ", "
ignore_paths_text = ignore_paths_text.trim_suffix(", ")
ignore_paths_field.text = ignore_paths_text
auto_refresh_button.button_pressed = auto_refresh
@ -196,17 +196,17 @@ func add_toggle_buttons() -> void:
#### CONFIG FILE ####
func create_config_file() -> void:
var config = ConfigFile.new()
config.set_value("scripts", "full_path", full_path)
config.set_value("scripts", "sort_alphabetical", _sort_alphabetical)
config.set_value("scripts", "script_colour", script_colour)
config.set_value("scripts", "ignore_paths", ignore_paths)
config.set_value("patterns", "patterns", patterns)
config.set_value("config", "auto_refresh", auto_refresh)
config.set_value("config", "builtin_enabled", builtin_enabled)
var err = config.save("res://addons/Todo_Manager/todo.cfg")
@ -247,7 +247,7 @@ func _on_Tree_item_activated() -> void:
match tabs.current_tab:
0:
item = project_tree.get_selected()
1:
1:
item = current_tree.get_selected()
if item.get_metadata(0) is Todo:
var todo : Todo = item.get_metadata(0)
@ -317,7 +317,7 @@ func _on_ignore_paths_changed(new_text: String) -> void:
var split: Array = text.split(',')
ignore_paths.clear()
for elem in split:
if elem == " " || elem == "":
if elem == " " || elem == "":
continue
ignore_paths.push_front(elem.lstrip(' ').rstrip(' '))
# validate so no empty string slips through (all paths ignored)

View File

@ -1,17 +1,17 @@
[gd_scene load_steps=2 format=3 uid="uid://bie1xn8v1kd66"]
[gd_scene format=3 uid="uid://bie1xn8v1kd66"]
[ext_resource type="Script" uid="uid://dd033y6smf6jh" path="res://addons/Todo_Manager/ColourPicker.gd" id="1"]
[node name="TODOColour" type="HBoxContainer"]
[node name="TODOColour" type="HBoxContainer" unique_id=785816653]
offset_right = 105.0
offset_bottom = 31.0
script = ExtResource("1")
metadata/_edit_use_custom_anchors = false
[node name="Label" type="Label" parent="."]
[node name="Label" type="Label" parent="." unique_id=715826635]
layout_mode = 2
[node name="TODOColourPickerButton" type="ColorPickerButton" parent="."]
[node name="TODOColourPickerButton" type="ColorPickerButton" parent="." unique_id=314907518]
custom_minimum_size = Vector2(40, 0)
layout_mode = 2
size_flags_horizontal = 10

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=6 format=3 uid="uid://b6k0dtftankcx"]
[gd_scene format=3 uid="uid://b6k0dtftankcx"]
[ext_resource type="Script" uid="uid://csgl0vtsudgxh" path="res://addons/Todo_Manager/Dock.gd" id="1"]
[ext_resource type="Script" uid="uid://bnyawhvwojm5g" path="res://addons/Todo_Manager/Project.gd" id="2"]
@ -8,7 +8,7 @@
[sub_resource type="ButtonGroup" id="ButtonGroup_kltg3"]
[node name="Dock" type="Control"]
[node name="Dock" type="Control" unique_id=1204749050]
custom_minimum_size = Vector2(0, 200)
layout_mode = 3
anchors_preset = 15
@ -19,7 +19,7 @@ grow_vertical = 2
size_flags_vertical = 3
script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1241093524]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -29,42 +29,42 @@ grow_horizontal = 2
grow_vertical = 2
metadata/_edit_layout_mode = 1
[node name="Header" type="HBoxContainer" parent="VBoxContainer"]
[node name="Header" type="HBoxContainer" parent="VBoxContainer" unique_id=27341675]
visible = false
layout_mode = 2
[node name="HeaderLeft" type="HBoxContainer" parent="VBoxContainer/Header"]
[node name="HeaderLeft" type="HBoxContainer" parent="VBoxContainer/Header" unique_id=174271681]
layout_mode = 2
size_flags_horizontal = 3
[node name="Title" type="Label" parent="VBoxContainer/Header/HeaderLeft"]
[node name="Title" type="Label" parent="VBoxContainer/Header/HeaderLeft" unique_id=1336633445]
layout_mode = 2
text = "Todo Dock:"
[node name="HeaderRight" type="HBoxContainer" parent="VBoxContainer/Header"]
[node name="HeaderRight" type="HBoxContainer" parent="VBoxContainer/Header" unique_id=410469710]
layout_mode = 2
size_flags_horizontal = 3
alignment = 2
[node name="SettingsButton" type="Button" parent="VBoxContainer/Header/HeaderRight"]
[node name="SettingsButton" type="Button" parent="VBoxContainer/Header/HeaderRight" unique_id=1440758706]
visible = false
layout_mode = 2
toggle_mode = true
text = "Settings"
[node name="TabContainer" type="TabContainer" parent="VBoxContainer"]
[node name="TabContainer" type="TabContainer" parent="VBoxContainer" unique_id=2023250801]
layout_mode = 2
size_flags_vertical = 3
current_tab = 0
[node name="Project" type="Control" parent="VBoxContainer/TabContainer"]
[node name="Project" type="Control" parent="VBoxContainer/TabContainer" unique_id=1554380443]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("2")
metadata/_tab_index = 0
[node name="Panel" type="Panel" parent="VBoxContainer/TabContainer/Project"]
[node name="Panel" type="Panel" parent="VBoxContainer/TabContainer/Project" unique_id=1370402114]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -73,7 +73,7 @@ offset_right = -106.0
grow_horizontal = 2
grow_vertical = 2
[node name="Tree" type="Tree" parent="VBoxContainer/TabContainer/Project/Panel"]
[node name="Tree" type="Tree" parent="VBoxContainer/TabContainer/Project/Panel" unique_id=1975922509]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -82,7 +82,7 @@ grow_horizontal = 2
grow_vertical = 2
hide_root = true
[node name="TogglesScrollContainer" type="ScrollContainer" parent="VBoxContainer/TabContainer/Project"]
[node name="TogglesScrollContainer" type="ScrollContainer" parent="VBoxContainer/TabContainer/Project" unique_id=1209067138]
layout_mode = 1
anchors_preset = 11
anchor_left = 1.0
@ -92,12 +92,12 @@ offset_left = -102.0
grow_horizontal = 0
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Project/TogglesScrollContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Project/TogglesScrollContainer" unique_id=1667812499]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 6
[node name="Current" type="Control" parent="VBoxContainer/TabContainer"]
[node name="Current" type="Control" parent="VBoxContainer/TabContainer" unique_id=756352290]
visible = false
layout_mode = 2
size_flags_horizontal = 3
@ -105,14 +105,16 @@ size_flags_vertical = 3
script = ExtResource("3")
metadata/_tab_index = 1
[node name="Panel" type="Panel" parent="VBoxContainer/TabContainer/Current"]
[node name="Panel" type="Panel" parent="VBoxContainer/TabContainer/Current" unique_id=804872884]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -106.0
grow_horizontal = 2
grow_vertical = 2
[node name="Tree" type="Tree" parent="VBoxContainer/TabContainer/Current/Panel"]
[node name="Tree" type="Tree" parent="VBoxContainer/TabContainer/Current/Panel" unique_id=291108364]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -122,7 +124,7 @@ grow_vertical = 2
hide_folding = true
hide_root = true
[node name="TogglesScrollContainer" type="ScrollContainer" parent="VBoxContainer/TabContainer/Current"]
[node name="TogglesScrollContainer" type="ScrollContainer" parent="VBoxContainer/TabContainer/Current" unique_id=533614186]
layout_mode = 1
anchors_preset = 11
anchor_left = 1.0
@ -132,17 +134,17 @@ offset_left = -102.0
grow_horizontal = 0
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Current/TogglesScrollContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Current/TogglesScrollContainer" unique_id=1219720372]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 6
[node name="Settings" type="Panel" parent="VBoxContainer/TabContainer"]
[node name="Settings" type="Panel" parent="VBoxContainer/TabContainer" unique_id=468727735]
visible = false
layout_mode = 2
metadata/_tab_index = 2
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/TabContainer/Settings"]
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/TabContainer/Settings" unique_id=870100764]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -150,195 +152,196 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer"]
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer" unique_id=101276466]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer" unique_id=959339496]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Scripts" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer"]
[node name="Scripts" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer" unique_id=864284139]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Scripts"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Scripts" unique_id=1241269614]
layout_mode = 2
text = "Scripts:"
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Scripts"]
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Scripts" unique_id=1478905033]
layout_mode = 2
size_flags_horizontal = 3
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer" unique_id=2132175538]
layout_mode = 2
size_flags_horizontal = 5
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer"]
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer" unique_id=304367472]
layout_mode = 2
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2"]
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2" unique_id=1894956868]
layout_mode = 2
[node name="Scripts" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2"]
[node name="Scripts" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2" unique_id=1662336298]
layout_mode = 2
[node name="ScriptName" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts"]
[node name="ScriptName" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts" unique_id=22000042]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptName"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptName" unique_id=1790505866]
layout_mode = 2
text = "Script Name:"
[node name="FullPathCheckBox" type="CheckBox" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptName"]
[node name="FullPathCheckBox" type="CheckBox" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptName" unique_id=1968883103]
layout_mode = 2
button_group = SubResource("ButtonGroup_kqxcu")
text = "Full path"
[node name="ShortNameCheckBox" type="CheckBox" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptName"]
[node name="ShortNameCheckBox" type="CheckBox" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptName" unique_id=1559796267]
layout_mode = 2
button_pressed = true
button_group = SubResource("ButtonGroup_kqxcu")
text = "Short name"
[node name="ScriptSort" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts"]
[node name="ScriptSort" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts" unique_id=989649140]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptSort"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptSort" unique_id=2033348422]
layout_mode = 2
text = "Sort Order:"
[node name="AlphSortCheckBox" type="CheckBox" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptSort"]
[node name="AlphSortCheckBox" type="CheckBox" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptSort" unique_id=2145191680]
layout_mode = 2
button_pressed = true
button_group = SubResource("ButtonGroup_kltg3")
text = "Alphabetical"
[node name="RAlphSortCheckBox" type="CheckBox" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptSort"]
[node name="RAlphSortCheckBox" type="CheckBox" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptSort" unique_id=570697736]
layout_mode = 2
button_group = SubResource("ButtonGroup_kltg3")
text = "Reverse Alphabetical"
[node name="ScriptColour" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts"]
[node name="ScriptColour" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts" unique_id=1916300073]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptColour"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptColour" unique_id=1138974091]
layout_mode = 2
text = "Script Colour:"
[node name="ScriptColourPickerButton" type="ColorPickerButton" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptColour"]
[node name="ScriptColourPickerButton" type="ColorPickerButton" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/ScriptColour" unique_id=1182427585]
custom_minimum_size = Vector2(40, 0)
layout_mode = 2
color = Color(0.8, 0.807843, 0.827451, 1)
[node name="IgnorePaths" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts"]
[node name="IgnorePaths" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts" unique_id=1591502692]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/IgnorePaths"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/IgnorePaths" unique_id=373503450]
layout_mode = 2
text = "Ignore Paths:"
[node name="TextEdit" type="LineEdit" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/IgnorePaths"]
[node name="TextEdit" type="LineEdit" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/IgnorePaths" unique_id=528379115]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
text = "res://addons/"
expand_to_text_length = true
[node name="Label3" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/IgnorePaths"]
[node name="Label3" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer2/Scripts/IgnorePaths" unique_id=110012608]
layout_mode = 2
text = "(Separated by commas)"
[node name="TODOColours" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer"]
[node name="TODOColours" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer" unique_id=2108837314]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/TODOColours"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/TODOColours" unique_id=841428171]
layout_mode = 2
text = "TODO Colours:"
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/TODOColours"]
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/TODOColours" unique_id=622009134]
layout_mode = 2
size_flags_horizontal = 3
[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer"]
[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer" unique_id=1992569792]
layout_mode = 2
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer3"]
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer3" unique_id=1331625040]
layout_mode = 2
[node name="Colours" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer3"]
[node name="Colours" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer3" unique_id=50457909]
layout_mode = 2
[node name="Patterns" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer"]
[node name="Patterns" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer" unique_id=511890335]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Patterns"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Patterns" unique_id=1019667112]
layout_mode = 2
text = "Patterns:"
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Patterns"]
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Patterns" unique_id=436405540]
layout_mode = 2
size_flags_horizontal = 3
[node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer"]
[node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer" unique_id=90665229]
layout_mode = 2
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4"]
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4" unique_id=1799066620]
layout_mode = 2
[node name="Patterns" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4"]
[node name="Patterns" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4" unique_id=198072501]
layout_mode = 2
size_flags_horizontal = 3
[node name="AddPatternButton" type="Button" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4/Patterns"]
[node name="AddPatternButton" type="Button" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4/Patterns" unique_id=1729729708]
layout_mode = 2
size_flags_horizontal = 0
text = "Add"
[node name="Config" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer"]
[node name="Config" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer" unique_id=1166488370]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Config"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Config" unique_id=135816524]
layout_mode = 2
text = "Config:"
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Config"]
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/Config" unique_id=1352669420]
layout_mode = 2
size_flags_horizontal = 3
[node name="HBoxContainer5" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer"]
[node name="HBoxContainer5" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer" unique_id=1375948452]
layout_mode = 2
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5"]
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5" unique_id=351922633]
layout_mode = 2
[node name="Patterns" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5"]
[node name="Patterns" type="VBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5" unique_id=1671521638]
layout_mode = 2
[node name="RefreshCheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns"]
[node name="RefreshCheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns" unique_id=1411691592]
layout_mode = 2
size_flags_horizontal = 0
button_pressed = true
text = "Auto Refresh"
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns" unique_id=280557495]
layout_mode = 2
[node name="BuiltInCheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns/HBoxContainer"]
[node name="BuiltInCheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns/HBoxContainer" unique_id=743010332]
layout_mode = 2
text = "Scan Built-in Scripts"
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns/HBoxContainer"]
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns/HBoxContainer" unique_id=1583493044]
layout_mode = 2
[node name="DefaultButton" type="Button" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns"]
[node name="DefaultButton" type="Button" parent="VBoxContainer/TabContainer/Settings/ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5/Patterns" unique_id=1803957791]
layout_mode = 2
size_flags_horizontal = 0
text = "Reset to default"
[node name="Timer" type="Timer" parent="."]
[node name="Timer" type="Timer" parent="." unique_id=760996325]
one_shot = true
[node name="RescanButton" type="Button" parent="."]
[node name="RescanButton" type="Button" parent="." unique_id=1852594874]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0

View File

@ -1,4 +1,4 @@
[gd_resource type="Theme" load_steps=4 format=3 uid="uid://cignxcqjqfst0"]
[gd_resource type="Theme" format=3 uid="uid://cignxcqjqfst0"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0amm0"]
bg_color = Color(1, 1, 1, 0.0784314)

View File

@ -1,25 +1,25 @@
[gd_scene load_steps=2 format=3 uid="uid://bx11sel2q5wli"]
[gd_scene format=3 uid="uid://bx11sel2q5wli"]
[ext_resource type="Script" uid="uid://betg01sk02eyy" path="res://addons/Todo_Manager/PatternEdit.gd" id="1_mujq6"]
[node name="Pattern" type="HBoxContainer"]
[node name="Pattern" type="HBoxContainer" unique_id=1021642839]
script = ExtResource("1_mujq6")
[node name="LineEdit" type="LineEdit" parent="."]
[node name="LineEdit" type="LineEdit" parent="." unique_id=873277121]
layout_mode = 2
size_flags_horizontal = 0
expand_to_text_length = true
[node name="RemoveButton" type="Button" parent="."]
[node name="RemoveButton" type="Button" parent="." unique_id=1658261436]
layout_mode = 2
text = "-"
[node name="MarginContainer" type="MarginContainer" parent="."]
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1247754058]
custom_minimum_size = Vector2(20, 0)
layout_mode = 2
size_flags_horizontal = 0
[node name="CaseSensativeCheckbox" type="CheckBox" parent="."]
[node name="CaseSensativeCheckbox" type="CheckBox" parent="." unique_id=2109793582]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0

View File

@ -1,13 +1,6 @@
[gd_scene load_steps=5 format=3 uid="uid://bq0tjjng7hdvt"]
[gd_scene format=3 uid="uid://bq0tjjng7hdvt"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5887s"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rtgj1"]
bg_color = Color(1, 1, 1, 0.0705882)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_f41nr"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5887s"]
bg_color = Color(0.12549, 0.156863, 0.192157, 1)
@ -18,12 +11,19 @@ corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_f41nr"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rtgj1"]
bg_color = Color(1, 1, 1, 0.0705882)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[node name="Button" type="Button"]
theme_override_styles/focus = SubResource("StyleBoxEmpty_5887s")
theme_override_styles/hover = SubResource("StyleBoxFlat_rtgj1")
theme_override_styles/pressed = SubResource("StyleBoxFlat_5887s")
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5887s"]
[node name="Button" type="Button" unique_id=45942412]
theme_override_styles/normal = SubResource("StyleBoxEmpty_f41nr")
theme_override_styles/pressed = SubResource("StyleBoxFlat_5887s")
theme_override_styles/hover = SubResource("StyleBoxFlat_rtgj1")
theme_override_styles/focus = SubResource("StyleBoxEmpty_5887s")
toggle_mode = true
text = "TODO"

View File

@ -42,7 +42,7 @@ func _on_popup(popup: PopupMenu) -> void:
var data = _popup_data[popup]
data.letter_indices.clear()
data.number_indices.clear()
for i in popup.get_item_count():
if popup.is_item_separator(i):
continue
@ -66,10 +66,10 @@ func _on_input(event: InputEvent, popup: PopupMenu) -> void:
if num >= 0 and num < data.number_indices.size():
idx = data.number_indices[num]
elif event.keycode >= KEY_A and event.keycode <= KEY_Z:
idx = data.letter_indices.get(char(event.keycode).to_lower(), -1)
idx = data.letter_indices.get(char(event.keycode).to_lower(), -1)
if idx < 0:
return
popup.index_pressed.emit(idx)
popup.id_pressed.emit(popup.get_item_id(idx))
@ -80,4 +80,4 @@ func _on_input(event: InputEvent, popup: PopupMenu) -> void:
else:
for opened_popup in _opened_popups:
opened_popup.hide()
_opened_popups.clear()
_opened_popups.clear()

View File

@ -1,14 +1,15 @@
[gd_scene format=3 uid="uid://ofreh5nfb6pa"]
[node name="_BBCodeEditColorPicker" type="PopupPanel"]
size = Vector2i(306, 584)
[node name="_BBCodeEditColorPicker" type="PopupPanel" unique_id=640777161]
oversampling_override = 1.0
size = Vector2i(306, 615)
visible = true
[node name="ColorPicker" type="ColorPicker" parent="."]
[node name="ColorPicker" type="ColorPicker" parent="." unique_id=606655438]
offset_left = 4.0
offset_top = 4.0
offset_right = 302.0
offset_bottom = 580.0
offset_bottom = 611.0
color = Color(0.83233, 0, 0.367475, 1)
deferred_mode = true
picker_shape = 3

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://blcco0wsttyck"]
[gd_scene format=3 uid="uid://blcco0wsttyck"]
[ext_resource type="Script" path="res://addons/bbcode_edit.editor/completions_db/fetch_builtin_classes.gd" id="1_tk0nj"]
[ext_resource type="Script" uid="uid://bd4tjvv6hc3wg" path="res://addons/bbcode_edit.editor/completions_db/fetch_builtin_classes.gd" id="1_tk0nj"]
[node name="FetchClassDB" type="Node"]
[node name="FetchClassDB" type="Node" unique_id=1960374959]
script = ExtResource("1_tk0nj")

View File

@ -1,9 +1,8 @@
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://iwvr14kdcfog"]
[gd_resource type="ShaderMaterial" format=3 uid="uid://iwvr14kdcfog"]
[ext_resource type="Shader" uid="uid://qnh11q0505w1" path="res://addons/qb2/textures/grid_shader.gdshader" id="1_uxs6n"]
[ext_resource type="Shader" uid="uid://qnh11q0505w1" path="res://addons/boxconstructor/textures/grid_shader.gdshader" id="1_uxs6n"]
[resource]
render_priority = 0
shader = ExtResource("1_uxs6n")
shader_parameter/grid_scale = 5.0
shader_parameter/camera_distance = 0.0

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=24 format=3 uid="uid://cmopiwmgjwjb8"]
[gd_scene format=3 uid="uid://cmopiwmgjwjb8"]
[ext_resource type="Script" uid="uid://dka86u1f7d6j3" path="res://addons/controller_icons/demo/IconRemapper.gd" id="2"]
[ext_resource type="Script" uid="uid://c2w177bb5r70x" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_ww1q8"]
@ -8,170 +8,128 @@ resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/a"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_julos"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/b"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_p7fj8"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/x"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_e65pp"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/y"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_drwxf"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/lb"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_lpg8q"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/rb"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_tqj64"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/lt"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_g8v8u"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/rt"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_uqh53"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/l_stick_click"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_jt7n0"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/r_stick_click"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_jmm2v"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/select"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_2w7la"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/start"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_rhnqu"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/dpad"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_vr4j2"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/dpad_up"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_hp6k2"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/dpad_down"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_4trym"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/dpad_left"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_61h51"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/dpad_right"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_adhf2"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/home"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_dl7nm"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/share"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_3ry3e"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/l_stick"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_t68xw"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_ww1q8")
path = "joypad/r_stick"
show_mode = 0
force_type = 0
[node name="Control" type="MarginContainer"]
[node name="Control" type="MarginContainer" unique_id=1601220344]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@ -185,388 +143,388 @@ theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50
script = ExtResource("2")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=2113602990]
layout_mode = 2
size_flags_vertical = 4
[node name="Icons" type="HBoxContainer" parent="HBoxContainer"]
[node name="Icons" type="HBoxContainer" parent="HBoxContainer" unique_id=2042321209]
layout_mode = 2
size_flags_horizontal = 3
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/Icons"]
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/Icons" unique_id=1588384910]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="A" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="A" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=828846414]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/A"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/A" unique_id=1639101535]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_oaqcv")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/A"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/A" unique_id=2002072623]
layout_mode = 2
text = " A"
[node name="B" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="B" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=530527236]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/B"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/B" unique_id=311854177]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_julos")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/B"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/B" unique_id=742681211]
layout_mode = 2
text = " B"
[node name="X" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="X" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=1216881237]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/X"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/X" unique_id=1134210632]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_p7fj8")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/X"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/X" unique_id=2045270978]
layout_mode = 2
text = " X"
[node name="Y" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="Y" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=92402848]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/Y"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/Y" unique_id=1089343973]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_e65pp")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/Y"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/Y" unique_id=251740913]
layout_mode = 2
text = " Y"
[node name="LB" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="LB" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=1364911905]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/LB"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/LB" unique_id=1750157085]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_drwxf")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/LB"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/LB" unique_id=1531558358]
layout_mode = 2
text = " Left Button"
[node name="RB" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="RB" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=1706771022]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/RB"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/RB" unique_id=1117113796]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_lpg8q")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/RB"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/RB" unique_id=1873473067]
layout_mode = 2
text = " Right Button"
[node name="LT" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="LT" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=2013852229]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/LT"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/LT" unique_id=767932665]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_tqj64")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/LT"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/LT" unique_id=1809526097]
layout_mode = 2
text = " Left Trigger"
[node name="RT" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="RT" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=611329461]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/RT"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/RT" unique_id=753689515]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_g8v8u")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/RT"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/RT" unique_id=360097868]
layout_mode = 2
text = " Right Trigger"
[node name="L_Stick_Click" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="L_Stick_Click" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=1021312656]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/L_Stick_Click"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/L_Stick_Click" unique_id=196612978]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_uqh53")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/L_Stick_Click"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/L_Stick_Click" unique_id=1229175729]
layout_mode = 2
text = " Left Stick Click"
[node name="R_Stick_Click" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="R_Stick_Click" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=446452917]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/R_Stick_Click"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/R_Stick_Click" unique_id=1016697128]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_jt7n0")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/R_Stick_Click"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/R_Stick_Click" unique_id=603637549]
layout_mode = 2
text = " Right Stick Click"
[node name="Select" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer"]
[node name="Select" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer" unique_id=765509629]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/Select"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer/Select" unique_id=508101453]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_jmm2v")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/Select"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer/Select" unique_id=74765183]
layout_mode = 2
text = " Select"
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer/Icons"]
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer/Icons" unique_id=669632449]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Start" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="Start" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=1347203654]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Start"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Start" unique_id=888575917]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_2w7la")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Start"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Start" unique_id=1413576549]
layout_mode = 2
text = " Start"
[node name="DPAD" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="DPAD" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=635174029]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD" unique_id=22453084]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_rhnqu")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD" unique_id=1896964404]
layout_mode = 2
text = " DPAD"
[node name="DPAD_Up" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="DPAD_Up" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=2136653652]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Up"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Up" unique_id=1196271658]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_vr4j2")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Up"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Up" unique_id=557696580]
layout_mode = 2
text = " DPAD Up"
[node name="DPAD_Down" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="DPAD_Down" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=751473320]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Down"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Down" unique_id=250059860]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_hp6k2")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Down"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Down" unique_id=1221071287]
layout_mode = 2
text = " DPAD Down"
[node name="DPAD_Left" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="DPAD_Left" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=1283505542]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Left"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Left" unique_id=247813281]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_4trym")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Left"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Left" unique_id=842044898]
layout_mode = 2
text = " DPAD Left"
[node name="DPAD_Right" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="DPAD_Right" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=327601506]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Right"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Right" unique_id=1605667890]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_61h51")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Right"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/DPAD_Right" unique_id=1537851016]
layout_mode = 2
text = " DPAD Right"
[node name="Home" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="Home" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=1033572084]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Home"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Home" unique_id=955772623]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_adhf2")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Home"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Home" unique_id=68599875]
layout_mode = 2
text = " Home"
[node name="Share" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="Share" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=1105867899]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Share"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/Share" unique_id=1702175857]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_dl7nm")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Share"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/Share" unique_id=2015954125]
layout_mode = 2
text = " Share"
[node name="LStick" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="LStick" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=1390480704]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/LStick"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/LStick" unique_id=1009982985]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_3ry3e")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/LStick"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/LStick" unique_id=1053978823]
layout_mode = 2
text = " Left Stick"
[node name="RStick" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2"]
[node name="RStick" type="HBoxContainer" parent="HBoxContainer/Icons/VBoxContainer2" unique_id=583566754]
unique_name_in_owner = true
layout_mode = 2
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/RStick"]
[node name="ControllerTextureRect" type="TextureRect" parent="HBoxContainer/Icons/VBoxContainer2/RStick" unique_id=378109797]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = SubResource("Texture2D_t68xw")
expand_mode = 1
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/RStick"]
[node name="Label" type="Label" parent="HBoxContainer/Icons/VBoxContainer2/RStick" unique_id=199561110]
layout_mode = 2
text = " Right Stick"
[node name="Buttons" type="VBoxContainer" parent="HBoxContainer"]
[node name="Buttons" type="VBoxContainer" parent="HBoxContainer" unique_id=445244860]
layout_mode = 2
size_flags_horizontal = 3
[node name="Auto" type="Button" parent="HBoxContainer/Buttons"]
[node name="Auto" type="Button" parent="HBoxContainer/Buttons" unique_id=2062244470]
layout_mode = 2
size_flags_vertical = 3
text = "[ Set to automatic ]"
[node name="Luna" type="Button" parent="HBoxContainer/Buttons"]
[node name="Luna" type="Button" parent="HBoxContainer/Buttons" unique_id=864235910]
layout_mode = 2
size_flags_vertical = 3
text = "Amazon Luna"
[node name="PS3" type="Button" parent="HBoxContainer/Buttons"]
[node name="PS3" type="Button" parent="HBoxContainer/Buttons" unique_id=424372257]
layout_mode = 2
size_flags_vertical = 3
text = "PlayStation 3"
[node name="PS4" type="Button" parent="HBoxContainer/Buttons"]
[node name="PS4" type="Button" parent="HBoxContainer/Buttons" unique_id=821608071]
layout_mode = 2
size_flags_vertical = 3
text = "PlayStation 4"
[node name="PS5" type="Button" parent="HBoxContainer/Buttons"]
[node name="PS5" type="Button" parent="HBoxContainer/Buttons" unique_id=457410724]
layout_mode = 2
size_flags_vertical = 3
text = "PlayStation 5"
[node name="Stadia" type="Button" parent="HBoxContainer/Buttons"]
[node name="Stadia" type="Button" parent="HBoxContainer/Buttons" unique_id=1830727623]
layout_mode = 2
size_flags_vertical = 3
text = "Google Stadia"
[node name="Steam" type="Button" parent="HBoxContainer/Buttons"]
[node name="Steam" type="Button" parent="HBoxContainer/Buttons" unique_id=352643125]
layout_mode = 2
size_flags_vertical = 3
text = "Steam Controller"
[node name="SteamDeck" type="Button" parent="HBoxContainer/Buttons"]
[node name="SteamDeck" type="Button" parent="HBoxContainer/Buttons" unique_id=512465783]
layout_mode = 2
size_flags_vertical = 3
text = "Steam Deck"
[node name="Switch" type="Button" parent="HBoxContainer/Buttons"]
[node name="Switch" type="Button" parent="HBoxContainer/Buttons" unique_id=391643661]
layout_mode = 2
size_flags_vertical = 3
text = "Nintendo Switch Controller"
[node name="Joycon" type="Button" parent="HBoxContainer/Buttons"]
[node name="Joycon" type="Button" parent="HBoxContainer/Buttons" unique_id=1198970687]
layout_mode = 2
size_flags_vertical = 3
text = "Nintendo Switch JoyCon"
[node name="OUYA" type="Button" parent="HBoxContainer/Buttons"]
[node name="OUYA" type="Button" parent="HBoxContainer/Buttons" unique_id=1969505297]
layout_mode = 2
size_flags_vertical = 3
text = "OUYA"
[node name="Xbox360" type="Button" parent="HBoxContainer/Buttons"]
[node name="Xbox360" type="Button" parent="HBoxContainer/Buttons" unique_id=1020761430]
layout_mode = 2
size_flags_vertical = 3
text = "Xbox 360"
[node name="XboxOne" type="Button" parent="HBoxContainer/Buttons"]
[node name="XboxOne" type="Button" parent="HBoxContainer/Buttons" unique_id=1140165637]
layout_mode = 2
size_flags_vertical = 3
text = "Xbox One"
[node name="XboxSeries" type="Button" parent="HBoxContainer/Buttons"]
[node name="XboxSeries" type="Button" parent="HBoxContainer/Buttons" unique_id=1879189543]
layout_mode = 2
size_flags_vertical = 3
text = "Xbox Series"

View File

@ -1,22 +1,18 @@
[gd_scene load_steps=10 format=3 uid="uid://8ypaj35qfhyr"]
[gd_scene format=3 uid="uid://8ypaj35qfhyr"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="1_vfnng"]
[ext_resource type="Script" uid="uid://c2w177bb5r70x" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="1_vfnng"]
[sub_resource type="Texture2D" id="Texture2D_s5m8q"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("1_vfnng")
path = "ui_accept"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_m553g"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("1_vfnng")
path = "joypad/x"
show_mode = 0
force_type = 0
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_htjm2"]
@ -32,28 +28,22 @@ resource_local_to_scene = false
resource_name = ""
script = ExtResource("1_vfnng")
path = "joypad/a"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_8wr4o"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("1_vfnng")
path = "joypad/x"
show_mode = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_82sge"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("1_vfnng")
path = "switch/controllers_separate"
show_mode = 0
force_type = 0
[node name="Showcase" type="Node"]
[node name="Showcase" type="Node" unique_id=1853009769]
[node name="RichTextLabel" type="RichTextLabel" parent="."]
[node name="RichTextLabel" type="RichTextLabel" parent="." unique_id=311871433]
offset_left = 150.0
offset_top = 25.0
offset_right = 1002.0
@ -63,7 +53,7 @@ text = "Controller Icons provides automatic icons for all major controllers, key
It provides a [b]ControllerIconTexture[/b] resource that can be set on any node that accepts a [b]Texture2D[/b], such as:"
[node name="Label" type="Label" parent="."]
[node name="Label" type="Label" parent="." unique_id=2089452325]
offset_left = 117.0
offset_top = 151.0
offset_right = 292.0
@ -71,7 +61,7 @@ offset_bottom = 174.0
text = "TextureRect / Sprite2D"
horizontal_alignment = 1
[node name="TextureRect" type="TextureRect" parent="."]
[node name="TextureRect" type="TextureRect" parent="." unique_id=1638555432]
offset_left = 164.0
offset_top = 187.0
offset_right = 235.0
@ -79,7 +69,7 @@ offset_bottom = 258.0
texture = SubResource("Texture2D_s5m8q")
expand_mode = 1
[node name="Label2" type="Label" parent="."]
[node name="Label2" type="Label" parent="." unique_id=1618102161]
offset_left = 357.0
offset_top = 152.0
offset_right = 451.0
@ -87,7 +77,7 @@ offset_bottom = 175.0
text = "Button"
horizontal_alignment = 1
[node name="Button" type="Button" parent="."]
[node name="Button" type="Button" parent="." unique_id=386361376]
offset_left = 340.0
offset_top = 191.0
offset_right = 468.0
@ -96,7 +86,7 @@ text = "Attack"
icon = SubResource("Texture2D_m553g")
expand_icon = true
[node name="Label3" type="Label" parent="."]
[node name="Label3" type="Label" parent="." unique_id=1216578298]
offset_left = 571.0
offset_top = 151.0
offset_right = 665.0
@ -104,30 +94,30 @@ offset_bottom = 174.0
text = "Sprite3D"
horizontal_alignment = 1
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
[node name="SubViewportContainer" type="SubViewportContainer" parent="." unique_id=499067772]
offset_left = 546.0
offset_top = 187.0
offset_right = 689.0
offset_bottom = 332.0
stretch = true
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer" unique_id=1033804356]
handle_input_locally = false
size = Vector2i(143, 145)
render_target_update_mode = 4
[node name="Camera3D" type="Camera3D" parent="SubViewportContainer/SubViewport"]
[node name="Camera3D" type="Camera3D" parent="SubViewportContainer/SubViewport" unique_id=1893496646]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.125, 0.745)
environment = SubResource("Environment_klhn5")
[node name="Sprite3D" type="Sprite3D" parent="SubViewportContainer/SubViewport"]
[node name="Sprite3D" type="Sprite3D" parent="SubViewportContainer/SubViewport" unique_id=2116904746]
texture = SubResource("Texture2D_utrwd")
[node name="Label3D" type="Label3D" parent="SubViewportContainer/SubViewport"]
[node name="Label3D" type="Label3D" parent="SubViewportContainer/SubViewport" unique_id=224740689]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.573528, 0)
text = "Jump"
[node name="Label4" type="Label" parent="."]
[node name="Label4" type="Label" parent="." unique_id=616620769]
offset_left = 826.0
offset_top = 152.0
offset_right = 934.0
@ -135,7 +125,7 @@ offset_bottom = 175.0
text = "RichTextLabel"
horizontal_alignment = 1
[node name="RichTextLabel2" type="RichTextLabel" parent="."]
[node name="RichTextLabel2" type="RichTextLabel" parent="." unique_id=1336285787]
offset_left = 775.0
offset_top = 195.0
offset_right = 993.0
@ -143,7 +133,7 @@ offset_bottom = 279.0
bbcode_enabled = true
text = "Press [img=40]res://demo/icon_respect.tres[/img] to pay respects"
[node name="RichTextLabel3" type="RichTextLabel" parent="."]
[node name="RichTextLabel3" type="RichTextLabel" parent="." unique_id=847900690]
offset_left = 262.0
offset_top = 389.0
offset_right = 858.0
@ -151,7 +141,7 @@ offset_bottom = 421.0
bbcode_enabled = true
text = "You'll need to provide a [b]path[/b] indicating which icon to display, which can be:"
[node name="RichTextLabel4" type="RichTextLabel" parent="."]
[node name="RichTextLabel4" type="RichTextLabel" parent="." unique_id=65109085]
offset_left = 47.0
offset_top = 434.0
offset_right = 373.0
@ -159,7 +149,7 @@ offset_bottom = 525.0
bbcode_enabled = true
text = "[center]An input action, switching automatically between keyboard/mouse and controller[/center]"
[node name="TextureRect2" type="TextureRect" parent="."]
[node name="TextureRect2" type="TextureRect" parent="." unique_id=999760951]
offset_left = 187.0
offset_top = 515.0
offset_right = 258.0
@ -167,7 +157,7 @@ offset_bottom = 586.0
texture = SubResource("Texture2D_s5m8q")
expand_mode = 1
[node name="RichTextLabel5" type="RichTextLabel" parent="."]
[node name="RichTextLabel5" type="RichTextLabel" parent="." unique_id=1640935803]
offset_left = 181.0
offset_top = 596.0
offset_right = 274.0
@ -175,7 +165,7 @@ offset_bottom = 624.0
bbcode_enabled = true
text = "[i]\"ui_accept\"[/i]"
[node name="RichTextLabel6" type="RichTextLabel" parent="."]
[node name="RichTextLabel6" type="RichTextLabel" parent="." unique_id=278249360]
offset_left = 417.0
offset_top = 432.0
offset_right = 777.0
@ -183,7 +173,7 @@ offset_bottom = 523.0
bbcode_enabled = true
text = "[center]A generic joypad path, which shows only controller icons and according to the connected controller type[/center]"
[node name="TextureRect3" type="TextureRect" parent="."]
[node name="TextureRect3" type="TextureRect" parent="." unique_id=971053978]
offset_left = 567.0
offset_top = 513.0
offset_right = 638.0
@ -191,7 +181,7 @@ offset_bottom = 584.0
texture = SubResource("Texture2D_8wr4o")
expand_mode = 1
[node name="RichTextLabel7" type="RichTextLabel" parent="."]
[node name="RichTextLabel7" type="RichTextLabel" parent="." unique_id=704008312]
offset_left = 561.0
offset_top = 594.0
offset_right = 654.0
@ -199,7 +189,7 @@ offset_bottom = 622.0
bbcode_enabled = true
text = "[i]\"joypad/x\"[/i]"
[node name="RichTextLabel8" type="RichTextLabel" parent="."]
[node name="RichTextLabel8" type="RichTextLabel" parent="." unique_id=618244418]
offset_left = 789.0
offset_top = 432.0
offset_right = 1060.0
@ -207,7 +197,7 @@ offset_bottom = 523.0
bbcode_enabled = true
text = "[center]A specific path, which will always display the chosen icon[/center]"
[node name="TextureRect4" type="TextureRect" parent="."]
[node name="TextureRect4" type="TextureRect" parent="." unique_id=2010858813]
offset_left = 874.0
offset_top = 513.0
offset_right = 945.0
@ -215,7 +205,7 @@ offset_bottom = 584.0
texture = SubResource("Texture2D_82sge")
expand_mode = 1
[node name="RichTextLabel9" type="RichTextLabel" parent="."]
[node name="RichTextLabel9" type="RichTextLabel" parent="." unique_id=110686569]
offset_left = 798.0
offset_top = 594.0
offset_right = 1031.0

View File

@ -1,11 +1,9 @@
[gd_resource type="Texture2D" script_class="ControllerIconTexture" load_steps=2 format=3 uid="uid://5bh1m7kwdsah"]
[gd_resource type="Texture2D" script_class="ControllerIconTexture" format=3 uid="uid://5bh1m7kwdsah"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="1_up1mj"]
[ext_resource type="Script" uid="uid://c2w177bb5r70x" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="1_up1mj"]
[resource]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("1_up1mj")
path = "key/f"
show_mode = 0
force_type = 0

View File

@ -16,11 +16,11 @@ var editor_interface : EditorInterface
func populate(editor_interface: EditorInterface) -> void:
self.editor_interface = editor_interface
input_action_populated = false
joypad_path_populated = false
specific_path_populated = false
n_tab_container.current_tab = 0
func get_icon_path() -> String:

View File

@ -1,11 +1,11 @@
[gd_scene load_steps=5 format=3 uid="uid://dijn7haax0boi"]
[gd_scene format=3 uid="uid://dijn7haax0boi"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconPathSelector.gd" id="1_0ucf4"]
[ext_resource type="Script" uid="uid://0iw60ctmug10" path="res://addons/controller_icons/objects/ControllerIconPathSelector.gd" id="1_0ucf4"]
[ext_resource type="PackedScene" uid="uid://bituity863qe4" path="res://addons/controller_icons/objects/path_selection/input_action.tscn" id="2_wlqmh"]
[ext_resource type="PackedScene" uid="uid://b3lplrf2w6kh7" path="res://addons/controller_icons/objects/path_selection/joypad_path.tscn" id="3_6ffwr"]
[ext_resource type="PackedScene" uid="uid://d2ow6e2ba86b6" path="res://addons/controller_icons/objects/path_selection/specific_path.tscn" id="4_3ai5v"]
[node name="ControllerIconPathSelector" type="PanelContainer"]
[node name="ControllerIconPathSelector" type="PanelContainer" unique_id=1810375497]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@ -13,29 +13,30 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_0ucf4")
[node name="TabContainer" type="TabContainer" parent="."]
[node name="TabContainer" type="TabContainer" parent="." unique_id=832593146]
unique_name_in_owner = true
custom_minimum_size = Vector2(850, 450)
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/side_margin = 0
tab_alignment = 1
current_tab = 0
[node name="Input Action" parent="TabContainer" instance=ExtResource("2_wlqmh")]
[node name="Input Action" parent="TabContainer" unique_id=1183809699 instance=ExtResource("2_wlqmh")]
unique_name_in_owner = true
layout_mode = 2
metadata/_tab_index = 0
[node name="Joypad Path" parent="TabContainer" instance=ExtResource("3_6ffwr")]
[node name="Joypad Path" parent="TabContainer" unique_id=592230258 instance=ExtResource("3_6ffwr")]
unique_name_in_owner = true
visible = false
layout_mode = 2
metadata/_tab_index = 1
[node name="Specific Path" parent="TabContainer" instance=ExtResource("4_3ai5v")]
[node name="Specific Path" parent="TabContainer" unique_id=1901750424 instance=ExtResource("4_3ai5v")]
unique_name_in_owner = true
visible = false
layout_mode = 2
metadata/_tab_index = 2
[connection signal="tab_selected" from="TabContainer" to="." method="_on_tab_container_tab_selected"]
[connection signal="done" from="TabContainer/Input Action" to="." method="_on_input_action_done"]
[connection signal="done" from="TabContainer/Joypad Path" to="." method="_on_joypad_path_done"]
[connection signal="done" from="TabContainer/Specific Path" to="." method="_on_specific_path_done"]

View File

@ -1,16 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://ib8ydhcaklwy"]
[gd_scene format=3 uid="uid://ib8ydhcaklwy"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconPathSelectorPopup.gd" id="1_6s0ph"]
[ext_resource type="Script" uid="uid://byshjka72uo8i" path="res://addons/controller_icons/objects/ControllerIconPathSelectorPopup.gd" id="1_6s0ph"]
[ext_resource type="PackedScene" uid="uid://dijn7haax0boi" path="res://addons/controller_icons/objects/ControllerIconPathSelector.tscn" id="2_gfs7t"]
[node name="ControllerIconPathSelectorPopup" type="ConfirmationDialog"]
[node name="ControllerIconPathSelectorPopup" type="ConfirmationDialog" unique_id=716741860]
oversampling_override = 1.0
title = "Select an icon path"
position = Vector2i(0, 36)
size = Vector2i(866, 507)
visible = true
script = ExtResource("1_6s0ph")
[node name="ControllerIconPathSelector" parent="." instance=ExtResource("2_gfs7t")]
[node name="ControllerIconPathSelector" parent="." unique_id=309902607 instance=ExtResource("2_gfs7t")]
offset_left = 8.0
offset_top = 8.0
offset_right = -8.0

View File

@ -53,7 +53,7 @@ func populate(editor_interface: EditorInterface) -> void:
n_tree.clear()
## Using clear() triggers a signal and uses freed nodes.
## Setting the text directly does not.
n_name_filter.text = ""
n_name_filter.text = ""
items.clear()
n_name_filter.right_icon = editor_interface.get_base_control().get_theme_icon("Search", "EditorIcons")

View File

@ -39,7 +39,7 @@ func grab_focus() -> void:
func _input(event):
if not visible: return
if event is InputEventJoypadMotion:
_input_motion(event)
elif event is InputEventJoypadButton:

View File

@ -39,17 +39,17 @@ class ControllerIcons_Icon:
var button : Button
var category : String
var path : String
var selected: bool:
set(_selected):
selected = _selected
_query_visibility()
var filtered: bool:
set(_filtered):
filtered = _filtered
_query_visibility()
func _query_visibility():
if is_instance_valid(button):
button.visible = selected and filtered
@ -93,7 +93,7 @@ func populate(editor_interface: EditorInterface) -> void:
# Directories next
for dir in DirAccess.get_directories_at(base_path):
handle_files(dir, base_path.path_join(dir))
var child : TreeItem = asset_names_root.get_next_in_tree()
if child:
child.select(0)
@ -172,11 +172,11 @@ func _on_name_filter_text_changed(new_text:String):
var filtered : bool = true if new_text.is_empty() else icon.path.findn(new_text) != -1
icon.filtered = filtered
any_visible[key] = any_visible[key] or filtered
asset_name = asset_names_root.get_next_in_tree()
while asset_name:
var category := asset_name.get_text(0)
if any_visible.has(category):
if any_visible.has(category):
var selectable : bool = any_visible[category]
asset_name.set_selectable(0, selectable)
if not selectable:

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://bituity863qe4"]
[gd_scene format=3 uid="uid://bituity863qe4"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/path_selection/InputActionSelector.gd" id="1_shxks"]
[ext_resource type="Script" uid="uid://by7qxtmey10xd" path="res://addons/controller_icons/objects/path_selection/InputActionSelector.gd" id="1_shxks"]
[node name="Input Action" type="Panel"]
[node name="Input Action" type="Panel" unique_id=508820080]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@ -10,7 +10,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_shxks")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1286978156]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -18,31 +18,31 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer"]
[node name="Label" type="Label" parent="VBoxContainer" unique_id=1581056581]
layout_mode = 2
text = "The icon will be tied to an input action, swapping between keyboard/mouse and controller automatically."
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=1461199745]
layout_mode = 2
[node name="NameFilter" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
[node name="NameFilter" type="LineEdit" parent="VBoxContainer/HBoxContainer" unique_id=1079668778]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Filter by name..."
clear_button_enabled = true
[node name="BuiltinActionButton" type="CheckButton" parent="VBoxContainer/HBoxContainer"]
[node name="BuiltinActionButton" type="CheckButton" parent="VBoxContainer/HBoxContainer" unique_id=1514192791]
unique_name_in_owner = true
layout_mode = 2
text = "Show Built-in Actions"
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer" unique_id=28951465]
layout_mode = 2
size_flags_vertical = 3
[node name="Tree" type="Tree" parent="VBoxContainer/ScrollContainer"]
[node name="Tree" type="Tree" parent="VBoxContainer/ScrollContainer" unique_id=1469122051]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=25 format=3 uid="uid://b3lplrf2w6kh7"]
[gd_scene format=3 uid="uid://b3lplrf2w6kh7"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/path_selection/JoypadPathSelector.gd" id="1_4ryog"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_yxfq6"]
[ext_resource type="Script" uid="uid://bc1hpc5l8tbls" path="res://addons/controller_icons/objects/path_selection/JoypadPathSelector.gd" id="1_4ryog"]
[ext_resource type="Script" uid="uid://c2w177bb5r70x" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_yxfq6"]
[sub_resource type="ButtonGroup" id="ButtonGroup_haylq"]
@ -9,192 +9,129 @@
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/l_stick"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_6klsb"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/l_stick_click"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_bij8j"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/r_stick"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_2h0w3"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/r_stick_click"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_kvj2q"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/lb"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_wtcrq"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/lt"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_lfpf5"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/rb"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_b3bsp"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/rt"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_u40go"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/a"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_rnqww"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/b"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_1a2yv"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/x"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_hktfi"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/y"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_2ksy6"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/select"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_08sqi"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/start"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_tivgf"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/home"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_87fow"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/share"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_n4i6p"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_eoyuo"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad_down"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_c660e"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad_right"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_riwus"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad_left"
show_only = 0
force_type = 0
[sub_resource type="Texture2D" id="Texture2D_onmvf"]
resource_local_to_scene = false
resource_name = ""
script = ExtResource("2_yxfq6")
_horizontal_repeat = 1
path = "joypad/dpad_up"
show_only = 0
force_type = 0
[node name="Joypad Path" type="Panel"]
[node name="Joypad Path" type="Panel" unique_id=209868287]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@ -202,7 +139,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_4ryog")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=2045703248]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -210,16 +147,16 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer"]
[node name="Label" type="Label" parent="VBoxContainer" unique_id=1317977901]
layout_mode = 2
text = "The icon will only display a controller icon, changing dynamically according to the connected controller brand."
horizontal_alignment = 1
[node name="Control" type="Control" parent="VBoxContainer"]
[node name="Control" type="Control" parent="VBoxContainer" unique_id=592720465]
layout_mode = 2
size_flags_vertical = 3
[node name="ButtonLabel" type="Label" parent="VBoxContainer/Control"]
[node name="ButtonLabel" type="Label" parent="VBoxContainer/Control" unique_id=1348289364]
unique_name_in_owner = true
custom_minimum_size = Vector2(350, 0)
layout_mode = 1
@ -235,7 +172,7 @@ text = "Press or click on the desired button..."
horizontal_alignment = 1
autowrap_mode = 3
[node name="LStick" type="Button" parent="VBoxContainer/Control"]
[node name="LStick" type="Button" parent="VBoxContainer/Control" unique_id=2022043866]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -254,7 +191,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_nls54")
expand_icon = true
[node name="LStickClick" type="Button" parent="VBoxContainer/Control"]
[node name="LStickClick" type="Button" parent="VBoxContainer/Control" unique_id=1785700028]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -273,7 +210,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_6klsb")
expand_icon = true
[node name="RStick" type="Button" parent="VBoxContainer/Control"]
[node name="RStick" type="Button" parent="VBoxContainer/Control" unique_id=2059894656]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -292,7 +229,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_bij8j")
expand_icon = true
[node name="RStickClick" type="Button" parent="VBoxContainer/Control"]
[node name="RStickClick" type="Button" parent="VBoxContainer/Control" unique_id=1883177053]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -311,7 +248,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_2h0w3")
expand_icon = true
[node name="LB" type="Button" parent="VBoxContainer/Control"]
[node name="LB" type="Button" parent="VBoxContainer/Control" unique_id=1183906897]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -330,7 +267,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_kvj2q")
expand_icon = true
[node name="LT" type="Button" parent="VBoxContainer/Control"]
[node name="LT" type="Button" parent="VBoxContainer/Control" unique_id=1326887677]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -349,7 +286,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_wtcrq")
expand_icon = true
[node name="RB" type="Button" parent="VBoxContainer/Control"]
[node name="RB" type="Button" parent="VBoxContainer/Control" unique_id=458668836]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -368,7 +305,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_lfpf5")
expand_icon = true
[node name="RT" type="Button" parent="VBoxContainer/Control"]
[node name="RT" type="Button" parent="VBoxContainer/Control" unique_id=2022613685]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -387,7 +324,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_b3bsp")
expand_icon = true
[node name="A" type="Button" parent="VBoxContainer/Control"]
[node name="A" type="Button" parent="VBoxContainer/Control" unique_id=1747187075]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -406,7 +343,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_u40go")
expand_icon = true
[node name="B" type="Button" parent="VBoxContainer/Control"]
[node name="B" type="Button" parent="VBoxContainer/Control" unique_id=1650750312]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -425,7 +362,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_rnqww")
expand_icon = true
[node name="X" type="Button" parent="VBoxContainer/Control"]
[node name="X" type="Button" parent="VBoxContainer/Control" unique_id=1175769805]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -444,7 +381,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_1a2yv")
expand_icon = true
[node name="Y" type="Button" parent="VBoxContainer/Control"]
[node name="Y" type="Button" parent="VBoxContainer/Control" unique_id=1761913230]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -463,7 +400,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_hktfi")
expand_icon = true
[node name="Select" type="Button" parent="VBoxContainer/Control"]
[node name="Select" type="Button" parent="VBoxContainer/Control" unique_id=532097436]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -482,7 +419,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_2ksy6")
expand_icon = true
[node name="Start" type="Button" parent="VBoxContainer/Control"]
[node name="Start" type="Button" parent="VBoxContainer/Control" unique_id=1103979259]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -501,7 +438,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_08sqi")
expand_icon = true
[node name="Home" type="Button" parent="VBoxContainer/Control"]
[node name="Home" type="Button" parent="VBoxContainer/Control" unique_id=2039066622]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -520,7 +457,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_tivgf")
expand_icon = true
[node name="Share" type="Button" parent="VBoxContainer/Control"]
[node name="Share" type="Button" parent="VBoxContainer/Control" unique_id=752079242]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -539,7 +476,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_87fow")
expand_icon = true
[node name="DPAD" type="Button" parent="VBoxContainer/Control"]
[node name="DPAD" type="Button" parent="VBoxContainer/Control" unique_id=1370892254]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -558,7 +495,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_n4i6p")
expand_icon = true
[node name="DPADDown" type="Button" parent="VBoxContainer/Control"]
[node name="DPADDown" type="Button" parent="VBoxContainer/Control" unique_id=1701635317]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -577,7 +514,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_eoyuo")
expand_icon = true
[node name="DPADRight" type="Button" parent="VBoxContainer/Control"]
[node name="DPADRight" type="Button" parent="VBoxContainer/Control" unique_id=1473382911]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -596,7 +533,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_c660e")
expand_icon = true
[node name="DPADLeft" type="Button" parent="VBoxContainer/Control"]
[node name="DPADLeft" type="Button" parent="VBoxContainer/Control" unique_id=1345960769]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -615,7 +552,7 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_riwus")
expand_icon = true
[node name="DPADUp" type="Button" parent="VBoxContainer/Control"]
[node name="DPADUp" type="Button" parent="VBoxContainer/Control" unique_id=1761846958]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
@ -634,16 +571,16 @@ button_group = SubResource("ButtonGroup_haylq")
icon = SubResource("Texture2D_onmvf")
expand_icon = true
[connection signal="pressed" from="VBoxContainer/Control/LStick" to="." method="_on_l_stick_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LStick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LStick" to="." method="_on_l_stick_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LStickClick" to="." method="_on_l_stick_click_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LStickClick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_r_stick_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_r_stick_click_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_lb_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LT" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/LT" to="." method="_on_lt_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/RB" to="." method="_on_button_pressed"]
@ -652,27 +589,27 @@ expand_icon = true
[connection signal="pressed" from="VBoxContainer/Control/RT" to="." method="_on_rt_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/A" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/A" to="." method="_on_a_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_b_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_b_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/X" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/X" to="." method="_on_x_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_y_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_y_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_select_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Start" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Start" to="." method="_on_start_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Home" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Start" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Home" to="." method="_on_home_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Home" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_share_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPAD" to="." method="_on_dpad_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPAD" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_dpad_down_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADRight" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADRight" to="." method="_on_dpad_right_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADLeft" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADRight" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADLeft" to="." method="_on_dpad_left_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADUp" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADLeft" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADUp" to="." method="_on_dpad_up_pressed"]
[connection signal="pressed" from="VBoxContainer/Control/DPADUp" to="." method="_on_button_pressed"]

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://d2ow6e2ba86b6"]
[gd_scene format=3 uid="uid://d2ow6e2ba86b6"]
[ext_resource type="Script" path="res://addons/controller_icons/objects/path_selection/SpecificPathSelector.gd" id="1_iqwfd"]
[ext_resource type="Script" uid="uid://bxg2kuuti72un" path="res://addons/controller_icons/objects/path_selection/SpecificPathSelector.gd" id="1_iqwfd"]
[node name="Specific Path" type="Panel"]
[node name="Specific Path" type="Panel" unique_id=529476784]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@ -10,7 +10,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_iqwfd")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1052507307]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -18,31 +18,31 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer"]
[node name="Label" type="Label" parent="VBoxContainer" unique_id=1889447656]
layout_mode = 2
text = "The icon will be set to a specific asset, without any dynamic remapping."
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=1132615426]
layout_mode = 2
[node name="NameFilter" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
[node name="NameFilter" type="LineEdit" parent="VBoxContainer/HBoxContainer" unique_id=303139137]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Filter by name..."
clear_button_enabled = true
[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer"]
[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer" unique_id=141881463]
layout_mode = 2
size_flags_vertical = 3
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/HSplitContainer"]
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/HSplitContainer" unique_id=3581459]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
size_flags_horizontal = 0
[node name="BaseAssetNames" type="Tree" parent="VBoxContainer/HSplitContainer/ScrollContainer"]
[node name="BaseAssetNames" type="Tree" parent="VBoxContainer/HSplitContainer/ScrollContainer" unique_id=1579487307]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
@ -50,14 +50,14 @@ size_flags_vertical = 3
hide_folding = true
hide_root = true
[node name="ScrollContainer2" type="ScrollContainer" parent="VBoxContainer/HSplitContainer"]
[node name="ScrollContainer2" type="ScrollContainer" parent="VBoxContainer/HSplitContainer" unique_id=1289429150]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
size_flags_horizontal = 3
follow_focus = true
horizontal_scroll_mode = 0
[node name="AssetsContainer" type="HFlowContainer" parent="VBoxContainer/HSplitContainer/ScrollContainer2"]
[node name="AssetsContainer" type="HFlowContainer" parent="VBoxContainer/HSplitContainer/ScrollContainer2" unique_id=932972168]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3

View File

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="ControllerSettings" load_steps=2 format=3 uid="uid://dolsrvh5w47et"]
[gd_resource type="Resource" script_class="ControllerSettings" format=3 uid="uid://dolsrvh5w47et"]
[ext_resource type="Script" uid="uid://dhd3vo6f4h2r" path="res://addons/controller_icons/Settings.gd" id="1"]

View File

@ -1,18 +1,18 @@
[gd_scene load_steps=3 format=3 uid="uid://dfpatff4d5okj"]
[gd_scene format=3 uid="uid://dfpatff4d5okj"]
[ext_resource type="Texture2D" uid="uid://cdqg3y11tiold" path="res://addons/godot_3d_cursor/3d_cursor.png" id="2_mnq4l"]
[ext_resource type="Script" uid="uid://dt04kfvdc21nb" path="res://addons/godot_3d_cursor/3d_cursor.gd" id="2_stis0"]
[node name="3DCursor" type="Marker3D"]
[node name="3DCursor" type="Marker3D" unique_id=1087233305]
script = ExtResource("2_stis0")
[node name="Sprite3D" type="Sprite3D" parent="."]
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=1178020730]
transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0)
billboard = 1
no_depth_test = true
texture = ExtResource("2_mnq4l")
[node name="Label3D" type="Label3D" parent="Sprite3D"]
[node name="Label3D" type="Label3D" parent="Sprite3D" unique_id=864559784]
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 2.4, 0)
billboard = 1
no_depth_test = true

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://igrlue2n5478"]
[gd_scene format=3 uid="uid://igrlue2n5478"]
[ext_resource type="Script" uid="uid://dul31m8bwxlxm" path="res://addons/godot_3d_cursor/pie_menu.gd" id="1_a7cko"]
[ext_resource type="Texture2D" uid="uid://dd7qbrp08e8qe" path="res://addons/godot_3d_cursor/selection_ring.png" id="2_k5qvu"]
@ -11,7 +11,7 @@ corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20
[node name="PieMenu" type="Control"]
[node name="PieMenu" type="Control" unique_id=295383293]
layout_mode = 3
anchors_preset = 8
anchor_left = 0.5
@ -24,7 +24,7 @@ size_flags_horizontal = 4
size_flags_vertical = 4
script = ExtResource("1_a7cko")
[node name="Panel" type="Panel" parent="."]
[node name="Panel" type="Panel" parent="." unique_id=1414101541]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@ -39,65 +39,65 @@ grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_s5fna")
[node name="3DCursorToSelectedObjects" type="Button" parent="."]
[node name="3DCursorToSelectedObjects" type="Button" parent="." unique_id=1844485628]
layout_mode = 0
offset_left = 100.0
offset_left = 42.0
offset_top = -15.5
offset_right = 347.0
offset_right = 289.0
offset_bottom = 15.5
mouse_default_cursor_shape = 2
text = "3D Cursor to Selected Object(s)"
[node name="Remove3DCursorFromScene" type="Button" parent="."]
[node name="Remove3DCursorFromScene" type="Button" parent="." unique_id=557079598]
layout_mode = 0
offset_left = 30.9017
offset_top = 79.605354
offset_right = 273.90198
offset_bottom = 110.60594
offset_left = 12.978714
offset_top = 24.444084
offset_right = 255.97899
offset_bottom = 55.444664
mouse_default_cursor_shape = 2
text = "Remove 3D Cursor from Scene"
[node name="SelectedObjectTo3DCursor" type="Button" parent="."]
[node name="SelectedObjectTo3DCursor" type="Button" parent="." unique_id=1599993045]
layout_mode = 0
offset_left = -309.902
offset_top = 43.278526
offset_right = -80.9017
offset_bottom = 74.27853
offset_left = -262.979
offset_top = 9.18698
offset_right = -33.9787
offset_bottom = 40.18698
mouse_default_cursor_shape = 2
text = "Selected Object to 3D Cursor"
[node name="3DCursorToOrigin" type="Button" parent="."]
[node name="3DCursorToOrigin" type="Button" parent="." unique_id=427461115]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -237.902
offset_top = -74.27853
offset_right = -80.9017
offset_bottom = -43.278522
offset_left = -190.97899
offset_top = -40.186985
offset_right = -33.978714
offset_bottom = -9.186977
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 0
mouse_default_cursor_shape = 2
text = "3D Cursor to Origin"
[node name="Toggle3DCursor" type="Button" parent="."]
[node name="Toggle3DCursor" type="Button" parent="." unique_id=1015979932]
layout_mode = 0
offset_left = 30.9017
offset_top = -110.6059
offset_right = 176.90198
offset_bottom = -79.6054
offset_left = 12.978714
offset_top = -55.444626
offset_right = 158.97899
offset_bottom = -24.444122
mouse_default_cursor_shape = 2
text = "Disable 3D Cursor"
[node name="SelectionRing" type="Sprite2D" parent="."]
[node name="SelectionRing" type="Sprite2D" parent="." unique_id=833708306]
modulate = Color(0.148438, 0.148438, 0.148438, 1)
scale = Vector2(0.2, 0.2)
texture = ExtResource("2_k5qvu")
[node name="SelectionIndicator" type="Sprite2D" parent="."]
[node name="SelectionIndicator" type="Sprite2D" parent="." unique_id=714966194]
modulate = Color(0.550781, 0.550781, 0.550781, 1)
scale = Vector2(0.2, 0.2)
texture = ExtResource("3_euipm")

View File

@ -21,13 +21,13 @@ func _ready() -> void:
probe_grid = EditorInterface.get_selection().get_selected_nodes()[0] as LightmapProbeGrid
else:
return
# connecting signals
if not probe_grid.probes_changed.is_connected(_get_probes):
probe_grid.probes_changed.connect(_get_probes)
if not probe_grid.probes_changed.is_connected(planned_probes_text):
probe_grid.probes_changed.connect(planned_probes_text)
# initializing values
far_distance.value = probe_grid.far_distance
object_size.value = probe_grid.object_size
@ -40,7 +40,7 @@ func planned_probes_text() -> void:
var total: int = probe_grid.planned_probes
var current: int = probe_grid.current_probes
var max_probes: int = probe_grid.max_probes
if total <= max_probes:
planned_probes.text = "Probes Planned/Current: " + str(total) + " / " + str(current)
generate_button.disabled = false

View File

@ -1,9 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://xp1820rv0uy"]
[gd_scene format=3 uid="uid://xp1820rv0uy"]
[ext_resource type="Script" path="res://addons/lightmap_probe_grid/UI.gd" id="1_4a60v"]
[ext_resource type="Script" uid="uid://du1ehgs4udhri" path="res://addons/lightmap_probe_grid/UI.gd" id="1_4a60v"]
[ext_resource type="StyleBox" uid="uid://4nfudftbnexo" path="res://addons/lightmap_probe_grid/style_box_flat.tres" id="2_rdj4j"]
[node name="RootContainer" type="VBoxContainer" node_paths=PackedStringArray("probes_x", "probes_y", "probes_z", "planned_probes", "generate_button", "far_distance", "object_size")]
[node name="RootContainer" type="VBoxContainer" unique_id=1605577734 node_paths=PackedStringArray("probes_x", "probes_y", "probes_z", "planned_probes", "generate_button", "far_distance", "object_size")]
offset_right = 257.0
offset_bottom = 346.0
script = ExtResource("1_4a60v")
@ -15,7 +15,7 @@ generate_button = NodePath("GenerateProbes")
far_distance = NodePath("CutFarProbesContainer/Distance")
object_size = NodePath("CutInsideContainer/Size")
[node name="ProbesLabel" type="Label" parent="."]
[node name="ProbesLabel" type="Label" parent="." unique_id=1261088883]
clip_contents = true
layout_mode = 2
tooltip_text = "Number of probes on each axis"
@ -23,10 +23,10 @@ mouse_filter = 0
text = "Number of Probes"
vertical_alignment = 1
[node name="ProbesContainer" type="HBoxContainer" parent="."]
[node name="ProbesContainer" type="HBoxContainer" parent="." unique_id=1798808019]
layout_mode = 2
[node name="ProbesX" type="SpinBox" parent="ProbesContainer"]
[node name="ProbesX" type="SpinBox" parent="ProbesContainer" unique_id=1668019055]
layout_mode = 2
size_flags_horizontal = 3
tooltip_text = "Minimum is 2"
@ -37,7 +37,7 @@ alignment = 2
prefix = "x:"
select_all_on_focus = true
[node name="ProbesY" type="SpinBox" parent="ProbesContainer"]
[node name="ProbesY" type="SpinBox" parent="ProbesContainer" unique_id=258629628]
layout_mode = 2
size_flags_horizontal = 3
tooltip_text = "Minimum is 2"
@ -48,7 +48,7 @@ alignment = 2
prefix = "y:"
select_all_on_focus = true
[node name="ProbesZ" type="SpinBox" parent="ProbesContainer"]
[node name="ProbesZ" type="SpinBox" parent="ProbesContainer" unique_id=1104098765]
layout_mode = 2
size_flags_horizontal = 3
tooltip_text = "Minimum is 2"
@ -59,22 +59,22 @@ alignment = 2
prefix = "z:"
select_all_on_focus = true
[node name="PlannedLabel" type="RichTextLabel" parent="."]
[node name="PlannedLabel" type="RichTextLabel" parent="." unique_id=825905411]
layout_mode = 2
tooltip_text = "Maximum is xxxx"
bbcode_enabled = true
text = "Planned Probes: xxxx"
fit_content = true
[node name="GenerateProbes" type="Button" parent="."]
[node name="GenerateProbes" type="Button" parent="." unique_id=946302946]
layout_mode = 2
theme_override_styles/normal = ExtResource("2_rdj4j")
text = "Generate Probes"
[node name="HSeparator" type="HSeparator" parent="."]
[node name="HSeparator" type="HSeparator" parent="." unique_id=2026516622]
layout_mode = 2
[node name="ObscuredLabel" type="Label" parent="."]
[node name="ObscuredLabel" type="Label" parent="." unique_id=1812261144]
layout_mode = 2
tooltip_text = "Test from center to each probe,
and cut the probe if the path is obstructed by an object.
@ -84,7 +84,7 @@ mouse_filter = 0
text = "Probes obscured from center"
vertical_alignment = 1
[node name="Cut by Mask" type="Button" parent="."]
[node name="Cut by Mask" type="Button" parent="." unique_id=107155723]
layout_mode = 2
tooltip_text = "Test from center to each probe,
and cut the probe if the path is obstructed by an object.
@ -93,10 +93,10 @@ Use Collision Mask to filter objects."
theme_override_styles/normal = ExtResource("2_rdj4j")
text = "Cut Obstructed Probes"
[node name="HSeparator2" type="HSeparator" parent="."]
[node name="HSeparator2" type="HSeparator" parent="." unique_id=2024967401]
layout_mode = 2
[node name="Label" type="Label" parent="."]
[node name="Label" type="Label" parent="." unique_id=990808485]
layout_mode = 2
tooltip_text = "For each probe, test if there is any object within an Max distance.
If there isn't any object the probe is cut.
@ -105,18 +105,18 @@ Use Collision Mask to filter objects."
mouse_filter = 0
text = "Probes far from any object"
[node name="CutFarProbesContainer" type="HBoxContainer" parent="."]
[node name="CutFarProbesContainer" type="HBoxContainer" parent="." unique_id=1499252389]
layout_mode = 2
alignment = 1
[node name="DistanceLabel" type="Label" parent="CutFarProbesContainer"]
[node name="DistanceLabel" type="Label" parent="CutFarProbesContainer" unique_id=2094858706]
custom_minimum_size = Vector2(67, 0)
layout_mode = 2
tooltip_text = "The distance from the probe that objects will be detected"
mouse_filter = 0
text = "Max distance"
[node name="Distance" type="SpinBox" parent="CutFarProbesContainer"]
[node name="Distance" type="SpinBox" parent="CutFarProbesContainer" unique_id=1346635208]
layout_mode = 2
tooltip_text = "The distance from the probe that objects will be detected"
step = 0.0
@ -126,7 +126,7 @@ suffix = "m"
custom_arrow_step = 1.0
select_all_on_focus = true
[node name="CutFarProbes" type="Button" parent="."]
[node name="CutFarProbes" type="Button" parent="." unique_id=986383973]
custom_minimum_size = Vector2(148, 0)
layout_mode = 2
tooltip_text = "For each probe, test if there is any object within an Max distance.
@ -136,10 +136,10 @@ Use Collision Mask to filter objects."
theme_override_styles/normal = ExtResource("2_rdj4j")
text = "Cut Far Probes"
[node name="HSeparator3" type="HSeparator" parent="."]
[node name="HSeparator3" type="HSeparator" parent="." unique_id=629846031]
layout_mode = 2
[node name="Label2" type="Label" parent="."]
[node name="Label2" type="Label" parent="." unique_id=1441453511]
layout_mode = 2
tooltip_text = "For each probe, test if the same object is intercepted by the yellow lines.
@ -153,17 +153,17 @@ Use Collision Mask to filter objects."
mouse_filter = 0
text = "Probes inside objects"
[node name="CutInsideContainer" type="HBoxContainer" parent="."]
[node name="CutInsideContainer" type="HBoxContainer" parent="." unique_id=1593040564]
layout_mode = 2
alignment = 1
[node name="SizeLabel" type="Label" parent="CutInsideContainer"]
[node name="SizeLabel" type="Label" parent="CutInsideContainer" unique_id=1586685405]
layout_mode = 2
tooltip_text = "Distance tested from the probes (size of yellow lines)"
mouse_filter = 0
text = "Max object size"
[node name="Size" type="SpinBox" parent="CutInsideContainer"]
[node name="Size" type="SpinBox" parent="CutInsideContainer" unique_id=917814442]
layout_mode = 2
tooltip_text = "Distance tested from the probes (size of yellow lines)"
step = 0.0
@ -172,7 +172,7 @@ allow_greater = true
suffix = "m"
custom_arrow_step = 1.0
[node name="CutInsideObjects" type="Button" parent="."]
[node name="CutInsideObjects" type="Button" parent="." unique_id=29558176]
custom_minimum_size = Vector2(148, 0)
layout_mode = 2
tooltip_text = "For each probe, test if the same object is intercepted by the yellow lines.

View File

@ -1,15 +1,15 @@
[gd_scene load_steps=2 format=3 uid="uid://cpfunq8fyixco"]
[gd_scene format=3 uid="uid://cpfunq8fyixco"]
[ext_resource type="Script" uid="uid://b5b7ohheyhxr0" path="res://addons/logger/logger.gd" id="1_thwo5"]
[node name="Logger" type="CanvasLayer"]
[node name="Logger" type="CanvasLayer" unique_id=665187677]
process_mode = 3
layer = 128
follow_viewport_enabled = true
script = ExtResource("1_thwo5")
log_limit = 30
[node name="LogLabel" type="RichTextLabel" parent="."]
[node name="LogLabel" type="RichTextLabel" parent="." unique_id=1709703430]
modulate = Color(1, 1, 1, 0.498039)
anchors_preset = 15
anchor_right = 1.0
@ -20,11 +20,11 @@ size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_font_sizes/normal_font_size = 12
theme_override_font_sizes/bold_font_size = 12
theme_override_font_sizes/bold_italics_font_size = 12
theme_override_font_sizes/italics_font_size = 12
theme_override_font_sizes/mono_font_size = 12
theme_override_font_sizes/normal_font_size = 12
theme_override_font_sizes/bold_font_size = 12
bbcode_enabled = true
fit_content = true
scroll_active = false

View File

@ -205,7 +205,7 @@ func _ready():
else:
hide()
)
_title_btn.button.gui_input.connect(
func(e):
if e is InputEventMouseButton and !e.pressed:
@ -223,13 +223,13 @@ func _ready():
$Border.hey_i_am_here()
_pop_btn.pressed.connect(switch_to_os_window)
if _container.get_child_count() > 0:
_content = _container.get_child(0)
if get_parent().has_method("get_enable_os_popup_btns"):
_pop_btn.visible = get_parent().get_enable_os_popup_btns()
# feature: foldable window
title_btn_clicked.connect(
func():

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=19 format=3 uid="uid://s88loppa6gja"]
[gd_scene format=3 uid="uid://s88loppa6gja"]
[ext_resource type="Material" uid="uid://dyipeqsa8lcpc" path="res://addons/panku_console/common/lynx_window2/lynx_window_shader_material.tres" id="1_tvp6i"]
[ext_resource type="Script" path="res://addons/panku_console/common/lynx_window2/lynx_window_2.gd" id="2_1ul5o"]
[ext_resource type="Script" uid="uid://ctfiphl1luka1" path="res://addons/panku_console/common/lynx_window2/lynx_window_2.gd" id="2_1ul5o"]
[ext_resource type="Theme" uid="uid://bk18yfu0d77wk" path="res://addons/panku_console/res/panku_console_theme.tres" id="2_3fhqk"]
[ext_resource type="Texture2D" uid="uid://dosm26riekruh" path="res://addons/panku_console/res/icons2/menu.svg" id="4_4dlyn"]
[ext_resource type="PackedScene" uid="uid://drn5t13m088fb" path="res://addons/panku_console/common/panku_button.tscn" id="4_dnesi"]
@ -9,7 +9,7 @@
[ext_resource type="Texture2D" uid="uid://8g5afcuanbl6" path="res://addons/panku_console/res/icons2/close.svg" id="5_l4qpm"]
[ext_resource type="Texture2D" uid="uid://dvr12fl5prm78" path="res://addons/panku_console/res/effect/square_shadow.png" id="6_mfp1h"]
[ext_resource type="Texture2D" uid="uid://ciu5jiw4xmkq0" path="res://addons/panku_console/res/icons2/resize-svgrepo-com.svg" id="7_duwqn"]
[ext_resource type="Script" path="res://addons/panku_console/common/lynx_window2/border.gd" id="8_gj3ji"]
[ext_resource type="Script" uid="uid://djg7feld7wktp" path="res://addons/panku_console/common/lynx_window2/border.gd" id="8_gj3ji"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hv45g"]
draw_center = false
@ -37,10 +37,10 @@ shadow_size = 16
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5muk4"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_r0x7y"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_p7tml"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_r0x7y"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_p3y6j"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uldta"]
@ -51,7 +51,7 @@ border_width_right = 4
border_width_bottom = 4
border_color = Color(1, 1, 1, 1)
[node name="LynxWindow2" type="ColorRect" node_paths=PackedStringArray("_window_title_container", "_title_btn", "_close_btn", "_options_btn", "_resize_btn", "_shadow_focus", "_shadow", "_container", "_pop_btn")]
[node name="LynxWindow2" type="ColorRect" unique_id=424004985 node_paths=PackedStringArray("_window_title_container", "_title_btn", "_close_btn", "_options_btn", "_resize_btn", "_shadow_focus", "_shadow", "_container", "_pop_btn")]
material = ExtResource("1_tvp6i")
clip_contents = true
offset_right = 413.0
@ -68,7 +68,7 @@ _shadow = NodePath("Shadow")
_container = NodePath("VBoxContainer/Down")
_pop_btn = NodePath("VBoxContainer/Up/PopupButton")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1555406434]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -77,57 +77,57 @@ grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0
[node name="Up" type="HBoxContainer" parent="VBoxContainer"]
[node name="Up" type="HBoxContainer" parent="VBoxContainer" unique_id=218328183]
layout_mode = 2
theme_override_constants/separation = 0
[node name="TitleButton" parent="VBoxContainer/Up" instance=ExtResource("4_dnesi")]
[node name="TitleButton" parent="VBoxContainer/Up" unique_id=54819059 instance=ExtResource("4_dnesi")]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_hv45g")
[node name="TextureRect" parent="VBoxContainer/Up/TitleButton/HBoxContainer" index="0"]
[node name="TextureRect" parent="VBoxContainer/Up/TitleButton/HBoxContainer" parent_id_path=PackedInt32Array(54819059, 33432395) index="0" unique_id=787807973]
texture = null
[node name="Label" parent="VBoxContainer/Up/TitleButton/HBoxContainer" index="1"]
[node name="Label" parent="VBoxContainer/Up/TitleButton/HBoxContainer" parent_id_path=PackedInt32Array(54819059, 33432395) index="1" unique_id=1563521478]
text = "Window Title"
[node name="PopupButton" parent="VBoxContainer/Up" instance=ExtResource("4_dnesi")]
[node name="PopupButton" parent="VBoxContainer/Up" unique_id=499240233 instance=ExtResource("4_dnesi")]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_hv45g")
[node name="TextureRect" parent="VBoxContainer/Up/PopupButton/HBoxContainer" index="0"]
[node name="TextureRect" parent="VBoxContainer/Up/PopupButton/HBoxContainer" parent_id_path=PackedInt32Array(499240233, 33432395) index="0" unique_id=787807973]
texture = ExtResource("4_im81u")
[node name="Label" parent="VBoxContainer/Up/PopupButton/HBoxContainer" index="1"]
[node name="Label" parent="VBoxContainer/Up/PopupButton/HBoxContainer" parent_id_path=PackedInt32Array(499240233, 33432395) index="1" unique_id=1563521478]
visible = false
[node name="MenuButton" parent="VBoxContainer/Up" instance=ExtResource("4_dnesi")]
[node name="MenuButton" parent="VBoxContainer/Up" unique_id=1751135551 instance=ExtResource("4_dnesi")]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_hv45g")
[node name="TextureRect" parent="VBoxContainer/Up/MenuButton/HBoxContainer" index="0"]
[node name="TextureRect" parent="VBoxContainer/Up/MenuButton/HBoxContainer" parent_id_path=PackedInt32Array(1751135551, 33432395) index="0" unique_id=787807973]
texture = ExtResource("4_4dlyn")
[node name="Label" parent="VBoxContainer/Up/MenuButton/HBoxContainer" index="1"]
[node name="Label" parent="VBoxContainer/Up/MenuButton/HBoxContainer" parent_id_path=PackedInt32Array(1751135551, 33432395) index="1" unique_id=1563521478]
visible = false
[node name="CloseButton" parent="VBoxContainer/Up" instance=ExtResource("4_dnesi")]
[node name="CloseButton" parent="VBoxContainer/Up" unique_id=1397749319 instance=ExtResource("4_dnesi")]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_hv45g")
[node name="TextureRect" parent="VBoxContainer/Up/CloseButton/HBoxContainer" index="0"]
[node name="TextureRect" parent="VBoxContainer/Up/CloseButton/HBoxContainer" parent_id_path=PackedInt32Array(1397749319, 33432395) index="0" unique_id=787807973]
texture = ExtResource("5_l4qpm")
[node name="Label" parent="VBoxContainer/Up/CloseButton/HBoxContainer" index="1"]
[node name="Label" parent="VBoxContainer/Up/CloseButton/HBoxContainer" parent_id_path=PackedInt32Array(1397749319, 33432395) index="1" unique_id=1563521478]
visible = false
[node name="Down" type="Panel" parent="VBoxContainer"]
[node name="Down" type="Panel" parent="VBoxContainer" unique_id=1073499399]
layout_mode = 2
size_flags_vertical = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_6i67d")
[node name="Shadow" type="NinePatchRect" parent="."]
[node name="Shadow" type="NinePatchRect" parent="." unique_id=2112456468]
self_modulate = Color(1, 1, 1, 0.501961)
layout_mode = 1
anchors_preset = 15
@ -147,9 +147,9 @@ patch_margin_top = 80
patch_margin_right = 64
patch_margin_bottom = 48
[node name="Shadow2" type="Panel" parent="."]
[node name="Shadow2" type="Panel" parent="." unique_id=980024848]
visible = false
layout_mode = 2
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
@ -157,7 +157,7 @@ grow_vertical = 2
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_lct0k")
[node name="Button" type="Button" parent="."]
[node name="Button" type="Button" parent="." unique_id=2023182813]
self_modulate = Color(1, 1, 1, 0.501961)
layout_mode = 1
anchors_preset = 3
@ -171,14 +171,14 @@ grow_horizontal = 0
grow_vertical = 0
mouse_default_cursor_shape = 12
theme_override_styles/normal = SubResource("StyleBoxEmpty_5muk4")
theme_override_styles/hover = SubResource("StyleBoxEmpty_r0x7y")
theme_override_styles/pressed = SubResource("StyleBoxEmpty_p7tml")
theme_override_styles/hover = SubResource("StyleBoxEmpty_r0x7y")
theme_override_styles/focus = SubResource("StyleBoxEmpty_p3y6j")
icon = ExtResource("7_duwqn")
flat = true
expand_icon = true
[node name="Border" type="Panel" parent="."]
[node name="Border" type="Panel" parent="." unique_id=1489663704]
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = 15

View File

@ -1,6 +1,6 @@
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://dyipeqsa8lcpc"]
[gd_resource type="ShaderMaterial" format=3 uid="uid://dyipeqsa8lcpc"]
[ext_resource type="Shader" path="res://addons/panku_console/res/shader/simple_fast_blur.gdshader" id="1_3h55m"]
[ext_resource type="Shader" uid="uid://djvmgn5gjuc3e" path="res://addons/panku_console/res/shader/simple_fast_blur.gdshader" id="1_3h55m"]
[resource]
shader = ExtResource("1_3h55m")

View File

@ -26,7 +26,7 @@ var text:
return label.text
func _ready():
button.pressed.connect(
func():
pressed.emit()

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=5 format=3 uid="uid://drn5t13m088fb"]
[gd_scene format=3 uid="uid://drn5t13m088fb"]
[ext_resource type="Script" path="res://addons/panku_console/common/panku_button.gd" id="1_7kf5f"]
[ext_resource type="Script" uid="uid://0ydmyeffilu7" path="res://addons/panku_console/common/panku_button.gd" id="1_7kf5f"]
[ext_resource type="Texture2D" uid="uid://dchvk7qgfe37m" path="res://addons/panku_console/res/icons2/fold-svgrepo-com.svg" id="2_su653"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_v3kpx"]
@ -9,7 +9,7 @@
content_margin_top = 4.0
content_margin_bottom = 4.0
[node name="PankuButton" type="PanelContainer" node_paths=PackedStringArray("button", "trect", "label")]
[node name="PankuButton" type="PanelContainer" unique_id=473356103 node_paths=PackedStringArray("button", "trect", "label")]
editor_description = "Godot's Button can't handle scaling icons properly as descripted in https://github.com/godotengine/godot-proposals/issues/660, so I have to make a new one."
self_modulate = Color(1, 1, 1, 0)
offset_right = 112.0
@ -21,21 +21,21 @@ button = NodePath("Button")
trect = NodePath("HBoxContainer/TextureRect")
label = NodePath("HBoxContainer/Label")
[node name="Button" type="Button" parent="."]
[node name="Button" type="Button" parent="." unique_id=495745487]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="."]
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=33432395]
layout_mode = 2
mouse_filter = 2
theme_override_constants/separation = 0
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
[node name="TextureRect" type="TextureRect" parent="HBoxContainer" unique_id=787807973]
layout_mode = 2
mouse_filter = 2
texture = ExtResource("2_su653")
expand_mode = 2
[node name="Label" type="Label" parent="HBoxContainer"]
[node name="Label" type="Label" parent="HBoxContainer" unique_id=1563521478]
layout_mode = 2
size_flags_vertical = 1
theme_override_styles/normal = SubResource("StyleBoxEmpty_cwnaw")

View File

@ -1,6 +1,6 @@
extends PanelContainer
@export var clip_container:Control
@export var clip_container:Control
@export var scrollbar:VScrollBar

View File

@ -1,9 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://dyq4rjkkjs55d"]
[gd_scene format=3 uid="uid://dyq4rjkkjs55d"]
[ext_resource type="Script" path="res://addons/panku_console/common/smooth_scroll/smooth_scroll.gd" id="1_ma8ku"]
[ext_resource type="Script" uid="uid://rd44n33h004h" path="res://addons/panku_console/common/smooth_scroll/smooth_scroll.gd" id="1_ma8ku"]
[ext_resource type="Theme" uid="uid://bk18yfu0d77wk" path="res://addons/panku_console/res/panku_console_theme.tres" id="1_pa7xs"]
[node name="SmoothScrollContainer" type="PanelContainer" node_paths=PackedStringArray("clip_container", "scrollbar")]
[node name="SmoothScrollContainer" type="PanelContainer" unique_id=1333044366 node_paths=PackedStringArray("clip_container", "scrollbar")]
self_modulate = Color(1, 1, 1, 0)
clip_contents = true
anchors_preset = 15
@ -16,15 +16,15 @@ script = ExtResource("1_ma8ku")
clip_container = NodePath("HBoxContainer/Control")
scrollbar = NodePath("HBoxContainer/VScrollBar")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=1036374069]
layout_mode = 2
[node name="Control" type="Control" parent="HBoxContainer"]
[node name="Control" type="Control" parent="HBoxContainer" unique_id=1211399309]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
[node name="VScrollBar" type="VScrollBar" parent="HBoxContainer"]
[node name="VScrollBar" type="VScrollBar" parent="HBoxContainer" unique_id=743402842]
layout_mode = 2
page = 20.0
value = 80.0

View File

@ -1,7 +1,7 @@
class_name PankuConsole extends CanvasLayer
# `console.gd` is a global singleton that provides all modules with a common interface
# you can also use some of its members to interact with the console
signal interactive_shell_visibility_changed(visible:bool)
signal new_expression_entered(expression:String, result)
signal new_notification_created(bbcode:String, id:int)

View File

@ -1,15 +1,15 @@
[gd_scene load_steps=4 format=3 uid="uid://cyftuo4syatlv"]
[gd_scene format=3 uid="uid://cyftuo4syatlv"]
[ext_resource type="Script" path="res://addons/panku_console/console.gd" id="1_dohs1"]
[ext_resource type="Script" uid="uid://d7x5d27x8e20" path="res://addons/panku_console/console.gd" id="1_dohs1"]
[ext_resource type="Theme" uid="uid://bk18yfu0d77wk" path="res://addons/panku_console/res/panku_console_theme.tres" id="2_wxhx6"]
[ext_resource type="Script" path="res://addons/panku_console/common/lynx_window2/lynx_windows_manager_2.gd" id="10_f7qaq"]
[ext_resource type="Script" uid="uid://ciferd4gytj41" path="res://addons/panku_console/common/lynx_window2/lynx_windows_manager_2.gd" id="10_f7qaq"]
[node name="Console" type="CanvasLayer"]
[node name="Console" type="CanvasLayer" unique_id=1720021554]
process_mode = 3
layer = 128
script = ExtResource("1_dohs1")
[node name="LynxWindowsManager" type="Control" parent="."]
[node name="LynxWindowsManager" type="Control" parent="." unique_id=1425212150]
z_index = 1
layout_mode = 3
anchors_preset = 15

View File

@ -19,7 +19,7 @@ func _ready():
func():
OS.shell_open("https://github.com/Ark2000/PankuConsole")
)
check_update_button.pressed.connect(
func():
_module.core.gd_exprenv.execute("check_latest_release.check()")

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=10 format=3 uid="uid://cgwg3foes57mq"]
[gd_scene format=3 uid="uid://cgwg3foes57mq"]
[ext_resource type="Script" path="res://addons/panku_console/modules/about/about.gd" id="1_kpix3"]
[ext_resource type="Script" uid="uid://ddwpgsnaoabxx" path="res://addons/panku_console/modules/about/about.gd" id="1_kpix3"]
[ext_resource type="PackedScene" uid="uid://dyq4rjkkjs55d" path="res://addons/panku_console/common/smooth_scroll/smooth_scroll.tscn" id="2_sev6e"]
[ext_resource type="Texture2D" uid="uid://rkxm4c3bbf34" path="res://addons/panku_console/logo.svg" id="3_eycho"]
[ext_resource type="PackedScene" uid="uid://cxmplwhfv5l88" path="res://addons/panku_console/modules/about/url_button.tscn" id="4_cqu2c"]
@ -20,6 +20,7 @@ variation_embolden = 0.5
[sub_resource type="SystemFont" id="SystemFont_6on77"]
font_names = PackedStringArray("Monospace")
subpixel_positioning = 0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cqcex"]
content_margin_left = 4.0
@ -32,7 +33,7 @@ corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[node name="about" type="Control" node_paths=PackedStringArray("intro", "project_page_button", "check_update_button")]
[node name="about" type="Control" unique_id=1552212576 node_paths=PackedStringArray("intro", "project_page_button", "check_update_button")]
clip_contents = true
layout_mode = 3
anchors_preset = 15
@ -45,7 +46,7 @@ intro = NodePath("VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBox
project_page_button = NodePath("VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer/ProjectPageButton")
check_update_button = NodePath("VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer/CheckUpdateButton")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1172640471]
layout_mode = 1
anchors_preset = -1
anchor_right = 1.0
@ -57,135 +58,135 @@ offset_bottom = -8.0
grow_horizontal = 2
grow_vertical = 2
[node name="SmoothScrollContainer" parent="VBoxContainer" instance=ExtResource("2_sev6e")]
[node name="SmoothScrollContainer" parent="VBoxContainer" unique_id=1769617631 instance=ExtResource("2_sev6e")]
layout_mode = 2
size_flags_vertical = 3
follow_content = false
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control" index="0"]
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control" parent_id_path=PackedInt32Array(1769617631, 1211399309) index="0" unique_id=1358174077]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 995.0
grow_horizontal = 2
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer"]
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=2140895139]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_knn3o")
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/PanelContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/PanelContainer" unique_id=1939150663]
layout_mode = 2
alignment = 1
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/PanelContainer/HBoxContainer"]
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/PanelContainer/HBoxContainer" unique_id=2091970506]
layout_mode = 2
texture = ExtResource("3_eycho")
expand_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/PanelContainer/HBoxContainer"]
[node name="Label" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/PanelContainer/HBoxContainer" unique_id=1796606488]
layout_mode = 2
text = "Panku Console <version> [<commit>]
© 2022-present Panku Console contributors.
© 2022 Ark2000.
"
[node name="Label" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer"]
[node name="Label" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=1269748218]
layout_mode = 2
text = "Panku Console is a feature-packed real-time debugging toolkit for Godot Engine."
clip_text = true
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=1103553780]
layout_mode = 2
[node name="ProjectPageButton" type="Button" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"]
[node name="ProjectPageButton" type="Button" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer" unique_id=1957165469]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = SubResource("FontVariation_v70xy")
text = "Project Page"
[node name="CheckUpdateButton" type="Button" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer"]
[node name="CheckUpdateButton" type="Button" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/HBoxContainer" unique_id=123643072]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = SubResource("FontVariation_v70xy")
text = "Check Update"
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer"]
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=1523162212]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=1120141823]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer"]
[node name="Label" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=1437256293]
layout_mode = 2
theme_override_fonts/font = SubResource("FontVariation_wgi7f")
text = "Project Manager"
[node name="Button" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=2118106286 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "Feo Wu (Ark2000)"
url = "https://github.com/Ark2000"
[node name="Label2" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer"]
[node name="Label2" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=1584123717]
layout_mode = 2
theme_override_fonts/font = SubResource("FontVariation_wgi7f")
text = "Contributors"
[node name="Button2" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button2" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=1394248991 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "Feo Wu (Ark2000)"
url = "https://github.com/Ark2000"
[node name="Button3" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button3" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=9073058 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "Rafael Correa (scriptsengineer)"
url = "https://github.com/scriptsengineer"
[node name="Button4" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button4" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=855159632 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "worron"
url = "https://github.com/worron"
[node name="Button5" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button5" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=1566007711 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "mieldepoche"
url = "https://github.com/mieldepoche"
[node name="Button6" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button6" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=383290450 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "Eggbertx"
url = "https://github.com/Eggbertx"
[node name="Button7" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button7" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=950321129 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "univeous"
url = "https://github.com/univeous"
[node name="Button8" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button8" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=505249653 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "CheapMeow"
url = "https://github.com/CheapMeow"
[node name="Button9" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button9" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=1308628449 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "winston-yallow (Winston)"
url = "https://github.com/winston-yallow"
[node name="Label3" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer"]
[node name="Label3" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=1811217734]
layout_mode = 2
theme_override_fonts/font = SubResource("FontVariation_wgi7f")
text = "Icons"
[node name="Button10" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" instance=ExtResource("4_cqu2c")]
[node name="Button10" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=271160187 instance=ExtResource("4_cqu2c")]
layout_mode = 2
text = "SVG Repo"
url = "https://www.svgrepo.com/page/licensing/"
[node name="Label4" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer"]
[node name="Label4" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=1818453217]
layout_mode = 2
theme_override_fonts/font = SubResource("FontVariation_wgi7f")
text = "License"
[node name="Label5" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer"]
[node name="Label5" type="Label" parent="VBoxContainer/SmoothScrollContainer/HBoxContainer/Control/VBoxContainer/VBoxContainer" unique_id=461023353]
layout_mode = 2
theme_override_fonts/font = SubResource("SystemFont_6on77")
theme_override_styles/normal = SubResource("StyleBoxFlat_cqcex")

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=3 format=3 uid="uid://cxmplwhfv5l88"]
[gd_scene format=3 uid="uid://cxmplwhfv5l88"]
[ext_resource type="Script" path="res://addons/panku_console/modules/about/url_button.gd" id="1_01blg"]
[ext_resource type="Script" uid="uid://qedfr3ggip7d" path="res://addons/panku_console/modules/about/url_button.gd" id="1_01blg"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ivnlg"]
content_margin_left = 8.0
@ -10,7 +10,7 @@ corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[node name="Button" type="Button"]
[node name="Button" type="Button" unique_id=1431627627]
theme_override_styles/normal = SubResource("StyleBoxFlat_ivnlg")
text = "Button Text"
alignment = 0

View File

@ -99,7 +99,7 @@ func init():
for child in container.get_children():
container.remove_child(child)
child.queue_free()
for i in range(objects.size()):
create_rows_from_object(i)

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=15 format=3 uid="uid://c0y1axyst1ub3"]
[gd_scene format=3 uid="uid://c0y1axyst1ub3"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/exporter_2.gd" id="1_0hpei"]
[ext_resource type="Script" uid="uid://byr3fbq3rqx6b" path="res://addons/panku_console/modules/data_controller/exporter/exporter_2.gd" id="1_0hpei"]
[ext_resource type="Theme" uid="uid://bk18yfu0d77wk" path="res://addons/panku_console/res/panku_console_theme.tres" id="1_3uypn"]
[ext_resource type="PackedScene" uid="uid://cj0urmvj2rtas" path="res://addons/panku_console/modules/data_controller/exporter/row_vec_2.tscn" id="1_v4pbh"]
[ext_resource type="PackedScene" uid="uid://b4jxqh4ysyodt" path="res://addons/panku_console/modules/data_controller/exporter/row_string.tscn" id="2_87515"]
@ -15,7 +15,7 @@
[ext_resource type="PackedScene" uid="uid://ds3hbsvvlvdyw" path="res://addons/panku_console/modules/data_controller/exporter/row_button.tscn" id="10_vt884"]
[ext_resource type="PackedScene" uid="uid://i2pcctq0i2o3" path="res://addons/panku_console/modules/data_controller/exporter/row_bool.tscn" id="11_0f6sm"]
[node name="exporter_2" type="Control" node_paths=PackedStringArray("container")]
[node name="exporter_2" type="Control" unique_id=828872079 node_paths=PackedStringArray("container")]
clip_contents = true
layout_mode = 3
anchors_preset = 15
@ -27,7 +27,7 @@ theme = ExtResource("1_3uypn")
script = ExtResource("1_0hpei")
container = NodePath("SmoothScrollContainer/HBoxContainer/Control/VBoxContainer")
[node name="SmoothScrollContainer" parent="." instance=ExtResource("3_gmdfh")]
[node name="SmoothScrollContainer" parent="." unique_id=741949644 instance=ExtResource("3_gmdfh")]
layout_mode = 1
anchors_preset = -1
offset_left = 4.0
@ -36,7 +36,7 @@ offset_right = -4.0
offset_bottom = -4.0
follow_content = false
[node name="VBoxContainer" type="VBoxContainer" parent="SmoothScrollContainer/HBoxContainer/Control" index="0"]
[node name="VBoxContainer" type="VBoxContainer" parent="SmoothScrollContainer/HBoxContainer/Control" parent_id_path=PackedInt32Array(741949644, 1211399309) index="0" unique_id=466994504]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -46,38 +46,38 @@ grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="RowVec2" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("1_v4pbh")]
[node name="RowVec2" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=714038512 instance=ExtResource("1_v4pbh")]
layout_mode = 2
[node name="RowString" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("2_87515")]
[node name="RowString" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=1019345464 instance=ExtResource("2_87515")]
layout_mode = 2
[node name="RowReadOnly" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("3_r8k7l")]
[node name="RowReadOnly" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=1864199121 instance=ExtResource("3_r8k7l")]
layout_mode = 2
[node name="RowRangeNumber" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("4_ido8o")]
[node name="RowRangeNumber" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=150823200 instance=ExtResource("4_ido8o")]
layout_mode = 2
[node name="RowInt" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("5_ua2hx")]
[node name="RowInt" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=721640741 instance=ExtResource("5_ua2hx")]
layout_mode = 2
[node name="GroupButton" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("6_mmbw5")]
[node name="GroupButton" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=556900502 instance=ExtResource("6_mmbw5")]
layout_mode = 2
text = "Group 3"
[node name="RowFloat" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("7_h6vg4")]
[node name="RowFloat" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=1277841492 instance=ExtResource("7_h6vg4")]
layout_mode = 2
[node name="RowEnum" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("8_r3qu8")]
[node name="RowEnum" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=489192897 instance=ExtResource("8_r3qu8")]
layout_mode = 2
[node name="RowColor" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("9_scg41")]
[node name="RowColor" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=259174118 instance=ExtResource("9_scg41")]
layout_mode = 2
[node name="RowButton" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("10_vt884")]
[node name="RowButton" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=514141109 instance=ExtResource("10_vt884")]
layout_mode = 2
[node name="RowBool" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" instance=ExtResource("11_0f6sm")]
[node name="RowBool" parent="SmoothScrollContainer/HBoxContainer/Control/VBoxContainer" unique_id=22280564 instance=ExtResource("11_0f6sm")]
layout_mode = 2
[editable path="SmoothScrollContainer"]

View File

@ -1,24 +1,25 @@
[gd_scene load_steps=4 format=3 uid="uid://i2pcctq0i2o3"]
[gd_scene format=3 uid="uid://i2pcctq0i2o3"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_bool.gd" id="1_n4ai0"]
[ext_resource type="Script" uid="uid://chucvwlqhy8tt" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_bool.gd" id="1_n4ai0"]
[ext_resource type="Theme" uid="uid://bk18yfu0d77wk" path="res://addons/panku_console/res/panku_console_theme.tres" id="1_u58sr"]
[sub_resource type="SystemFont" id="SystemFont_l1ss8"]
font_names = PackedStringArray("Monospace")
font_weight = 900
subpixel_positioning = 0
[node name="RowBool" type="HBoxContainer" node_paths=PackedStringArray("label_btn")]
[node name="RowBool" type="HBoxContainer" unique_id=786800101 node_paths=PackedStringArray("label_btn")]
theme = ExtResource("1_u58sr")
script = ExtResource("1_n4ai0")
label_btn = NodePath("Button")
[node name="VName" type="Label" parent="."]
[node name="VName" type="Label" parent="." unique_id=31467418]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "value3"
vertical_alignment = 1
[node name="Button" type="Button" parent="."]
[node name="Button" type="Button" parent="." unique_id=1401479669]
layout_mode = 2
theme_override_fonts/font = SubResource("SystemFont_l1ss8")
toggle_mode = true

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://ds3hbsvvlvdyw"]
[gd_scene format=3 uid="uid://ds3hbsvvlvdyw"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_07gid"]
[node name="RowButton" type="Button"]
[node name="RowButton" type="Button" unique_id=1694692815]
offset_right = 80.0
offset_bottom = 31.0
size_flags_horizontal = 3

View File

@ -1,20 +1,23 @@
[gd_scene load_steps=2 format=3 uid="uid://b4iurk1ni11v2"]
[gd_scene format=3 uid="uid://b4iurk1ni11v2"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_color.gd" id="1_qp8f1"]
[ext_resource type="Script" uid="uid://ls0p6ecn3id6" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_color.gd" id="1_qp8f1"]
[node name="RowColor" type="HBoxContainer" node_paths=PackedStringArray("line_edit", "color_picker_button")]
[node name="RowColor" type="HBoxContainer" unique_id=394549287 node_paths=PackedStringArray("line_edit", "color_picker_button")]
script = ExtResource("1_qp8f1")
line_edit = NodePath("LineEdit")
color_picker_button = NodePath("ColorPickerButton")
[node name="VName" type="Label" parent="."]
[node name="VName" type="Label" parent="." unique_id=211642759]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "value3"
[node name="LineEdit" type="LineEdit" parent="."]
[node name="LineEdit" type="LineEdit" parent="." unique_id=942860418]
custom_minimum_size = Vector2(60, 0)
layout_mode = 2
text = "FFFFFFFF"
[node name="ColorPickerButton" type="ColorPickerButton" parent="."]
[node name="ColorPickerButton" type="ColorPickerButton" parent="." unique_id=1452410707]
layout_mode = 2
size_flags_horizontal = 3
color = Color(0.0901961, 0.427451, 0.533333, 1)

View File

@ -1,11 +1,11 @@
[gd_scene load_steps=5 format=3 uid="uid://cxnpwuiumbs85"]
[gd_scene format=3 uid="uid://cxnpwuiumbs85"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_comment.gd" id="1_dvooy"]
[ext_resource type="Script" uid="uid://djxgjkmqubfbj" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_comment.gd" id="1_dvooy"]
[ext_resource type="Theme" uid="uid://bk18yfu0d77wk" path="res://addons/panku_console/res/panku_console_theme.tres" id="1_wu8ma"]
[ext_resource type="PackedScene" uid="uid://drn5t13m088fb" path="res://addons/panku_console/common/panku_button.tscn" id="3_wi42w"]
[ext_resource type="Texture2D" uid="uid://b6jt0ggmuoyeb" path="res://addons/panku_console/res/icons2/info2.svg" id="4_o8r6v"]
[node name="RowComment" type="HBoxContainer" node_paths=PackedStringArray("label")]
[node name="RowComment" type="HBoxContainer" unique_id=760802315 node_paths=PackedStringArray("label")]
custom_minimum_size = Vector2(20, 20)
offset_right = 148.0
offset_bottom = 31.0
@ -14,14 +14,14 @@ theme = ExtResource("1_wu8ma")
script = ExtResource("1_dvooy")
label = NodePath("PankuButton/HBoxContainer/Label")
[node name="PankuButton" parent="." instance=ExtResource("3_wi42w")]
[node name="PankuButton" parent="." unique_id=2083467449 instance=ExtResource("3_wi42w")]
layout_mode = 2
size_flags_horizontal = 3
[node name="TextureRect" parent="PankuButton/HBoxContainer" index="0"]
[node name="TextureRect" parent="PankuButton/HBoxContainer" parent_id_path=PackedInt32Array(2083467449, 33432395) index="0" unique_id=787807973]
texture = ExtResource("4_o8r6v")
[node name="Label" parent="PankuButton/HBoxContainer" index="1"]
[node name="Label" parent="PankuButton/HBoxContainer" parent_id_path=PackedInt32Array(2083467449, 33432395) index="1" unique_id=1563521478]
modulate = Color(0.598845, 0.764704, 0.931026, 0.529412)
size_flags_horizontal = 3
text = "Comment"

View File

@ -1,21 +1,21 @@
[gd_scene load_steps=2 format=3 uid="uid://dfsypgkiprnp8"]
[gd_scene format=3 uid="uid://dfsypgkiprnp8"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_enum.gd" id="1_u8cx4"]
[ext_resource type="Script" uid="uid://cuh624kee7s2u" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_enum.gd" id="1_u8cx4"]
[node name="RowEnum" type="HBoxContainer" node_paths=PackedStringArray("opt_btn")]
[node name="RowEnum" type="HBoxContainer" unique_id=240460963 node_paths=PackedStringArray("opt_btn")]
script = ExtResource("1_u8cx4")
opt_btn = NodePath("OptionButton")
[node name="VName" type="Label" parent="."]
[node name="VName" type="Label" parent="." unique_id=820904533]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "value3"
[node name="OptionButton" type="OptionButton" parent="."]
[node name="OptionButton" type="OptionButton" parent="." unique_id=2041609386]
layout_mode = 2
size_flags_horizontal = 3
item_count = 3
selected = 0
item_count = 3
popup/item_0/text = "option 1"
popup/item_0/id = 0
popup/item_1/text = "option 2"

View File

@ -1,33 +1,30 @@
[gd_scene load_steps=5 format=3 uid="uid://bneg4nt6ryuuj"]
[gd_scene format=3 uid="uid://bneg4nt6ryuuj"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_float.gd" id="1_8dioj"]
[ext_resource type="Script" uid="uid://bj6neep1yo03w" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_float.gd" id="1_8dioj"]
[ext_resource type="PackedScene" uid="uid://drn5t13m088fb" path="res://addons/panku_console/common/panku_button.tscn" id="2_5rj7f"]
[ext_resource type="Texture2D" uid="uid://bc2g8vv0x3d8y" path="res://addons/panku_console/res/icons2/swap_horiz.svg" id="2_lyxit"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/joystick_button.gd" id="3_ee2gx"]
[ext_resource type="Script" uid="uid://bd6t4rl6bk04g" path="res://addons/panku_console/modules/data_controller/exporter/joystick_button.gd" id="3_ee2gx"]
[node name="RowFloat" type="HBoxContainer" node_paths=PackedStringArray("line_edit", "joystick_button")]
[node name="RowFloat" type="HBoxContainer" unique_id=1342243672 node_paths=PackedStringArray("line_edit", "joystick_button")]
script = ExtResource("1_8dioj")
line_edit = NodePath("LineEdit")
joystick_button = NodePath("PankuButton")
[node name="VName" type="Label" parent="."]
[node name="VName" type="Label" parent="." unique_id=432714378]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "value3"
[node name="LineEdit" type="LineEdit" parent="."]
[node name="LineEdit" type="LineEdit" parent="." unique_id=2055698609]
layout_mode = 2
size_flags_horizontal = 3
text = "433.24"
[node name="PankuButton" parent="." instance=ExtResource("2_5rj7f")]
[node name="PankuButton" parent="." unique_id=1952526199 instance=ExtResource("2_5rj7f")]
layout_mode = 2
script = ExtResource("3_ee2gx")
[node name="TextureRect" parent="PankuButton/HBoxContainer" index="0"]
[node name="TextureRect" parent="PankuButton/HBoxContainer" parent_id_path=PackedInt32Array(1952526199, 33432395) index="0" unique_id=787807973]
texture = ExtResource("2_lyxit")
[node name="Label" parent="PankuButton/HBoxContainer" index="1"]
text = ""
[editable path="PankuButton"]

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://78evbpdhqe4b"]
[gd_scene format=3 uid="uid://78evbpdhqe4b"]
[ext_resource type="Texture2D" uid="uid://ws58gucuygx1" path="res://addons/panku_console/res/icons2/chevron_right.svg" id="1_sddod"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_group_button.gd" id="2_7jdni"]
[ext_resource type="Script" uid="uid://bmag0vwbj0x14" path="res://addons/panku_console/modules/data_controller/exporter/row_group_button.gd" id="2_7jdni"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_gpngf"]
@ -13,7 +13,7 @@ border_width_right = 2
border_width_bottom = 2
border_color = Color(0, 0.596078, 0.85098, 0.25098)
[node name="GroupButton" type="Button"]
[node name="GroupButton" type="Button" unique_id=709874642]
custom_minimum_size = Vector2(0, 20)
offset_right = 169.0
offset_bottom = 27.0
@ -26,7 +26,7 @@ alignment = 0
expand_icon = true
script = ExtResource("2_7jdni")
[node name="Panel" type="Panel" parent="."]
[node name="Panel" type="Panel" parent="." unique_id=779487595]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15

View File

@ -1,43 +1,37 @@
[gd_scene load_steps=5 format=3 uid="uid://cnsnrihcgjsa"]
[gd_scene format=3 uid="uid://cnsnrihcgjsa"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_int.gd" id="1_gi50r"]
[ext_resource type="Script" uid="uid://d11t8s1k4xj8l" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_int.gd" id="1_gi50r"]
[ext_resource type="PackedScene" uid="uid://drn5t13m088fb" path="res://addons/panku_console/common/panku_button.tscn" id="2_cfn1u"]
[ext_resource type="Texture2D" uid="uid://dnexm7u6lq3km" path="res://addons/panku_console/res/icons2/remove.svg" id="2_ityxl"]
[ext_resource type="Texture2D" uid="uid://dprpfr0l5xvmu" path="res://addons/panku_console/res/icons2/add.svg" id="3_3vcaq"]
[node name="RowInt" type="HBoxContainer" node_paths=PackedStringArray("line_edit", "button_inc", "button_dec")]
[node name="RowInt" type="HBoxContainer" unique_id=418702754 node_paths=PackedStringArray("line_edit", "button_inc", "button_dec")]
script = ExtResource("1_gi50r")
line_edit = NodePath("LineEdit")
button_inc = NodePath("Button2")
button_dec = NodePath("Button")
[node name="VName" type="Label" parent="."]
[node name="VName" type="Label" parent="." unique_id=722726416]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "value3"
[node name="Button" parent="." instance=ExtResource("2_cfn1u")]
[node name="Button" parent="." unique_id=2133556207 instance=ExtResource("2_cfn1u")]
layout_mode = 2
[node name="TextureRect" parent="Button/HBoxContainer" index="0"]
[node name="TextureRect" parent="Button/HBoxContainer" parent_id_path=PackedInt32Array(2133556207, 33432395) index="0" unique_id=787807973]
texture = ExtResource("2_ityxl")
[node name="Label" parent="Button/HBoxContainer" index="1"]
text = ""
[node name="LineEdit" type="LineEdit" parent="."]
[node name="LineEdit" type="LineEdit" parent="." unique_id=1258713898]
layout_mode = 2
size_flags_horizontal = 3
text = "12345"
[node name="Button2" parent="." instance=ExtResource("2_cfn1u")]
[node name="Button2" parent="." unique_id=2031042940 instance=ExtResource("2_cfn1u")]
layout_mode = 2
[node name="TextureRect" parent="Button2/HBoxContainer" index="0"]
[node name="TextureRect" parent="Button2/HBoxContainer" parent_id_path=PackedInt32Array(2031042940, 33432395) index="0" unique_id=787807973]
texture = ExtResource("3_3vcaq")
[node name="Label" parent="Button2/HBoxContainer" index="1"]
text = ""
[editable path="Button"]
[editable path="Button2"]

View File

@ -1,27 +1,27 @@
[gd_scene load_steps=2 format=3 uid="uid://b6w4d5bsp0erj"]
[gd_scene format=3 uid="uid://b6w4d5bsp0erj"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_range_number.gd" id="1_wfk7y"]
[ext_resource type="Script" uid="uid://i2ex7bskjf4s" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_range_number.gd" id="1_wfk7y"]
[node name="RowRangeNumber" type="HBoxContainer" node_paths=PackedStringArray("slider", "ledit")]
[node name="RowRangeNumber" type="HBoxContainer" unique_id=1127265464 node_paths=PackedStringArray("slider", "ledit")]
offset_right = 285.0
offset_bottom = 31.0
script = ExtResource("1_wfk7y")
slider = NodePath("HSlider")
ledit = NodePath("LineEdit")
[node name="VName" type="Label" parent="."]
[node name="VName" type="Label" parent="." unique_id=293702250]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "value2"
[node name="HSlider" type="HSlider" parent="."]
[node name="HSlider" type="HSlider" parent="." unique_id=1547694626]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
size_flags_stretch_ratio = 2.0
value = 30.0
[node name="LineEdit" type="LineEdit" parent="."]
[node name="LineEdit" type="LineEdit" parent="." unique_id=2043902019]
layout_mode = 2
size_flags_horizontal = 3
text = "123.45"

View File

@ -1,17 +1,17 @@
[gd_scene load_steps=2 format=3 uid="uid://dal16suyx5int"]
[gd_scene format=3 uid="uid://dal16suyx5int"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_readonly.gd" id="1_wju8u"]
[ext_resource type="Script" uid="uid://dn81pg2pujviw" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_readonly.gd" id="1_wju8u"]
[node name="RowReadOnly" type="HBoxContainer" node_paths=PackedStringArray("ledit")]
[node name="RowReadOnly" type="HBoxContainer" unique_id=594640887 node_paths=PackedStringArray("ledit")]
script = ExtResource("1_wju8u")
ledit = NodePath("LineEdit")
[node name="VName" type="Label" parent="."]
[node name="VName" type="Label" parent="." unique_id=449210133]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "value1"
[node name="LineEdit" type="LineEdit" parent="."]
[node name="LineEdit" type="LineEdit" parent="." unique_id=1899930877]
layout_mode = 2
size_flags_horizontal = 3
text = "Disabled"

View File

@ -1,17 +1,17 @@
[gd_scene load_steps=2 format=3 uid="uid://b4jxqh4ysyodt"]
[gd_scene format=3 uid="uid://b4jxqh4ysyodt"]
[ext_resource type="Script" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_string.gd" id="1_7ybqm"]
[ext_resource type="Script" uid="uid://bug02v22oeaqq" path="res://addons/panku_console/modules/data_controller/exporter/row_ui_string.gd" id="1_7ybqm"]
[node name="RowString" type="HBoxContainer" node_paths=PackedStringArray("line_edit")]
[node name="RowString" type="HBoxContainer" unique_id=210507956 node_paths=PackedStringArray("line_edit")]
script = ExtResource("1_7ybqm")
line_edit = NodePath("LineEdit")
[node name="VName" type="Label" parent="."]
[node name="VName" type="Label" parent="." unique_id=562399211]
custom_minimum_size = Vector2(80, 0)
layout_mode = 2
text = "value3"
[node name="LineEdit" type="LineEdit" parent="."]
[node name="LineEdit" type="LineEdit" parent="." unique_id=1873308653]
layout_mode = 2
size_flags_horizontal = 3
text = "string value..."

View File

@ -13,7 +13,7 @@ func update_ui(val:bool):
else:
label_btn.text = "[ ] OFF"
set_font_color(label_btn, Color("#b25566"))
# wtf
static func set_font_color(node, color):
node.set("theme_override_colors/font_color", color)

View File

@ -3,7 +3,7 @@ extends "./row_ui.gd"
@export var line_edit:LineEdit
@export var color_picker_button:ColorPickerButton
func get_ui_val() -> Color:
func get_ui_val() -> Color:
return color_picker_button.color
func update_ui(val:Color):

View File

@ -13,7 +13,7 @@ func _ready():
func(index:int):
ui_val_changed.emit(index)
)
# wtf, transparent background is a mess
var popup := opt_btn.get_popup()
popup.transparent_bg = true

View File

@ -3,7 +3,7 @@ extends "./row_ui.gd"
@export var line_edit:LineEdit
@export var joystick_button:PankuButton
func get_ui_val():
func get_ui_val():
return line_edit.text.to_float()
func update_ui(val:float):
@ -14,16 +14,16 @@ func is_active() -> bool:
func _ready():
line_edit.text_submitted.connect(
func(_s):
func(_s):
ui_val_changed.emit(get_ui_val())
)
line_edit.focus_exited.connect(
func():
func():
ui_val_changed.emit(get_ui_val())
)
var j_button = joystick_button
j_button.value_changed.connect(
func(delta:Vector2):
func(delta:Vector2):
update_ui(get_ui_val() + delta.x)
ui_val_changed.emit(get_ui_val())
)

View File

@ -4,7 +4,7 @@ extends "./row_ui.gd"
@export var button_inc:PankuButton
@export var button_dec:PankuButton
func get_ui_val():
func get_ui_val():
return line_edit.text.to_int()
func update_ui(val:float):
@ -15,11 +15,11 @@ func is_active() -> bool:
func _ready():
line_edit.text_submitted.connect(
func(_s):
func(_s):
ui_val_changed.emit(get_ui_val())
)
line_edit.focus_exited.connect(
func():
func():
ui_val_changed.emit(get_ui_val())
)
button_inc.pressed.connect(

View File

@ -30,7 +30,7 @@ func setup(data_type:int, params := []):
continue
if params[i] in properties:
slider.set(properties[params[i]], true)
#set default step if not specified
if params.size() == 2:
if data_type == TYPE_INT:
@ -40,14 +40,14 @@ func setup(data_type:int, params := []):
slider.step = (slider.max_value - slider.min_value) / 100.0
func _ready():
ledit.text_submitted.connect(
func(new_text):
func(new_text):
ui_val_changed.emit(new_text)
slider.value = new_text.to_float()
)
ledit.focus_exited.connect(
func():
func():
ui_val_changed.emit(ledit.text)
slider.value = ledit.text.to_float()
)

Some files were not shown because too many files have changed in this diff Show More