Compare commits
137 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2940475062 | |||
| 746ac58329 | |||
| a9cb20c8bc | |||
| 32249fde86 | |||
| 27e137bc02 | |||
| 01daddee3b | |||
| ba512508f8 | |||
| 09ef508f49 | |||
| a54003c658 | |||
| fbad33213c | |||
| 35c7e9a25e | |||
| 57896e37df | |||
| 242879159a | |||
| 7ef9fe53b2 | |||
| 600d9cfca1 | |||
| 48796de1ba | |||
| 4a0b2cd550 | |||
| ba429d7b84 | |||
| e33776daeb | |||
| 9cfd3bd6f4 | |||
| c36d0b5866 | |||
| bcdba7b812 | |||
| 7467ec56d9 | |||
| 990494e8b0 | |||
| c6e0cfe4d9 | |||
| 4e010220bf | |||
| ccc4eb759e | |||
| 58c65fc928 | |||
| 937e54e47a | |||
| 83c8a15e5a | |||
| 1fcddb7349 | |||
| 26cae9b0f8 | |||
| 0ebd0c46a0 | |||
| 2226b859df | |||
| 07bcab4454 | |||
| 4c6d5350b2 | |||
| f2c492de54 | |||
| e269b3ab44 | |||
| 89ae347a91 | |||
| ddb5547b42 | |||
| afa06d3ee2 | |||
| dd656d5f5f | |||
| cdb62f3c2f | |||
| b0f4592fdd | |||
| 406c11b581 | |||
| 9812006234 | |||
| b8e456f7ef | |||
| 97e5485ef1 | |||
| c77563d38e | |||
| c322f7667a | |||
| 68be479a09 | |||
| dc52d80a92 | |||
| a84ca9c32c | |||
| 6b1dd04dd5 | |||
| 523624756e | |||
| 72593ff7c7 | |||
| d7dfd03241 | |||
| eac135508c | |||
| 90cadbea07 | |||
| 72c3454728 | |||
| 83e25f44cd | |||
| 31f19ad139 | |||
| c6ec99e87a | |||
| 1f17cca62d | |||
| 1629862759 | |||
| a53b4c4010 | |||
| 3e135afecb | |||
| 25d8f217ff | |||
| a477f9ef4f | |||
| b917fb5fbd | |||
| 47a1326292 | |||
| 708aa8cca4 | |||
| 83f4144b43 | |||
| 2c677a8cda | |||
| ec5d42068e | |||
| 8fdb395ae8 | |||
| 60928c520c | |||
| f3ed5e0ad0 | |||
| ee897db52b | |||
| 41201d7406 | |||
| 267172d026 | |||
| 917e6a5f7e | |||
| 23ef4e9a63 | |||
| fa7cc66748 | |||
| 7b006d19ef | |||
| ad070514d7 | |||
| 80c48ea3df | |||
| d76218f88f | |||
| 7276bdda38 | |||
| 73dc3063c0 | |||
| ae4f7d9c58 | |||
| 9a5caef52f | |||
| 15c2a84ecd | |||
| 1094fb2142 | |||
| 2ab1c38de9 | |||
| 6d80253d9c | |||
| 1b7c35879c | |||
| ff426b0494 | |||
| 90616537bc | |||
| 0f8eb244e9 | |||
| 38fdad7690 | |||
| 0de6bc0c04 | |||
| fc2d6592a2 | |||
| 222c10fe0a | |||
| 8af825bc18 | |||
| f7684b6c2a | |||
| f9a3a8e389 | |||
| 6ad8fb00bd | |||
| c4dbc104d4 | |||
| 77c0babdca | |||
| aa5a3483bb | |||
| 68b6031da1 | |||
| 4afb02440c | |||
| de5657a9cd | |||
| ff85b67087 | |||
| 6f3d843818 | |||
| 20f8eaaebd | |||
| 69848e77c9 | |||
| 366923699c | |||
| 2a7f39e3fe | |||
| 296fed6e08 | |||
| 1af04631c5 | |||
| 9ec1bcab97 | |||
| d11fc9f1f2 | |||
| 16a65f7155 | |||
| 0fcc425ace | |||
| 21685d60d5 | |||
| 752cdb1502 | |||
| 8299998a0f | |||
| 5ea6431216 | |||
| 7cccd40290 | |||
| 762a694be3 | |||
| 339428c312 | |||
| 7e19268847 | |||
| 20b37de108 | |||
| 7d1187d218 | |||
| c73d3ff370 |
@@ -2,8 +2,13 @@
|
|||||||
.godot/
|
.godot/
|
||||||
/android/
|
/android/
|
||||||
/builds/
|
/builds/
|
||||||
|
/_builds/
|
||||||
|
/_clips/
|
||||||
|
|
||||||
# temporary files
|
# temporary files
|
||||||
**/*.tmp
|
**/*.tmp
|
||||||
**/*.translation
|
**/*.translation
|
||||||
**/*~lock~
|
**/*~lock~
|
||||||
|
|
||||||
|
# override config can be used by developers to override the settings without pushing changes to the repository
|
||||||
|
override.cfg
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="AndroidProjectSystem">
|
||||||
|
<option name="providerId" value="RiderAndroidProjectSystem" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="GdSdk Master" type="GdScript">
|
||||||
|
<properties path="$USER_HOME$/.cache/JetBrains/Rider2025.1/projects/.idea.babushka.a4de4632/sdk/GdSdk Master" version="Master" date="2024-06-01T15:14:16.000+02:00" />
|
||||||
|
<CLASSES />
|
||||||
|
<JAVADOC />
|
||||||
|
<SOURCES>
|
||||||
|
<root url="file://$USER_HOME$/.cache/JetBrains/Rider2025.1/projects/.idea.babushka.a4de4632/sdk/GdSdk Master" />
|
||||||
|
</SOURCES>
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
@@ -2,5 +2,9 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="prefabs\UI\Inventory\" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=0B2502BD29F5EC4798EEFD2950AA7E06/Description/@EntryValue">Godot Signal</s:String>
|
||||||
|
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=0B2502BD29F5EC4798EEFD2950AA7E06/Text/@EntryValue">[Signal]
|
||||||
|
public delegate void $SignalName$EventHandler($END$);</s:String>
|
||||||
|
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=0B2502BD29F5EC4798EEFD2950AA7E06/Field/=SignalName/Expression/@EntryValue">suggestVariableName()</s:String></wpf:ResourceDictionary>
|
||||||
@@ -1,2 +1,5 @@
|
|||||||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AArea3D_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FSourcesCache_003F8a54226fa2e1c9371a8091f24cfd744aef11fe6869527dc23b9b837623a29b9_003FArea3D_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AArea3D_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FSourcesCache_003F8a54226fa2e1c9371a8091f24cfd744aef11fe6869527dc23b9b837623a29b9_003FArea3D_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AAudioStreamPlayer2D_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003F848324b1c23114c3f5e8bbb5a42c4ade394c59a7a7a133a66b76581ca571_003FAudioStreamPlayer2D_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ACastHelpers_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fd111abf504bf42b5968a609b168fd093b2e200_003Fbb_003F1c116fcd_003FCastHelpers_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
|
||||||
|
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANode_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003F_002Econfig_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FSourcesCache_003Ff1d69ec2da76ccf9bc8a75c8e0fdca9a7ba1adf8c8c9d5047e2fa5991c02eca_003FNode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg height="24" viewBox="0 0 16 16" width="24" xmlns="http://www.w3.org/2000/svg"><path d="m8 1a1 1 0 0 0 -1 1v5h-2c-1.108 0-2 .892-2 2v1h10v-1c0-1.108-.892-2-2-2h-2v-5a1 1 0 0 0 -1-1zm-5 10v4l10-1v-3z" fill="#e0e0e0"/></svg>
|
||||||
|
After Width: | Height: | Size: 227 B |
@@ -0,0 +1,37 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bmnff63evbdhv"
|
||||||
|
path="res://.godot/imported/Clear.svg-d661617e27b91e3580171e3447fde514.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/SignalVisualizer/Clear.svg"
|
||||||
|
dest_files=["res://.godot/imported/Clear.svg-d661617e27b91e3580171e3447fde514.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
class_name SignalConnection extends Object
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
var signal_id: int
|
||||||
|
var source_node_name: String
|
||||||
|
var destination_node_name: String
|
||||||
|
var method_signature: String
|
||||||
|
|
||||||
|
var description: String :
|
||||||
|
get:
|
||||||
|
return "ID: {signal_id} Source: {source_node_name} Destination: {destination_node_name} Method: {method_signature}".format({
|
||||||
|
"signal_id": signal_id,
|
||||||
|
"source_node_name": source_node_name,
|
||||||
|
"destination_node_name": destination_node_name,
|
||||||
|
"method_signature": method_signature,
|
||||||
|
})
|
||||||
|
|
||||||
|
var dictionary_key: String :
|
||||||
|
get:
|
||||||
|
return "{signal_id}__{source_node_name}__{destination_node_name}__{method_signature}".format({ "signal_id": signal_id, "source_node_name": source_node_name, "destination_node_name": destination_node_name, "method_signature": method_signature.replace("::", "_") })
|
||||||
|
|
||||||
|
var dictionary_representation: Dictionary :
|
||||||
|
get:
|
||||||
|
return {
|
||||||
|
"signal_id": signal_id,
|
||||||
|
"source_node_name": source_node_name,
|
||||||
|
"destination_node_name": destination_node_name,
|
||||||
|
"method_signature": method_signature,
|
||||||
|
}
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _init(signal_id: int, source_node_name: String, destination_node_name: String, method_signature: String):
|
||||||
|
self.signal_id = signal_id
|
||||||
|
self.source_node_name = source_node_name
|
||||||
|
self.destination_node_name = destination_node_name
|
||||||
|
self.method_signature = method_signature
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://dm613ct57qfwa
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
class_name SignalDescription extends Object
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
var id: int:
|
||||||
|
get:
|
||||||
|
if _source_id != null:
|
||||||
|
return _source_id
|
||||||
|
return get_instance_id()
|
||||||
|
|
||||||
|
var node_name: String
|
||||||
|
var signal_name: String
|
||||||
|
|
||||||
|
var description: String :
|
||||||
|
get:
|
||||||
|
return "ID: {id} Node: {node_name} Signal: {signal_name}".format({
|
||||||
|
"id": id,
|
||||||
|
"node_name": node_name,
|
||||||
|
"signal_name": signal_name,
|
||||||
|
})
|
||||||
|
|
||||||
|
var dictionary_representation: Dictionary :
|
||||||
|
get:
|
||||||
|
return {
|
||||||
|
"id": id,
|
||||||
|
"node_name": node_name,
|
||||||
|
"signal_name": signal_name,
|
||||||
|
}
|
||||||
|
|
||||||
|
var _source_id = null
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _init(node_name: String, signal_name: String):
|
||||||
|
self.node_name = node_name
|
||||||
|
self.signal_name = signal_name
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://dvgsocxisw3ae
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
class_name SignalGraph extends Object
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
var name: String
|
||||||
|
var signals: Array[SignalDescription]
|
||||||
|
var edges: Array[SignalConnection]
|
||||||
|
|
||||||
|
var description: String :
|
||||||
|
get:
|
||||||
|
return "Signals: {signals}\nEdges: {edges}".format({
|
||||||
|
"signals": signals.map(func (item): return item.description),
|
||||||
|
"edges": edges.map(func (item): return item.description),
|
||||||
|
})
|
||||||
|
|
||||||
|
var dictionary_representation: Dictionary :
|
||||||
|
get:
|
||||||
|
return {
|
||||||
|
"name": name,
|
||||||
|
"signals": signals.map(func (element): return element.dictionary_representation),
|
||||||
|
"edges": edges.map(func (element): return element.dictionary_representation),
|
||||||
|
}
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _init(name: String, signals: Array[SignalDescription] = [], edges: Array[SignalConnection] = []):
|
||||||
|
self.name = name
|
||||||
|
self.signals = signals
|
||||||
|
self.edges = edges
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func get_source_signal_for_edge(edge: SignalConnection) -> SignalDescription:
|
||||||
|
var result = signals.filter(func (item): return item.id == edge.signal_id)
|
||||||
|
if result.size() > 0:
|
||||||
|
return result[0]
|
||||||
|
return null
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://2qj81iy1le0a
|
||||||
@@ -0,0 +1,170 @@
|
|||||||
|
@tool
|
||||||
|
class_name SignalGraphUtility
|
||||||
|
|
||||||
|
static var SignalGraphNode = preload("res://addons/SignalVisualizer/Visualizer/signal_graph_node.tscn")
|
||||||
|
static var GraphNodeItem = preload("res://addons/SignalVisualizer/Visualizer/signal_graph_node_item.tscn")
|
||||||
|
|
||||||
|
const SOURCE_COLOR: Color = Color.SKY_BLUE
|
||||||
|
const DESTINATION_COLOR: Color = Color.CORAL
|
||||||
|
const CONNECTION_TYPE: int = 0
|
||||||
|
|
||||||
|
#region Methods
|
||||||
|
|
||||||
|
static func create_signal_graph(name: String, signals: Array, edges: Array) -> SignalGraph:
|
||||||
|
var signal_graph = SignalGraph.new(name)
|
||||||
|
|
||||||
|
for signal_item in signals:
|
||||||
|
var new_signal_description = SignalDescription.new(signal_item.node_name, signal_item.signal_name)
|
||||||
|
new_signal_description._source_id = signal_item.id
|
||||||
|
signal_graph.signals.append(new_signal_description)
|
||||||
|
|
||||||
|
for connection in edges:
|
||||||
|
var new_edge = SignalConnection.new(connection.signal_id, connection.source_node_name, connection.destination_node_name, connection.method_signature)
|
||||||
|
signal_graph.edges.append(new_edge)
|
||||||
|
|
||||||
|
return signal_graph
|
||||||
|
|
||||||
|
static func create_signal_graph_from_node(root_node: Node, is_persistent_only: bool = false):
|
||||||
|
var signal_graph = SignalGraph.new(root_node.scene_file_path)
|
||||||
|
var all_nodes: Array[Node] = _gather_nodes_from_node(root_node)
|
||||||
|
var signals: Array[SignalDescription] = []
|
||||||
|
var edges: Array[SignalConnection] = []
|
||||||
|
|
||||||
|
for node in all_nodes:
|
||||||
|
for signal_item in node.get_signal_list():
|
||||||
|
var existing_signals = []
|
||||||
|
var connection_list = node.get_signal_connection_list(signal_item["name"] as String)
|
||||||
|
if connection_list.size() > 0:
|
||||||
|
for connection in connection_list:
|
||||||
|
var enabled_flags = connection["flags"] == CONNECT_PERSIST if is_persistent_only else true
|
||||||
|
var should_display_connection = "name" in connection["callable"].get_object() and not connection["callable"].get_object().name.begins_with("@") and enabled_flags
|
||||||
|
if should_display_connection:
|
||||||
|
var signal_description: SignalDescription
|
||||||
|
var filtered_signals = existing_signals.filter(func (element): return element.signal_name == signal_item.name and element.node_name == node.name)
|
||||||
|
if filtered_signals.size() == 1:
|
||||||
|
signal_description = filtered_signals[0]
|
||||||
|
else:
|
||||||
|
signal_description = SignalDescription.new(node.name, signal_item.name)
|
||||||
|
existing_signals.append(signal_description)
|
||||||
|
signals.append(signal_description)
|
||||||
|
|
||||||
|
var signal_edge = SignalConnection.new(signal_description.id, signal_description.node_name, connection["callable"].get_object().name, connection["callable"].get_method())
|
||||||
|
if not signal_graph.edges.any(func (element): return element.signal_id == signal_description.id):
|
||||||
|
edges.append(signal_edge)
|
||||||
|
|
||||||
|
var temp_signals = {}
|
||||||
|
for item in signals:
|
||||||
|
temp_signals[item.id] = item
|
||||||
|
|
||||||
|
var temp_edges = {}
|
||||||
|
for item in edges:
|
||||||
|
temp_edges[item.dictionary_key] = item
|
||||||
|
|
||||||
|
signal_graph.signals.assign(temp_signals.keys().map(func (key): return temp_signals[key]))
|
||||||
|
signal_graph.edges.assign(temp_edges.keys().map(func (key): return temp_edges[key]))
|
||||||
|
|
||||||
|
return signal_graph
|
||||||
|
|
||||||
|
static func generate_signal_graph_nodes(signal_graph: SignalGraph, graph_node: GraphEdit, open_script_callable: Callable):
|
||||||
|
var graph_nodes: Dictionary = {}
|
||||||
|
|
||||||
|
for signal_item in signal_graph.signals:
|
||||||
|
var current_graph_node: SignalGraphNode
|
||||||
|
if graph_nodes.has(signal_item.node_name):
|
||||||
|
current_graph_node = graph_nodes[signal_item.node_name]
|
||||||
|
if not current_graph_node:
|
||||||
|
current_graph_node = SignalGraphNode.instantiate()
|
||||||
|
current_graph_node.title = signal_item.node_name
|
||||||
|
current_graph_node.name = _get_graph_node_name(signal_item.node_name)
|
||||||
|
graph_node.add_child(current_graph_node)
|
||||||
|
graph_nodes[signal_item.node_name] = current_graph_node
|
||||||
|
|
||||||
|
for edge in signal_graph.edges:
|
||||||
|
var destination_graph_node: SignalGraphNode
|
||||||
|
if graph_nodes.has(edge.destination_node_name):
|
||||||
|
destination_graph_node = graph_nodes[edge.destination_node_name]
|
||||||
|
else:
|
||||||
|
destination_graph_node = SignalGraphNode.instantiate()
|
||||||
|
destination_graph_node.title = edge.destination_node_name
|
||||||
|
destination_graph_node.name = _get_graph_node_name(edge.destination_node_name)
|
||||||
|
graph_node.add_child(destination_graph_node)
|
||||||
|
graph_nodes[edge.destination_node_name] = destination_graph_node
|
||||||
|
|
||||||
|
var source_signal = signal_graph.get_source_signal_for_edge(edge)
|
||||||
|
if source_signal != null:
|
||||||
|
var source_graph_node: SignalGraphNode = graph_nodes[edge.source_node_name] as SignalGraphNode
|
||||||
|
|
||||||
|
if not source_graph_node.has_source_signal_description(source_signal.signal_name, edge.destination_node_name):
|
||||||
|
var source_signal_label = Label.new()
|
||||||
|
source_signal_label.text = source_signal.signal_name
|
||||||
|
source_signal_label.name = "source_" + source_signal.signal_name + "_" + edge.destination_node_name
|
||||||
|
source_graph_node.add_child(source_signal_label)
|
||||||
|
|
||||||
|
var destination_signal_name = "destination_" + source_signal.signal_name + "_" + edge.method_signature.replace("::", "__")
|
||||||
|
var has_destination = destination_graph_node.has_destination_signal_description(source_signal.signal_name, edge.method_signature)
|
||||||
|
if not has_destination:
|
||||||
|
var destination_signal_item = GraphNodeItem.instantiate()
|
||||||
|
destination_signal_item.signal_data = SignalGraphNodeItem.Metadata.new(source_signal.signal_name, edge.method_signature, edge.destination_node_name)
|
||||||
|
destination_signal_item.text = edge.method_signature
|
||||||
|
destination_signal_item.name = destination_signal_name
|
||||||
|
destination_signal_item.open_script.connect(open_script_callable)
|
||||||
|
destination_graph_node.add_child(destination_signal_item)
|
||||||
|
|
||||||
|
for edge in signal_graph.edges:
|
||||||
|
var source_signal = signal_graph.get_source_signal_for_edge(edge)
|
||||||
|
if source_signal != null:
|
||||||
|
var source_graph_node: SignalGraphNode = graph_nodes[edge.source_node_name] as SignalGraphNode
|
||||||
|
var destination_graph_node: SignalGraphNode = graph_nodes[edge.destination_node_name] as SignalGraphNode
|
||||||
|
|
||||||
|
var from_port = source_graph_node.get_source_slot(source_signal.signal_name, edge.destination_node_name)
|
||||||
|
var to_port = destination_graph_node.get_destination_slot(source_signal.signal_name, edge.method_signature)
|
||||||
|
|
||||||
|
source_graph_node.set_slot(from_port, false, CONNECTION_TYPE, Color.BLACK, true, CONNECTION_TYPE, SOURCE_COLOR)
|
||||||
|
destination_graph_node.set_slot(to_port, true, CONNECTION_TYPE, DESTINATION_COLOR, false, CONNECTION_TYPE, Color.BLACK)
|
||||||
|
|
||||||
|
var from_slot_index = source_graph_node.get_next_source_slot(source_signal.signal_name, edge.destination_node_name)
|
||||||
|
var to_slot_index = destination_graph_node.get_next_destination_slot(source_signal.signal_name, edge.method_signature)
|
||||||
|
|
||||||
|
if from_port >= 0 and to_port >= 0:
|
||||||
|
graph_node.connect_node(source_graph_node.name, from_slot_index, destination_graph_node.name, to_slot_index)
|
||||||
|
else:
|
||||||
|
print(">>> Invalid Connection Request")
|
||||||
|
|
||||||
|
static func generate_signal_graph_tree(signal_graph: SignalGraph, tree_node: Tree):
|
||||||
|
var root = tree_node.create_item()
|
||||||
|
root.set_text(0, signal_graph.name)
|
||||||
|
|
||||||
|
var tree_items: Dictionary = {}
|
||||||
|
|
||||||
|
for signal_item in signal_graph.signals:
|
||||||
|
var node_tree_item: TreeItem
|
||||||
|
if tree_items.has(signal_item.node_name):
|
||||||
|
node_tree_item = tree_items[signal_item.node_name] as TreeItem
|
||||||
|
else:
|
||||||
|
node_tree_item = tree_node.create_item(root)
|
||||||
|
node_tree_item.set_text(0, signal_item.node_name)
|
||||||
|
tree_items[signal_item.node_name] = node_tree_item
|
||||||
|
|
||||||
|
var signal_tree_item = tree_node.create_item(node_tree_item)
|
||||||
|
signal_tree_item.set_text(0, signal_item.signal_name)
|
||||||
|
|
||||||
|
for edge in signal_graph.edges.filter(func (item): return item.signal_id == signal_item.id):
|
||||||
|
var signal_connection_tree_item = tree_node.create_item(signal_tree_item)
|
||||||
|
signal_connection_tree_item.set_text(0, edge.destination_node_name + "::" + edge.method_signature)
|
||||||
|
|
||||||
|
static func _get_graph_node_name(name: String) -> String:
|
||||||
|
return "{node_name}_graph_node".format({ "node_name": name })
|
||||||
|
|
||||||
|
static func _gather_nodes_from_node(root_node: Node) -> Array[Node]:
|
||||||
|
var node_list: Array[Node] = [root_node]
|
||||||
|
return node_list + __gather_nodes_from_node(root_node)
|
||||||
|
|
||||||
|
static func __gather_nodes_from_node(node: Node) -> Array[Node]:
|
||||||
|
var nodes: Array[Node] = []
|
||||||
|
for child in node.get_children(false):
|
||||||
|
nodes.append(child)
|
||||||
|
nodes += __gather_nodes_from_node(child)
|
||||||
|
|
||||||
|
return nodes
|
||||||
|
|
||||||
|
#endregion
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://csw8uccbs0vuk
|
||||||
@@ -0,0 +1,146 @@
|
|||||||
|
extends Node
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
var _signal_graph: SignalGraph
|
||||||
|
var _lambda_map: Dictionary = {}
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
if OS.is_debug_build():
|
||||||
|
EngineDebugger.register_message_capture("signal_debugger", _on_signal_debugger_message_capture)
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _on_signal_debugger_message_capture(message: String, data: Array) -> bool:
|
||||||
|
if message == "start":
|
||||||
|
_signal_graph = generate_signal_graph()
|
||||||
|
for signal_item in _signal_graph.signals:
|
||||||
|
_connect_to_signal(signal_item)
|
||||||
|
EngineDebugger.send_message(
|
||||||
|
"signal_debugger:generated_graph",
|
||||||
|
[[_signal_graph.signals.map(func (item): return item.dictionary_representation), _signal_graph.edges.map(func (item): return item.dictionary_representation)]]
|
||||||
|
)
|
||||||
|
if message == "stop" and _signal_graph:
|
||||||
|
for signal_item in _signal_graph.signals:
|
||||||
|
_disconnect_from_signal(signal_item)
|
||||||
|
|
||||||
|
if message == "invoke_signal" and data.size() == 2:
|
||||||
|
var node_name = data[0]
|
||||||
|
var signal_name = data[1]
|
||||||
|
|
||||||
|
var root_node = get_tree().current_scene
|
||||||
|
var node = root_node if root_node.name == node_name else root_node.find_child(node_name)
|
||||||
|
if node:
|
||||||
|
var connection_list = node.get_signal_connection_list(signal_name)
|
||||||
|
for connection in connection_list:
|
||||||
|
var callable = connection["callable"]
|
||||||
|
var bound_args = callable.get_bound_arguments()
|
||||||
|
var bound_args_count = callable.get_bound_arguments_count()
|
||||||
|
var method = callable.get_method()
|
||||||
|
callable.callv([node])
|
||||||
|
|
||||||
|
return true
|
||||||
|
|
||||||
|
func _on_signal_execution(signal_name: String, node_name: String, args):
|
||||||
|
EngineDebugger.send_message(
|
||||||
|
"signal_debugger:signal_executed",
|
||||||
|
[Time.get_datetime_string_from_system(), node_name, signal_name]
|
||||||
|
)
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func generate_signal_graph() -> SignalGraph:
|
||||||
|
var graph = SignalGraphUtility.create_signal_graph_from_node(get_tree().current_scene)
|
||||||
|
return graph
|
||||||
|
#var signal_graph = SignalGraph.new(get_tree().current_scene.name)
|
||||||
|
#var all_nodes: Array[Node] = _gather_nodes_in_scene()
|
||||||
|
#var signals: Array[SignalDescription] = []
|
||||||
|
#var edges: Array[SignalConnection] = []
|
||||||
|
#
|
||||||
|
#for node in all_nodes:
|
||||||
|
#for signal_item in node.get_signal_list():
|
||||||
|
#var existing_signals = []
|
||||||
|
#var connection_list = node.get_signal_connection_list(signal_item["name"] as String)
|
||||||
|
#if connection_list.size() > 0:
|
||||||
|
#for connection in connection_list:
|
||||||
|
#var should_display_connection = "name" in connection["callable"].get_object() and not connection["callable"].get_object().name.begins_with("@")
|
||||||
|
#if should_display_connection:
|
||||||
|
#var signal_description: SignalDescription
|
||||||
|
#var filtered_signals = existing_signals.filter(func (element): return element.signal_name == signal_item.name and element.node_name == node.name)
|
||||||
|
#if filtered_signals.size() == 1:
|
||||||
|
#signal_description = filtered_signals[0]
|
||||||
|
#else:
|
||||||
|
#signal_description = SignalDescription.new(node.name, signal_item.name)
|
||||||
|
#existing_signals.append(signal_description)
|
||||||
|
#signals.append(signal_description)
|
||||||
|
#
|
||||||
|
#var signal_edge = SignalConnection.new(signal_description.id, signal_description.node_name, connection["callable"].get_object().name, connection["callable"].get_method())
|
||||||
|
#if not signal_graph.edges.any(func (element): return element.signal_id == signal_description.id):
|
||||||
|
#edges.append(signal_edge)
|
||||||
|
#
|
||||||
|
#var temp_signals = {}
|
||||||
|
#for item in signals:
|
||||||
|
#temp_signals[item.id] = item
|
||||||
|
#
|
||||||
|
#var temp_edges = {}
|
||||||
|
#for item in edges:
|
||||||
|
#temp_edges[item.dictionary_key] = item
|
||||||
|
#
|
||||||
|
#signal_graph.signals.assign(temp_signals.keys().map(func (key): return temp_signals[key]))
|
||||||
|
#signal_graph.edges.assign(temp_edges.keys().map(func (key): return temp_edges[key]))
|
||||||
|
#
|
||||||
|
#return signal_graph
|
||||||
|
|
||||||
|
#func _gather_nodes_in_scene() -> Array[Node]:
|
||||||
|
#var scene_root = get_tree().current_scene
|
||||||
|
#var node_list: Array[Node] = [scene_root]
|
||||||
|
#return node_list + _gather_nodes_from_node(scene_root)
|
||||||
|
#
|
||||||
|
#func _gather_nodes_from_node(node: Node) -> Array[Node]:
|
||||||
|
#var nodes: Array[Node] = []
|
||||||
|
#for child in node.get_children(false):
|
||||||
|
#nodes.append(child)
|
||||||
|
#nodes += _gather_nodes_from_node(child)
|
||||||
|
#
|
||||||
|
#return nodes
|
||||||
|
|
||||||
|
func _connect_to_signal(signal_item: SignalDescription):
|
||||||
|
var root_node = get_tree().current_scene
|
||||||
|
var _execute: Callable = func (args = []): _on_signal_execution(signal_item.signal_name, signal_item.node_name, args)
|
||||||
|
if root_node.name == signal_item.node_name:
|
||||||
|
root_node.connect(signal_item.signal_name, _execute)
|
||||||
|
_lambda_map[signal_item] = _execute
|
||||||
|
else:
|
||||||
|
var child = root_node.find_child(signal_item.node_name)
|
||||||
|
if child:
|
||||||
|
child.connect(signal_item.signal_name, _execute)
|
||||||
|
_lambda_map[signal_item] = _execute
|
||||||
|
|
||||||
|
func _disconnect_from_signal(signal_item: SignalDescription):
|
||||||
|
var root_node = get_tree().current_scene
|
||||||
|
if root_node.name == signal_item.node_name:
|
||||||
|
var callable = _lambda_map[signal_item]
|
||||||
|
if callable:
|
||||||
|
root_node.disconnect(signal_item.signal_name, callable)
|
||||||
|
_lambda_map.erase(signal_item)
|
||||||
|
else:
|
||||||
|
var child = root_node.find_child(signal_item.node_name)
|
||||||
|
if child:
|
||||||
|
var callable = _lambda_map[signal_item]
|
||||||
|
if callable:
|
||||||
|
child.disconnect(signal_item.signal_name, callable)
|
||||||
|
_lambda_map.erase(signal_item)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://bmsqdh2cnmgw8
|
||||||
@@ -0,0 +1,97 @@
|
|||||||
|
[gd_scene load_steps=5 format=3 uid="uid://cbsmvov8u78q"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://addons/SignalVisualizer/Debugger/signal_debugger_panel.gd" id="1_66cpc"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://be3nwoioa311t" path="res://addons/SignalVisualizer/Play.svg" id="2_2wkuv"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://oo1oq2colx5b" path="res://addons/SignalVisualizer/Stop.svg" id="3_bg5eu"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bmnff63evbdhv" path="res://addons/SignalVisualizer/Clear.svg" id="4_vg63r"]
|
||||||
|
|
||||||
|
[node name="SignalDebugger" type="Control"]
|
||||||
|
clip_contents = true
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
script = ExtResource("1_66cpc")
|
||||||
|
start_icon = ExtResource("2_2wkuv")
|
||||||
|
stop_icon = ExtResource("3_bg5eu")
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||||
|
clip_contents = true
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||||
|
custom_minimum_size = Vector2(2.08165e-12, 50)
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/separation = 8
|
||||||
|
|
||||||
|
[node name="ActionButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
disabled = true
|
||||||
|
text = "Start"
|
||||||
|
icon = ExtResource("2_2wkuv")
|
||||||
|
|
||||||
|
[node name="ClearAllButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Clear All"
|
||||||
|
icon = ExtResource("4_vg63r")
|
||||||
|
|
||||||
|
[node name="Spacer" type="Control" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
|
||||||
|
[node name="ClearLogsButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Clear Logs"
|
||||||
|
icon = ExtResource("4_vg63r")
|
||||||
|
|
||||||
|
[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="SignalTree" type="Tree" parent="VBoxContainer/HSplitContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
custom_minimum_size = Vector2(250, 2.08165e-12)
|
||||||
|
layout_mode = 2
|
||||||
|
columns = 2
|
||||||
|
allow_reselect = true
|
||||||
|
allow_rmb_select = true
|
||||||
|
hide_root = true
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HSplitContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
|
||||||
|
[node name="TabBar" type="TabBar" parent="VBoxContainer/HSplitContainer/VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
tab_count = 2
|
||||||
|
tab_0/title = "Signal Log"
|
||||||
|
tab_1/title = "Signal Graph"
|
||||||
|
|
||||||
|
[node name="LogLabel" type="RichTextLabel" parent="VBoxContainer/HSplitContainer/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
theme_override_colors/default_color = Color(0.690196, 0.690196, 0.690196, 1)
|
||||||
|
bbcode_enabled = true
|
||||||
|
scroll_following = true
|
||||||
|
|
||||||
|
[node name="Graph" type="GraphEdit" parent="VBoxContainer/HSplitContainer/VBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
visible = false
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/ActionButton" to="." method="_on_action_button_pressed"]
|
||||||
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/ClearAllButton" to="." method="_on_clear_all_button_pressed"]
|
||||||
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/ClearLogsButton" to="." method="_on_clear_logs_button_pressed"]
|
||||||
|
[connection signal="item_selected" from="VBoxContainer/HSplitContainer/SignalTree" to="." method="_on_signal_tree_item_selected"]
|
||||||
|
[connection signal="tab_changed" from="VBoxContainer/HSplitContainer/VBoxContainer/TabBar" to="." method="_on_tab_bar_tab_changed"]
|
||||||
@@ -0,0 +1,192 @@
|
|||||||
|
@tool
|
||||||
|
class_name SignalDebuggerPanel extends Control
|
||||||
|
|
||||||
|
signal open_script(node_name: String, method_signature: String)
|
||||||
|
|
||||||
|
signal start_signal_debugging
|
||||||
|
signal stop_signal_debugging
|
||||||
|
|
||||||
|
var SignalGraphNode = preload("res://addons/SignalVisualizer/Visualizer/signal_graph_node.tscn")
|
||||||
|
var GraphNodeItem = preload("res://addons/SignalVisualizer/Visualizer/signal_graph_node_item.tscn")
|
||||||
|
|
||||||
|
const SOURCE_COLOR: Color = Color.SKY_BLUE
|
||||||
|
const DESTINATION_COLOR: Color = Color.CORAL
|
||||||
|
const CONNECTION_TYPE: int = 0
|
||||||
|
|
||||||
|
enum Tabs {
|
||||||
|
LOG,
|
||||||
|
GRAPH
|
||||||
|
}
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
@export var start_icon: Texture2D
|
||||||
|
@export var stop_icon: Texture2D
|
||||||
|
|
||||||
|
@onready var action_button: Button = %ActionButton
|
||||||
|
@onready var clear_all_button: Button = %ClearAllButton
|
||||||
|
@onready var signal_tree: Tree = %SignalTree
|
||||||
|
@onready var log_label: RichTextLabel = %LogLabel
|
||||||
|
@onready var graph_node: GraphEdit = %Graph
|
||||||
|
|
||||||
|
var is_started: bool = false :
|
||||||
|
get: return is_started
|
||||||
|
set(new_value):
|
||||||
|
is_started = new_value
|
||||||
|
_update_action_button()
|
||||||
|
|
||||||
|
var _signals: Array = []
|
||||||
|
var _signal_filter: Array = []
|
||||||
|
var _is_stack_trace_enabled: bool = false
|
||||||
|
var _debugger_tab_state: Tabs = Tabs.LOG
|
||||||
|
var _graph: SignalGraph
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
disable()
|
||||||
|
_handle_tab_update(0)
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _on_action_button_pressed():
|
||||||
|
if is_started:
|
||||||
|
stop()
|
||||||
|
else:
|
||||||
|
start()
|
||||||
|
|
||||||
|
func _on_clear_all_button_pressed():
|
||||||
|
log_label.clear()
|
||||||
|
signal_tree.clear()
|
||||||
|
graph_node.clear_connections()
|
||||||
|
for child in graph_node.get_children():
|
||||||
|
if child is SignalGraphNode:
|
||||||
|
child.queue_free()
|
||||||
|
|
||||||
|
func _on_clear_logs_button_pressed():
|
||||||
|
log_label.clear()
|
||||||
|
|
||||||
|
func _on_signal_tree_item_selected():
|
||||||
|
# Updates the checkmark button
|
||||||
|
var selected_item = signal_tree.get_selected()
|
||||||
|
var is_checked = selected_item.is_checked(1)
|
||||||
|
selected_item.set_checked(1, (not is_checked))
|
||||||
|
|
||||||
|
# Add / Remove signal from filters
|
||||||
|
var selected_signal = _signals.filter(func (element): return element.signal_name == selected_item.get_text(0))[0]
|
||||||
|
if _signal_filter.has(selected_signal.signal_name):
|
||||||
|
var selected_index = _signal_filter.find(selected_signal.signal_name)
|
||||||
|
_signal_filter.remove_at(selected_index)
|
||||||
|
else:
|
||||||
|
_signal_filter.append(selected_signal.signal_name)
|
||||||
|
|
||||||
|
func _on_tab_bar_tab_changed(tab: int):
|
||||||
|
_handle_tab_update(tab)
|
||||||
|
|
||||||
|
func _on_stack_trace_button_pressed():
|
||||||
|
_is_stack_trace_enabled = not _is_stack_trace_enabled
|
||||||
|
|
||||||
|
func _on_open_signal_in_script(data: SignalGraphNodeItem.Metadata):
|
||||||
|
open_script.emit(data.node_name, data.method_signature)
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func enable():
|
||||||
|
action_button.disabled = false
|
||||||
|
|
||||||
|
func disable():
|
||||||
|
action_button.disabled = true
|
||||||
|
|
||||||
|
func start():
|
||||||
|
if not is_started:
|
||||||
|
is_started = true
|
||||||
|
action_button.icon = stop_icon
|
||||||
|
start_signal_debugging.emit()
|
||||||
|
log_label.append_text("[color=#B0B0B0]Signal Debugging Started...[/color]")
|
||||||
|
log_label.newline()
|
||||||
|
log_label.newline()
|
||||||
|
|
||||||
|
func stop():
|
||||||
|
if is_started:
|
||||||
|
is_started = false
|
||||||
|
action_button.icon = start_icon
|
||||||
|
stop_signal_debugging.emit()
|
||||||
|
log_label.newline()
|
||||||
|
log_label.append_text("[color=#B0B0B0]Signal Debugging Stopped[/color]")
|
||||||
|
log_label.newline()
|
||||||
|
log_label.newline()
|
||||||
|
|
||||||
|
func create_tree_from_signals(signals: Array):
|
||||||
|
_signals = signals
|
||||||
|
var root = signal_tree.create_item()
|
||||||
|
root.set_text(0, "Signals")
|
||||||
|
|
||||||
|
var tree_items: Dictionary = {}
|
||||||
|
|
||||||
|
for signal_item in signals:
|
||||||
|
var node_tree_item: TreeItem
|
||||||
|
if tree_items.has(signal_item.node_name):
|
||||||
|
node_tree_item = tree_items[signal_item.node_name] as TreeItem
|
||||||
|
else:
|
||||||
|
node_tree_item = signal_tree.create_item(root)
|
||||||
|
node_tree_item.set_text(0, signal_item.node_name)
|
||||||
|
node_tree_item.set_selectable(0, false)
|
||||||
|
node_tree_item.set_selectable(1, false)
|
||||||
|
tree_items[signal_item.node_name] = node_tree_item
|
||||||
|
|
||||||
|
var signal_tree_item = signal_tree.create_item(node_tree_item)
|
||||||
|
signal_tree_item.set_text(0, signal_item.signal_name)
|
||||||
|
signal_tree_item.set_cell_mode(1, TreeItem.CELL_MODE_CHECK)
|
||||||
|
signal_tree_item.set_checked(1, true)
|
||||||
|
signal_tree_item.set_selectable(0, false)
|
||||||
|
signal_tree_item.set_selectable(1, true)
|
||||||
|
|
||||||
|
func create_signal_graph(signals: Array, edges: Array):
|
||||||
|
_graph = SignalGraphUtility.create_signal_graph(get_tree().edited_scene_root.scene_file_path, signals, edges)
|
||||||
|
SignalGraphUtility.generate_signal_graph_nodes(_graph, graph_node, _on_open_signal_in_script)
|
||||||
|
|
||||||
|
func log_signal_execution(time: String, node_name: String, signal_name: String):
|
||||||
|
if _signal_filter != null and _signal_filter.has(signal_name):
|
||||||
|
return
|
||||||
|
|
||||||
|
if not log_label.text.is_empty():
|
||||||
|
log_label.newline()
|
||||||
|
log_label.append_text(
|
||||||
|
"[color=#FFCC00]{time}[/color]\t\t{node_name}\t\t{signal_name}".format({ "time": time, "node_name": node_name, "signal_name": signal_name })
|
||||||
|
)
|
||||||
|
log_label.newline()
|
||||||
|
|
||||||
|
func _handle_tab_update(selected_tab_index: int):
|
||||||
|
match selected_tab_index:
|
||||||
|
1:
|
||||||
|
_debugger_tab_state = Tabs.GRAPH
|
||||||
|
_:
|
||||||
|
_debugger_tab_state = Tabs.LOG
|
||||||
|
|
||||||
|
match _debugger_tab_state:
|
||||||
|
Tabs.LOG:
|
||||||
|
log_label.show()
|
||||||
|
graph_node.hide()
|
||||||
|
Tabs.GRAPH:
|
||||||
|
log_label.hide()
|
||||||
|
graph_node.show()
|
||||||
|
|
||||||
|
func _update_action_button():
|
||||||
|
if is_started:
|
||||||
|
action_button.text = "Stop"
|
||||||
|
action_button.modulate = Color("#ff3b30")
|
||||||
|
else:
|
||||||
|
action_button.text = "Start"
|
||||||
|
action_button.modulate = Color.WHITE
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://yg8cqm6f1prd
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg height="24" width="24" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11 1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM6.732 5A2 2 0 0 1 7 6v1.117L9.268 6A2 2 0 0 1 9 5V3.883zM2 5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zm5 3.883V10a2 2 0 0 1-.268 1L9 12.117V11a2 2 0 0 1 .268-1zM11 10a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1z" fill="#8eef97"/></svg>
|
||||||
|
After Width: | Height: | Size: 437 B |
@@ -0,0 +1,37 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bxj8ep08wbnm6"
|
||||||
|
path="res://.godot/imported/GraphEdit.svg-90dae61e8e0b157ab8eff95fe4b91e53.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/SignalVisualizer/GraphEdit.svg"
|
||||||
|
dest_files=["res://.godot/imported/GraphEdit.svg-90dae61e8e0b157ab8eff95fe4b91e53.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg height="24" viewBox="0 0 16 16" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M4 12a1 1 0 0 0 1.555.832l6-4a1 1 0 0 0 0-1.664l-6-4A1 1 0 0 0 4 4z" fill="#e0e0e0"/></svg>
|
||||||
|
After Width: | Height: | Size: 184 B |
@@ -0,0 +1,37 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://be3nwoioa311t"
|
||||||
|
path="res://.godot/imported/Play.svg-a446691ffcef211028bb160b5a2d6ff1.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/SignalVisualizer/Play.svg"
|
||||||
|
dest_files=["res://.godot/imported/Play.svg-a446691ffcef211028bb160b5a2d6ff1.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
@@ -0,0 +1,162 @@
|
|||||||
|
@tool
|
||||||
|
extends EditorPlugin
|
||||||
|
|
||||||
|
class SignalDebuggerPlugin extends EditorDebuggerPlugin:
|
||||||
|
var SignalDebuggerPanelScene = preload("res://addons/SignalVisualizer/Debugger/SignalDebugger.tscn")
|
||||||
|
|
||||||
|
signal open_script
|
||||||
|
signal start_signal_debugging
|
||||||
|
signal stop_signal_debugging
|
||||||
|
|
||||||
|
var debugger_panel
|
||||||
|
|
||||||
|
func _has_capture(prefix) -> bool:
|
||||||
|
return prefix == "signal_debugger"
|
||||||
|
|
||||||
|
func _capture(message, data, session_id) -> bool:
|
||||||
|
if message == "signal_debugger:signal_executed":
|
||||||
|
if data.size() == 3:
|
||||||
|
var time = data[0]
|
||||||
|
var node_name = data[1]
|
||||||
|
var signal_name = data[2]
|
||||||
|
debugger_panel.log_signal_execution(time, node_name, signal_name)
|
||||||
|
return true
|
||||||
|
|
||||||
|
if message == "signal_debugger:generated_graph":
|
||||||
|
if data.size() == 1:
|
||||||
|
var signals = data[0][0] as Array
|
||||||
|
var edges = data[0][1] as Array
|
||||||
|
debugger_panel.create_tree_from_signals(signals)
|
||||||
|
debugger_panel.create_signal_graph(signals, edges)
|
||||||
|
return true
|
||||||
|
|
||||||
|
return false
|
||||||
|
|
||||||
|
func _setup_session(session_id):
|
||||||
|
debugger_panel = SignalDebuggerPanelScene.instantiate()
|
||||||
|
var session = get_session(session_id)
|
||||||
|
|
||||||
|
debugger_panel.name = "Signal Debugger"
|
||||||
|
debugger_panel.open_script.connect(func (arg1, arg2): open_script.emit(arg1, arg2))
|
||||||
|
debugger_panel.start_signal_debugging.connect(func (): start_signal_debugging.emit())
|
||||||
|
debugger_panel.stop_signal_debugging.connect(func (): stop_signal_debugging.emit())
|
||||||
|
|
||||||
|
session.started.connect(
|
||||||
|
func ():
|
||||||
|
debugger_panel.enable()
|
||||||
|
)
|
||||||
|
session.stopped.connect(
|
||||||
|
func ():
|
||||||
|
debugger_panel.stop()
|
||||||
|
debugger_panel.disable()
|
||||||
|
stop_signal_debugging.emit()
|
||||||
|
)
|
||||||
|
|
||||||
|
session.add_session_tab(debugger_panel)
|
||||||
|
|
||||||
|
var SignalVisualizerDockScene = preload("res://addons/SignalVisualizer/Visualizer/signal_visualizer_dock.tscn")
|
||||||
|
|
||||||
|
class ScriptMethodReference:
|
||||||
|
var script_reference: Script
|
||||||
|
var line_number: int
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
var dock: Control
|
||||||
|
var debugger: SignalDebuggerPlugin
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _enter_tree():
|
||||||
|
dock = SignalVisualizerDockScene.instantiate()
|
||||||
|
debugger = SignalDebuggerPlugin.new()
|
||||||
|
|
||||||
|
dock.open_script.connect(_on_open_signal_in_script)
|
||||||
|
add_control_to_bottom_panel(dock, "Signal Visualizer")
|
||||||
|
|
||||||
|
debugger.start_signal_debugging.connect(_on_debugger_start_signal_debugging)
|
||||||
|
debugger.stop_signal_debugging.connect(_on_debugger_stop_signal_debugging)
|
||||||
|
debugger.open_script.connect(_on_open_signal_in_script)
|
||||||
|
add_debugger_plugin(debugger)
|
||||||
|
|
||||||
|
if not ProjectSettings.has_setting("autoload/Signal_Debugger"):
|
||||||
|
add_autoload_singleton("Signal_Debugger", "res://addons/SignalVisualizer/Debugger/SignalDebugger.gd")
|
||||||
|
|
||||||
|
func _exit_tree():
|
||||||
|
remove_control_from_bottom_panel(dock)
|
||||||
|
dock.free()
|
||||||
|
|
||||||
|
remove_debugger_plugin(debugger)
|
||||||
|
remove_autoload_singleton("Signal_Debugger")
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _on_open_signal_in_script(node_name: String, method_signature: String):
|
||||||
|
var node: Node
|
||||||
|
if get_tree().edited_scene_root.name == node_name:
|
||||||
|
node = get_tree().edited_scene_root
|
||||||
|
else:
|
||||||
|
node = get_tree().edited_scene_root.find_child(node_name)
|
||||||
|
|
||||||
|
if node != null:
|
||||||
|
var script: Script = node.get_script()
|
||||||
|
if script != null:
|
||||||
|
var editor = get_editor_interface()
|
||||||
|
var method_reference = _find_method_reference_in_script(script, method_signature)
|
||||||
|
|
||||||
|
if method_reference != null:
|
||||||
|
editor.edit_script(method_reference.script_reference, method_reference.line_number, 0)
|
||||||
|
editor.set_main_screen_editor("Script")
|
||||||
|
else:
|
||||||
|
push_warning("Requested method in script ({script}) for node ({name}) is not available.".format({ "name": node_name, "script": script.name }))
|
||||||
|
else:
|
||||||
|
push_warning("Requested script for node ({name}) is not available.".format({ "name": node_name }))
|
||||||
|
else:
|
||||||
|
push_warning("Requested script for node ({name}) is not available.".format({ "name": node_name }))
|
||||||
|
|
||||||
|
func _on_debugger_start_signal_debugging():
|
||||||
|
for session in debugger.get_sessions():
|
||||||
|
session.send_message("signal_debugger:start", [])
|
||||||
|
|
||||||
|
func _on_debugger_stop_signal_debugging():
|
||||||
|
for session in debugger.get_sessions():
|
||||||
|
session.send_message("signal_debugger:stop", [])
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _find_method_reference_in_script(script: Script, method_signature: String) -> ScriptMethodReference:
|
||||||
|
var line_number = __find_method_line_number_in_script(script, method_signature)
|
||||||
|
|
||||||
|
if line_number == -1:
|
||||||
|
var base_script = script.get_base_script()
|
||||||
|
if base_script:
|
||||||
|
return _find_method_reference_in_script(base_script, method_signature)
|
||||||
|
|
||||||
|
var reference = ScriptMethodReference.new()
|
||||||
|
reference.script_reference = script
|
||||||
|
reference.line_number = line_number
|
||||||
|
|
||||||
|
return reference
|
||||||
|
|
||||||
|
func __find_method_line_number_in_script(script: Script, method_signature: String) -> int:
|
||||||
|
var line_number = 0
|
||||||
|
var found = false
|
||||||
|
for line in script.source_code.split("\n", true):
|
||||||
|
line_number += 1
|
||||||
|
if line.contains(method_signature):
|
||||||
|
found = true
|
||||||
|
return line_number
|
||||||
|
|
||||||
|
return -1
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://43lcsn3nt3ri
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg height="24" viewBox="0 0 16 16" width="24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" height="10" width="10" rx="1" fill="#e0e0e0"/></svg>
|
||||||
|
After Width: | Height: | Size: 154 B |
@@ -0,0 +1,37 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://oo1oq2colx5b"
|
||||||
|
path="res://.godot/imported/Stop.svg-e085086fb31c334bc2f02ca2bffba522.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://addons/SignalVisualizer/Stop.svg"
|
||||||
|
dest_files=["res://.godot/imported/Stop.svg-e085086fb31c334bc2f02ca2bffba522.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
svg/scale=1.0
|
||||||
|
editor/scale_with_editor_scale=false
|
||||||
|
editor/convert_colors_with_editor_theme=false
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
@tool
|
||||||
|
extends Label
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func get_text_size() -> Vector2:
|
||||||
|
return get_theme_default_font().get_string_size(text)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://d3lyqancfvwup
|
||||||
@@ -0,0 +1,94 @@
|
|||||||
|
@tool
|
||||||
|
class_name SignalGraphNode extends GraphNode
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
var connections: Array = [] :
|
||||||
|
get: return connections
|
||||||
|
set(new_value):
|
||||||
|
connections = new_value
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
selectable = true
|
||||||
|
resizable = true
|
||||||
|
draggable = true
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _on_resize_request(new_minsize):
|
||||||
|
size = new_minsize
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func has_source_signal_description(signal_name: String, destination_node_name: String) -> bool:
|
||||||
|
for child in get_children():
|
||||||
|
if child.name == "source_" + signal_name + "_" + destination_node_name:
|
||||||
|
return true
|
||||||
|
|
||||||
|
return false
|
||||||
|
|
||||||
|
func get_source_slot(signal_name: String, destination_node_name: String) -> int:
|
||||||
|
var index = 0
|
||||||
|
for child in get_children():
|
||||||
|
if child.name == "source_" + signal_name + "_" + destination_node_name:
|
||||||
|
return index
|
||||||
|
|
||||||
|
index += 1
|
||||||
|
|
||||||
|
return -1
|
||||||
|
|
||||||
|
func get_next_source_slot(signal_name: String, destination_node_name: String) -> int:
|
||||||
|
var index = 0
|
||||||
|
for child in get_children():
|
||||||
|
if child.name.begins_with("source_"):
|
||||||
|
if child.name == "source_" + signal_name + "_" + destination_node_name:
|
||||||
|
return index
|
||||||
|
|
||||||
|
index += 1
|
||||||
|
|
||||||
|
return -1
|
||||||
|
|
||||||
|
func has_destination_signal_description(signal_name: String, method_signature: String) -> bool:
|
||||||
|
for child in get_children():
|
||||||
|
if child.name == "destination_" + signal_name + "_" + _sanitize_method_signature(method_signature):
|
||||||
|
return true
|
||||||
|
|
||||||
|
return false
|
||||||
|
|
||||||
|
func get_destination_slot(signal_name: String, method_signature: String) -> int:
|
||||||
|
var index = 0
|
||||||
|
for child in get_children():
|
||||||
|
if child.name == "destination_" + signal_name + "_" + _sanitize_method_signature(method_signature):
|
||||||
|
return index
|
||||||
|
|
||||||
|
index += 1
|
||||||
|
|
||||||
|
return -1
|
||||||
|
|
||||||
|
func get_next_destination_slot(signal_name: String, method_signature: String) -> int:
|
||||||
|
var index = 0
|
||||||
|
for child in get_children():
|
||||||
|
if child.name.begins_with("destination_"):
|
||||||
|
if child.name == "destination_" + signal_name + "_" + _sanitize_method_signature(method_signature):
|
||||||
|
return index
|
||||||
|
|
||||||
|
index += 1
|
||||||
|
|
||||||
|
return -1
|
||||||
|
|
||||||
|
func _sanitize_method_signature(signature: String) -> String:
|
||||||
|
return signature.replace("::", "__")
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://bdwkkgkhgfrtk
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://cq10iaub18e54"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://addons/SignalVisualizer/Visualizer/signal_graph_node.gd" id="1_ovklj"]
|
||||||
|
|
||||||
|
[node name="SignalGraphNode" type="GraphNode"]
|
||||||
|
custom_minimum_size = Vector2(100, 50)
|
||||||
|
offset_right = 232.0
|
||||||
|
offset_bottom = 54.0
|
||||||
|
resizable = true
|
||||||
|
script = ExtResource("1_ovklj")
|
||||||
|
|
||||||
|
[connection signal="resize_request" from="." to="." method="_on_resize_request"]
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
@tool
|
||||||
|
class_name SignalGraphNodeItem extends Control
|
||||||
|
|
||||||
|
signal open_script(metadata: SignalGraphNodeItem.Metadata)
|
||||||
|
|
||||||
|
class Metadata:
|
||||||
|
var signal_name: String
|
||||||
|
var method_signature: String
|
||||||
|
var node_name: String
|
||||||
|
|
||||||
|
func _init(signal_name: String, method_signature: String, node_name: String):
|
||||||
|
self.signal_name = signal_name
|
||||||
|
self.method_signature = method_signature
|
||||||
|
self.node_name = node_name
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
@onready var label: Label = %DescriptionLabel
|
||||||
|
|
||||||
|
var signal_data: Metadata = null
|
||||||
|
|
||||||
|
var text: String = "" :
|
||||||
|
get: return text
|
||||||
|
set(new_value):
|
||||||
|
text = new_value
|
||||||
|
if label:
|
||||||
|
label.text = text
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
_update()
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _on_open_signal_in_script_button_pressed():
|
||||||
|
open_script.emit(signal_data)
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _update():
|
||||||
|
label.text = text
|
||||||
|
|
||||||
|
var text_size = label.get_text_size()
|
||||||
|
custom_minimum_size = Vector2((text_size.x * 2) + 50, text_size.y * 3)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://c0n3sifmbiih0
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://b2lwtwp6kpwtb"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://addons/SignalVisualizer/Visualizer/signal_graph_node_item.gd" id="1_jrd34"]
|
||||||
|
[ext_resource type="Script" path="res://addons/SignalVisualizer/Visualizer/resizable_label.gd" id="2_4wwd5"]
|
||||||
|
|
||||||
|
[node name="SignalItem" type="Control"]
|
||||||
|
clip_contents = true
|
||||||
|
custom_minimum_size = Vector2(51, 23)
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 3
|
||||||
|
script = ExtResource("1_jrd34")
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||||
|
custom_minimum_size = Vector2(100, 50)
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="DescriptionLabel" type="Label" parent="HBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
custom_minimum_size = Vector2(100, 50)
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 1
|
||||||
|
vertical_alignment = 1
|
||||||
|
clip_text = true
|
||||||
|
script = ExtResource("2_4wwd5")
|
||||||
|
|
||||||
|
[node name="OpenSignalInScriptButton" type="Button" parent="HBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Open"
|
||||||
|
flat = true
|
||||||
|
|
||||||
|
[connection signal="pressed" from="HBoxContainer/OpenSignalInScriptButton" to="." method="_on_open_signal_in_script_button_pressed"]
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
@tool
|
||||||
|
extends Control
|
||||||
|
|
||||||
|
signal open_script(node_name: String, method_signature: String)
|
||||||
|
|
||||||
|
var SignalGraphNode = preload("res://addons/SignalVisualizer/Visualizer/signal_graph_node.tscn")
|
||||||
|
var GraphNodeItem = preload("res://addons/SignalVisualizer/Visualizer/signal_graph_node_item.tscn")
|
||||||
|
|
||||||
|
# Properties
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
const SOURCE_COLOR: Color = Color.SKY_BLUE
|
||||||
|
const DESTINATION_COLOR: Color = Color.CORAL
|
||||||
|
const CONNECTION_TYPE: int = 0
|
||||||
|
|
||||||
|
@onready var arrange_nodes_checkbox: CheckBox = %ArrangeNodesCheckBox
|
||||||
|
@onready var signal_details_checkbox: CheckBox = %SignalDetailsCheckBox
|
||||||
|
@onready var signal_tree: Tree = %SignalTree
|
||||||
|
@onready var graph: GraphEdit = %Graph
|
||||||
|
|
||||||
|
# Lifecycle
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func _on_clear_graph_button_pressed():
|
||||||
|
clear()
|
||||||
|
|
||||||
|
func _on_generate_graph_button_pressed():
|
||||||
|
clear()
|
||||||
|
|
||||||
|
var scene_signal_graph = SignalGraphUtility.create_signal_graph_from_node(get_tree().edited_scene_root, true)
|
||||||
|
SignalGraphUtility.generate_signal_graph_nodes(scene_signal_graph, graph, _on_open_signal_in_script)
|
||||||
|
SignalGraphUtility.generate_signal_graph_tree(scene_signal_graph, signal_tree)
|
||||||
|
|
||||||
|
if arrange_nodes_checkbox.button_pressed:
|
||||||
|
graph.arrange_nodes()
|
||||||
|
|
||||||
|
func _on_open_signal_in_script(data: SignalGraphNodeItem.Metadata):
|
||||||
|
open_script.emit(data.node_name, data.method_signature)
|
||||||
|
|
||||||
|
# Methods
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
# |===================================|
|
||||||
|
|
||||||
|
func clear():
|
||||||
|
_clear_graph_nodes()
|
||||||
|
_clear_tree()
|
||||||
|
|
||||||
|
func _clear_graph_nodes():
|
||||||
|
graph.clear_connections()
|
||||||
|
for child in graph.get_children():
|
||||||
|
if child is SignalGraphNode:
|
||||||
|
child.queue_free()
|
||||||
|
|
||||||
|
func _clear_tree():
|
||||||
|
signal_tree.clear()
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://bbd48wbihmuos
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
[gd_scene load_steps=5 format=3 uid="uid://dppfamjc0ji40"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://addons/SignalVisualizer/Visualizer/signal_visualizer_dock.gd" id="1_akar5"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bmnff63evbdhv" path="res://addons/SignalVisualizer/Clear.svg" id="2_m8bsv"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bxj8ep08wbnm6" path="res://addons/SignalVisualizer/GraphEdit.svg" id="3_dtmqs"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ae0jg"]
|
||||||
|
|
||||||
|
[node name="SignalVisualizerDock" type="Control"]
|
||||||
|
clip_contents = true
|
||||||
|
custom_minimum_size = Vector2(2.08165e-12, 200)
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
script = ExtResource("1_akar5")
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||||
|
clip_contents = true
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||||
|
clip_contents = true
|
||||||
|
custom_minimum_size = Vector2(2.08165e-12, 50)
|
||||||
|
layout_mode = 2
|
||||||
|
theme_override_constants/separation = 8
|
||||||
|
alignment = 2
|
||||||
|
|
||||||
|
[node name="ArrangeNodesCheckBox" type="CheckBox" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Arrange Nodes"
|
||||||
|
|
||||||
|
[node name="SignalDetailsCheckBox" type="CheckBox" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Signal Details"
|
||||||
|
|
||||||
|
[node name="Panel" type="Panel" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_ae0jg")
|
||||||
|
|
||||||
|
[node name="ClearGraphButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Clear Graph"
|
||||||
|
icon = ExtResource("2_m8bsv")
|
||||||
|
|
||||||
|
[node name="GenerateGraphButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Generate Graph"
|
||||||
|
icon = ExtResource("3_dtmqs")
|
||||||
|
|
||||||
|
[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[node name="SignalTree" type="Tree" parent="VBoxContainer/HSplitContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
custom_minimum_size = Vector2(200, 2.08165e-12)
|
||||||
|
layout_mode = 2
|
||||||
|
column_titles_visible = true
|
||||||
|
|
||||||
|
[node name="Graph" type="GraphEdit" parent="VBoxContainer/HSplitContainer"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 3
|
||||||
|
|
||||||
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/ClearGraphButton" to="." method="_on_clear_graph_button_pressed"]
|
||||||
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/GenerateGraphButton" to="." method="_on_generate_graph_button_pressed"]
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[plugin]
|
||||||
|
|
||||||
|
name="SignalVisualizer"
|
||||||
|
description="Visual the current scene's signal connections as a graph. Debug the current running scene's signals with automatic logging in a new debugger panel."
|
||||||
|
author="MiniGameDev"
|
||||||
|
version="1.7.0"
|
||||||
|
script="SignalVisualizer.gd"
|
||||||
@@ -21,5 +21,5 @@ anchor_bottom = 1.0
|
|||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
color = Color(1, 1, 1, 0)
|
color = Color(0, 0, 0, 0.658824)
|
||||||
script = ExtResource("2_ghan2")
|
script = ExtResource("2_ghan2")
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ corner_radius_top_left = 5
|
|||||||
corner_radius_top_right = 5
|
corner_radius_top_right = 5
|
||||||
corner_radius_bottom_right = 5
|
corner_radius_bottom_right = 5
|
||||||
corner_radius_bottom_left = 5
|
corner_radius_bottom_left = 5
|
||||||
|
shadow_color = Color(0, 0, 0, 0.772549)
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
[gd_resource type="Resource" script_class="DialogicStyle" load_steps=4 format=3 uid="uid://d0w0cnruamnn1"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://dfx2htp24tuvm" path="res://addons/dialogic/Resources/dialogic_style_layer.gd" id="1_tjdw8"]
|
||||||
|
[ext_resource type="Script" uid="uid://b14h380mah4av" path="res://addons/dialogic/Resources/dialogic_style.gd" id="2_ae84x"]
|
||||||
|
|
||||||
|
[sub_resource type="Resource" id="Resource_qrxdt"]
|
||||||
|
script = ExtResource("1_tjdw8")
|
||||||
|
overrides = {}
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
script = ExtResource("2_ae84x")
|
||||||
|
name = "New_File"
|
||||||
|
layer_list = Array[String]([])
|
||||||
|
layer_info = {
|
||||||
|
"": SubResource("Resource_qrxdt")
|
||||||
|
}
|
||||||
|
base_overrides = {}
|
||||||
|
layers = Array[ExtResource("1_tjdw8")]([])
|
||||||
|
metadata/_latest_layer = ""
|
||||||
|
After Width: | Height: | Size: 672 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://7jrac5ii3ah3"
|
||||||
|
path="res://.godot/imported/0001.png-9c6cb663e52b1142937f646500ed09a3.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0001.png"
|
||||||
|
dest_files=["res://.godot/imported/0001.png-9c6cb663e52b1142937f646500ed09a3.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 672 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c06b551t2qlo6"
|
||||||
|
path="res://.godot/imported/0002.png-3c9447de011edd3c49d95cc40900862f.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0002.png"
|
||||||
|
dest_files=["res://.godot/imported/0002.png-3c9447de011edd3c49d95cc40900862f.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 670 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://d0dqhq2cbwyus"
|
||||||
|
path="res://.godot/imported/0003.png-43b2fbee351b3e40cec5c91ac958b6e5.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0003.png"
|
||||||
|
dest_files=["res://.godot/imported/0003.png-43b2fbee351b3e40cec5c91ac958b6e5.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 668 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bj2ssu0ixr0p1"
|
||||||
|
path="res://.godot/imported/0004.png-40cdc6ee34fa9f1165af62d833008a91.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0004.png"
|
||||||
|
dest_files=["res://.godot/imported/0004.png-40cdc6ee34fa9f1165af62d833008a91.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 665 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://baho1jt70dj6u"
|
||||||
|
path="res://.godot/imported/0005.png-51e4d358637a92057728002a1d20bee6.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0005.png"
|
||||||
|
dest_files=["res://.godot/imported/0005.png-51e4d358637a92057728002a1d20bee6.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 664 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c4kq6oyxchwae"
|
||||||
|
path="res://.godot/imported/0006.png-941fa868f0e50a15b299f562e3a4b2ec.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0006.png"
|
||||||
|
dest_files=["res://.godot/imported/0006.png-941fa868f0e50a15b299f562e3a4b2ec.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 662 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b5by425y8hgtx"
|
||||||
|
path="res://.godot/imported/0007.png-bccc02c672805a84099405e469b2f01b.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0007.png"
|
||||||
|
dest_files=["res://.godot/imported/0007.png-bccc02c672805a84099405e469b2f01b.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 663 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://yw8ood8ve3wj"
|
||||||
|
path="res://.godot/imported/0008.png-e6c93715b8ca8b4eacfb8140a08cb8f3.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0008.png"
|
||||||
|
dest_files=["res://.godot/imported/0008.png-e6c93715b8ca8b4eacfb8140a08cb8f3.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 662 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cw3q23y6dx0sw"
|
||||||
|
path="res://.godot/imported/0009.png-3f3518f52031b5708bf2bfdd53683ef1.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0009.png"
|
||||||
|
dest_files=["res://.godot/imported/0009.png-3f3518f52031b5708bf2bfdd53683ef1.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 662 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c7kddep6y8ncb"
|
||||||
|
path="res://.godot/imported/0010.png-842f18bda6909cb2e5b996a849ab6719.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0010.png"
|
||||||
|
dest_files=["res://.godot/imported/0010.png-842f18bda6909cb2e5b996a849ab6719.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 662 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dtw2oldmvbjmm"
|
||||||
|
path="res://.godot/imported/0011.png-8cc70c2ba529bec4c9bc64201cc6a913.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0011.png"
|
||||||
|
dest_files=["res://.godot/imported/0011.png-8cc70c2ba529bec4c9bc64201cc6a913.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 662 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://djto85rs7jva6"
|
||||||
|
path="res://.godot/imported/0012.png-54f88ad49fbc4ee13fc25167ebbd9b7a.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0012.png"
|
||||||
|
dest_files=["res://.godot/imported/0012.png-54f88ad49fbc4ee13fc25167ebbd9b7a.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 664 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://x58jwci33ciq"
|
||||||
|
path="res://.godot/imported/0013.png-770e3f39666fc6c0f06325328f9c2751.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0013.png"
|
||||||
|
dest_files=["res://.godot/imported/0013.png-770e3f39666fc6c0f06325328f9c2751.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 665 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b1fgjvh5rq5ma"
|
||||||
|
path="res://.godot/imported/0014.png-0e58ec6460f401df454aaa7cee2475e5.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0014.png"
|
||||||
|
dest_files=["res://.godot/imported/0014.png-0e58ec6460f401df454aaa7cee2475e5.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 667 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://toccb6la5idk"
|
||||||
|
path="res://.godot/imported/0015.png-7a8580fc70a8d4e4c5edd90a027a4d35.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0015.png"
|
||||||
|
dest_files=["res://.godot/imported/0015.png-7a8580fc70a8d4e4c5edd90a027a4d35.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 669 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bo72c20b1qlfe"
|
||||||
|
path="res://.godot/imported/0016.png-2cba81a0cb33719439f95a0986155a54.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0016.png"
|
||||||
|
dest_files=["res://.godot/imported/0016.png-2cba81a0cb33719439f95a0986155a54.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 670 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ejvukeofnhyb"
|
||||||
|
path="res://.godot/imported/0017.png-1ef490dce528b198b0c41341fc54ff9b.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0017.png"
|
||||||
|
dest_files=["res://.godot/imported/0017.png-1ef490dce528b198b0c41341fc54ff9b.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 671 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bwdm43a3v8tve"
|
||||||
|
path="res://.godot/imported/0018.png-eef83b5e28ac0ecb8043f83e832f492d.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0018.png"
|
||||||
|
dest_files=["res://.godot/imported/0018.png-eef83b5e28ac0ecb8043f83e832f492d.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 673 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cout06kqdrkyo"
|
||||||
|
path="res://.godot/imported/0019.png-8dcd83ab1bda5b14f5b19b7b9b20d10c.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0019.png"
|
||||||
|
dest_files=["res://.godot/imported/0019.png-8dcd83ab1bda5b14f5b19b7b9b20d10c.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 673 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cblm40bllo6yo"
|
||||||
|
path="res://.godot/imported/0020.png-8553d4f2d901e2d0afd2cec49b8e405c.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B01-Idle/0020.png"
|
||||||
|
dest_files=["res://.godot/imported/0020.png-8553d4f2d901e2d0afd2cec49b8e405c.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 677 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cqoi6k3hjfgpl"
|
||||||
|
path="res://.godot/imported/0001.png-88b47ade1be8700b5607d6b8bd68fa55.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B02-Walk/0001.png"
|
||||||
|
dest_files=["res://.godot/imported/0001.png-88b47ade1be8700b5607d6b8bd68fa55.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 678 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://uy84anap6qed"
|
||||||
|
path="res://.godot/imported/0002.png-55e7b13f4597e7aea3a7d48f1acd280d.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B02-Walk/0002.png"
|
||||||
|
dest_files=["res://.godot/imported/0002.png-55e7b13f4597e7aea3a7d48f1acd280d.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 677 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c3hqrf3514o1i"
|
||||||
|
path="res://.godot/imported/0003.png-eaec7534d67b705d65db1e8a06d5314e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B02-Walk/0003.png"
|
||||||
|
dest_files=["res://.godot/imported/0003.png-eaec7534d67b705d65db1e8a06d5314e.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 679 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ok3ug04l7u2a"
|
||||||
|
path="res://.godot/imported/0004.png-ed9290a4f195e2463c16fc643fb9e243.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B02-Walk/0004.png"
|
||||||
|
dest_files=["res://.godot/imported/0004.png-ed9290a4f195e2463c16fc643fb9e243.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 678 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bj2g3txdc8kff"
|
||||||
|
path="res://.godot/imported/0005.png-e9b7487be5040ccf6d7c98f8fe9e731f.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B02-Walk/0005.png"
|
||||||
|
dest_files=["res://.godot/imported/0005.png-e9b7487be5040ccf6d7c98f8fe9e731f.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 680 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://05yfumefb31t"
|
||||||
|
path="res://.godot/imported/0006.png-450e172427d97fb876888b53e895aca8.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B02-Walk/0006.png"
|
||||||
|
dest_files=["res://.godot/imported/0006.png-450e172427d97fb876888b53e895aca8.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 682 KiB |
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dequojwesw4id"
|
||||||
|
path="res://.godot/imported/0007.png-50e2c3488d0e4ccdbe3449314d8cb5f7.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://art/animation/Vesna2D/Vesna Anims Sequences/B02-Walk/0007.png"
|
||||||
|
dest_files=["res://.godot/imported/0007.png-50e2c3488d0e4ccdbe3449314d8cb5f7.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
After Width: | Height: | Size: 682 KiB |