More setup work.
@ -1,4 +1,4 @@
|
||||
extends WebNode
|
||||
class_name WebBlog, "res://addons/web_blog/icons/icon_web_blog.svg"
|
||||
|
||||
export(Array, Resource) var entries : Array
|
||||
export(Array, Resource) var posts : Array
|
||||
|
4
game/addons/web_blog/classes/WebBlogPost.gd
Normal file
@ -0,0 +1,4 @@
|
||||
extends Resource
|
||||
class_name WebBlogPost, "res://addons/web_blog/icons/icon_web_blog_post.svg"
|
||||
|
||||
export(Array, Resource) var entries : Array
|
@ -1,4 +1,3 @@
|
||||
extends Resource
|
||||
class_name WebBlogEntry, "res://addons/web_blog/icons/icon_web_blog_entry.svg"
|
||||
|
||||
class_name WebBlogEntry, "res://addons/web_blog/icons/icon_web_blog_post_entry.svg"
|
||||
|
68
game/addons/web_blog/icons/icon_web_blog_post.svg
Normal file
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="16"
|
||||
viewBox="0 0 16 16"
|
||||
width="16"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="icon_web_blog_post.svg"
|
||||
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
id="namedview6"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="27.15625"
|
||||
inkscape:cx="-4.8423475"
|
||||
inkscape:cy="8.3222094"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1023"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg4" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;fill:#792929;fill-opacity:1;stroke:none"
|
||||
x="11.779497"
|
||||
y="9.644598"
|
||||
id="text504"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan502"
|
||||
x="11.779497"
|
||||
y="9.644598" /></text>
|
||||
<g
|
||||
aria-label="V"
|
||||
id="text516"
|
||||
style="font-size:16px;line-height:1.25;fill:#792929">
|
||||
<path
|
||||
d="M 11.301557,2.4087246 7.4135571,13.832725 h -2.64 L 0.90155715,2.4087246 H 3.3495571 l 2.144,6.8 q 0.064,0.176 0.176,0.656 0.128,0.4640004 0.256,0.9920004 0.128,0.512 0.176,0.864 0.048,-0.352 0.16,-0.864 0.128,-0.528 0.256,-0.9920004 0.128,-0.48 0.176,-0.656 l 2.16,-6.8 z"
|
||||
style="font-weight:bold;-inkscape-font-specification:'sans-serif Bold'"
|
||||
id="path292" />
|
||||
</g>
|
||||
<g
|
||||
aria-label="V"
|
||||
id="text520"
|
||||
style="font-size:16px;line-height:1.25;fill:#793d3d">
|
||||
<path
|
||||
d="m 15.108807,2.45382 -3.888,11.424 h -2.64 l -3.872,-11.424 h 2.448 l 2.144,6.8 q 0.064,0.176 0.176,0.656 0.128,0.464 0.256,0.992 0.128,0.512 0.176,0.864 0.048,-0.352 0.16,-0.864 0.128,-0.528 0.256,-0.992 0.128,-0.48 0.176,-0.656 l 2.16,-6.8 z"
|
||||
style="font-weight:bold;-inkscape-font-specification:'sans-serif Bold'"
|
||||
id="path295" />
|
||||
</g>
|
||||
<path
|
||||
d="M 8.1967175,5.3547303 V 6.1189335 H 4.3757012 V 6.8831368 H 5.9041077 V 14.52517 h 0.7642033 3.821016 v 0.764202 h 4.585219 v -2.292609 h -4.585219 v 0.764203 H 6.668311 v -3.056813 h 3.821016 v 0.764204 h 4.585219 V 9.1757465 H 10.489327 V 9.93995 H 6.668311 V 6.8831368 H 8.1967175 V 7.64734 H 12.781936 V 5.3547303 Z"
|
||||
fill="#e0e0e0"
|
||||
id="path135"
|
||||
style="stroke-width:0.164;fill:#9e3eed;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-dasharray:none" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.8 KiB |
35
game/addons/web_blog/icons/icon_web_blog_post.svg.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post.svg-39473104cec66e16f056afe520db5c85.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post.svg-39473104cec66e16f056afe520db5c85.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry.svg-f54a46904c4aaea74b40b0b1c6e7885c.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry.svg-f54a46904c4aaea74b40b0b1c6e7885c.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry_browsable_folder.svg-f193abb189e953b32dd2bb4da5364b81.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry_browsable_folder.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry_browsable_folder.svg-f193abb189e953b32dd2bb4da5364b81.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry_file.svg-7f76b160c82d61aa5e07d1d0bad9e396.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry_file.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry_file.svg-7f76b160c82d61aa5e07d1d0bad9e396.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry_gallery.svg-ea347711c717fff8d52945014cb7fcb8.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry_gallery.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry_gallery.svg-ea347711c717fff8d52945014cb7fcb8.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry_host_folder.svg-f6f252d3d94bb4df5537b56208d371ec.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry_host_folder.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry_host_folder.svg-f6f252d3d94bb4df5537b56208d371ec.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry_image.svg-b65b6fb322fa53ac343c927ff28ae49d.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry_image.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry_image.svg-b65b6fb322fa53ac343c927ff28ae49d.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry_text.svg-550f69316d4230e13cd1309c304f1785.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry_text.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry_text.svg-550f69316d4230e13cd1309c304f1785.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry_title_text.svg-70b54bee03f12a0f64c22bcb1e03b264.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry_title_text.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry_title_text.svg-70b54bee03f12a0f64c22bcb1e03b264.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon_web_blog_post_entry_video.svg-1a509a5bdb26f95ae69e25a3456ac2f4.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/web_blog/icons/icon_web_blog_post_entry_video.svg"
|
||||
dest_files=[ "res://.import/icon_web_blog_post_entry_video.svg-1a509a5bdb26f95ae69e25a3456ac2f4.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -17,10 +17,16 @@ _global_script_classes=[ {
|
||||
"base": "Resource",
|
||||
"class": @"WebBlogEntry",
|
||||
"language": @"GDScript",
|
||||
"path": "res://addons/web_blog/classes/WebBlogEntry.gd"
|
||||
"path": "res://addons/web_blog/classes/WebBlogPostEntry.gd"
|
||||
}, {
|
||||
"base": "Resource",
|
||||
"class": @"WebBlogPost",
|
||||
"language": @"GDScript",
|
||||
"path": "res://addons/web_blog/classes/WebBlogPost.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
@"WebBlogEntry": "res://addons/web_blog/icons/icon_web_blog_entry.svg",
|
||||
@"WebBlogEntry": "res://addons/web_blog/icons/icon_web_blog_post_entry.svg",
|
||||
@"WebBlogPost": "res://addons/web_blog/icons/icon_web_blog_post.svg",
|
||||
@"WebBlog": "res://addons/web_blog/icons/icon_web_blog.svg"
|
||||
}
|
||||
|
||||
|