Skip to content

Commit 2ae30da

Browse files
authored
Merge pull request #10 from bisterix-studio/docs-finishing-touches
Add finishing touches to docs
2 parents 207f2b3 + de72466 commit 2ae30da

27 files changed

+936
-123
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Parley
22

3+
![parley-icon](./icon.png)
4+
35
Parley is an addon for [Godot 4.4+](https://godotengine.org/) that provides a
46
graph-based dialogue manager for easy writing, testing, and running of Dialogue
57
Sequences at scale and is designed to be used by game writers and developers

addons/parley/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Parley
22

3+
![parley-icon](./icon.png)
4+
35
Parley is an addon for [Godot 4.4+](https://godotengine.org/) that provides a
46
graph-based dialogue manager for easy writing, testing, and running of Dialogue
57
Sequences at scale and is designed to be used by game writers and developers
Lines changed: 18 additions & 0 deletions
Loading
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://ry7vserid6i4"
6+
path="res://.godot/imported/ParleyIcon.svg-788ec29d0eca0f7927c01955ceb9763c.ctex"
7+
metadata={
8+
"has_editor_variant": true,
9+
"vram_texture": false
10+
}
11+
12+
[deps]
13+
14+
source_file="res://addons/parley/assets/ParleyIcon.svg"
15+
dest_files=["res://.godot/imported/ParleyIcon.svg-788ec29d0eca0f7927c01955ceb9763c.ctex"]
16+
17+
[params]
18+
19+
compress/mode=0
20+
compress/high_quality=false
21+
compress/lossy_quality=0.7
22+
compress/hdr_compression=1
23+
compress/normal_map=0
24+
compress/channel_pack=0
25+
mipmaps/generate=false
26+
mipmaps/limit=-1
27+
roughness/mode=0
28+
roughness/src_normal=""
29+
process/fix_alpha_border=true
30+
process/premult_alpha=false
31+
process/normal_map_invert_y=false
32+
process/hdr_as_srgb=false
33+
process/hdr_clamp_exposure=false
34+
process/size_limit=0
35+
detect_3d/compress_to=1
36+
svg/scale=0.02
37+
editor/scale_with_editor_scale=true
38+
editor/convert_colors_with_editor_theme=true
Lines changed: 18 additions & 0 deletions
Loading
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://dde41u6paxn4x"
6+
path="res://.godot/imported/ParleyIconBubble.svg-f8020dfd2382bebeda0e99298f5890c3.ctex"
7+
metadata={
8+
"has_editor_variant": true,
9+
"vram_texture": false
10+
}
11+
12+
[deps]
13+
14+
source_file="res://addons/parley/assets/ParleyIconBubble.svg"
15+
dest_files=["res://.godot/imported/ParleyIconBubble.svg-f8020dfd2382bebeda0e99298f5890c3.ctex"]
16+
17+
[params]
18+
19+
compress/mode=0
20+
compress/high_quality=false
21+
compress/lossy_quality=0.7
22+
compress/hdr_compression=1
23+
compress/normal_map=0
24+
compress/channel_pack=0
25+
mipmaps/generate=false
26+
mipmaps/limit=-1
27+
roughness/mode=0
28+
roughness/src_normal=""
29+
process/fix_alpha_border=true
30+
process/premult_alpha=false
31+
process/normal_map_invert_y=false
32+
process/hdr_as_srgb=false
33+
process/hdr_clamp_exposure=false
34+
process/size_limit=0
35+
detect_3d/compress_to=1
36+
svg/scale=0.09
37+
editor/scale_with_editor_scale=true
38+
editor/convert_colors_with_editor_theme=true

addons/parley/icon.png

35.5 KB
Loading

icon.svg.import renamed to addons/parley/icon.png.import

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://bxsuvgluuhkyh"
6-
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
5+
uid="uid://bswfja27d43k"
6+
path="res://.godot/imported/icon.png-6ac5448c23014cebd1aed25eab92207f.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://icon.svg"
14-
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
13+
source_file="res://addons/parley/icon.png"
14+
dest_files=["res://.godot/imported/icon.png-6ac5448c23014cebd1aed25eab92207f.ctex"]
1515

1616
[params]
1717

@@ -32,6 +32,3 @@ process/hdr_as_srgb=false
3232
process/hdr_clamp_exposure=false
3333
process/size_limit=0
3434
detect_3d/compress_to=1
35-
svg/scale=1.0
36-
editor/scale_with_editor_scale=false
37-
editor/convert_colors_with_editor_theme=false

addons/parley/main_panel.tscn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,10 @@ layout_mode = 2
248248
[node name="DocsButton" type="Button" parent="MarginContainer/MainContainer/HSplitContainer/MainViewPanel/MainViewContainer/Toolbar/Misc"]
249249
unique_name_in_owner = true
250250
layout_mode = 2
251+
tooltip_text = "Navigate to the Parley Documentation."
251252
text = "Docs"
252253
icon = SubResource("ImageTexture_7jaih")
254+
flat = true
253255

254256
[node name="EditorView" type="HSplitContainer" parent="MarginContainer/MainContainer/HSplitContainer/MainViewPanel/MainViewContainer"]
255257
unique_name_in_owner = true

addons/parley/parley_plugin.gd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ extends EditorPlugin
55

66

77
#region DEFS
8+
const ParleyIcon: CompressedTexture2D = preload("./assets/ParleyIconBubble.svg")
89
const ParleyConstants = preload("./constants.gd")
910
const ParleyImportPlugin: GDScript = preload("./import_plugin.gd")
1011
const StoresEditorScene: PackedScene = preload("./stores/stores_editor.tscn")
@@ -228,8 +229,7 @@ func _get_plugin_name() -> String:
228229

229230

230231
func _get_plugin_icon() -> Texture2D:
231-
# Must return some kind of Texture for the icon.
232-
return EditorInterface.get_editor_theme().get_icon("ScriptCreateDialog", "EditorIcons")
232+
return ParleyIcon
233233

234234

235235
func _enable_plugin() -> void:

0 commit comments

Comments
 (0)