mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-04-20 00:47:06 +00:00
added console with info about running pods,namespace and endpoint
This commit is contained in:
BIN
assets/Adore64.ttf
Executable file
BIN
assets/Adore64.ttf
Executable file
Binary file not shown.
17
assets/arcade.font
Normal file
17
assets/arcade.font
Normal file
@@ -0,0 +1,17 @@
|
||||
font: "/assets/Adore64.ttf"
|
||||
material: "/builtins/fonts/font.material"
|
||||
size: 14
|
||||
antialias: 1
|
||||
alpha: 1.0
|
||||
outline_alpha: 0.0
|
||||
outline_width: 0.0
|
||||
shadow_alpha: 0.0
|
||||
shadow_blur: 0
|
||||
shadow_x: 0.0
|
||||
shadow_y: 0.0
|
||||
extra_characters: ""
|
||||
output_format: TYPE_BITMAP
|
||||
all_chars: false
|
||||
cache_width: 0
|
||||
cache_height: 0
|
||||
render_mode: MODE_SINGLE_LAYER
|
||||
6
assets/console.atlas
Normal file
6
assets/console.atlas
Normal file
@@ -0,0 +1,6 @@
|
||||
images {
|
||||
image: "/assets/console.png"
|
||||
}
|
||||
margin: 0
|
||||
extrude_borders: 0
|
||||
inner_padding: 0
|
||||
BIN
assets/console.png
Normal file
BIN
assets/console.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 87 KiB |
52
main/gui.gui
52
main/gui.gui
@@ -15,6 +15,10 @@ fonts {
|
||||
name: "error"
|
||||
font: "/main/error.font"
|
||||
}
|
||||
fonts {
|
||||
name: "arcade"
|
||||
font: "/assets/arcade.font"
|
||||
}
|
||||
background_color {
|
||||
x: 0.0
|
||||
y: 0.0
|
||||
@@ -23,8 +27,8 @@ background_color {
|
||||
}
|
||||
nodes {
|
||||
position {
|
||||
x: 120.0
|
||||
y: 80.0
|
||||
x: 299.0
|
||||
y: 99.0
|
||||
z: 0.0
|
||||
w: 1.0
|
||||
}
|
||||
@@ -41,25 +45,25 @@ nodes {
|
||||
w: 1.0
|
||||
}
|
||||
size {
|
||||
x: 300.0
|
||||
y: 300.0
|
||||
x: 500.0
|
||||
y: 500.0
|
||||
z: 0.0
|
||||
w: 1.0
|
||||
}
|
||||
color {
|
||||
x: 0.1908397
|
||||
x: 1.0
|
||||
y: 1.0
|
||||
z: 0.0
|
||||
z: 1.0
|
||||
w: 1.0
|
||||
}
|
||||
type: TYPE_TEXT
|
||||
blend_mode: BLEND_MODE_ALPHA
|
||||
text: ""
|
||||
font: "kubefont"
|
||||
font: "arcade"
|
||||
id: "status"
|
||||
xanchor: XANCHOR_NONE
|
||||
yanchor: YANCHOR_NONE
|
||||
pivot: PIVOT_CENTER
|
||||
pivot: PIVOT_W
|
||||
outline {
|
||||
x: 1.0
|
||||
y: 1.0
|
||||
@@ -72,8 +76,8 @@ nodes {
|
||||
z: 1.0
|
||||
w: 1.0
|
||||
}
|
||||
adjust_mode: ADJUST_MODE_FIT
|
||||
line_break: false
|
||||
adjust_mode: ADJUST_MODE_STRETCH
|
||||
line_break: true
|
||||
layer: ""
|
||||
inherit_alpha: true
|
||||
alpha: 1.0
|
||||
@@ -86,7 +90,7 @@ nodes {
|
||||
nodes {
|
||||
position {
|
||||
x: 601.0
|
||||
y: 131.0
|
||||
y: 196.0
|
||||
z: 0.0
|
||||
w: 1.0
|
||||
}
|
||||
@@ -117,7 +121,7 @@ nodes {
|
||||
type: TYPE_TEXT
|
||||
blend_mode: BLEND_MODE_ALPHA
|
||||
text: ""
|
||||
font: "kubefont"
|
||||
font: "arcade"
|
||||
id: "howto"
|
||||
xanchor: XANCHOR_NONE
|
||||
yanchor: YANCHOR_NONE
|
||||
@@ -135,7 +139,7 @@ nodes {
|
||||
w: 1.0
|
||||
}
|
||||
adjust_mode: ADJUST_MODE_FIT
|
||||
line_break: false
|
||||
line_break: true
|
||||
layer: ""
|
||||
inherit_alpha: true
|
||||
alpha: 1.0
|
||||
@@ -147,8 +151,8 @@ nodes {
|
||||
}
|
||||
nodes {
|
||||
position {
|
||||
x: 598.0
|
||||
y: 34.0
|
||||
x: 299.0
|
||||
y: 71.0
|
||||
z: 0.0
|
||||
w: 1.0
|
||||
}
|
||||
@@ -165,8 +169,8 @@ nodes {
|
||||
w: 1.0
|
||||
}
|
||||
size {
|
||||
x: 600.0
|
||||
y: 600.0
|
||||
x: 500.0
|
||||
y: 500.0
|
||||
z: 0.0
|
||||
w: 1.0
|
||||
}
|
||||
@@ -179,11 +183,11 @@ nodes {
|
||||
type: TYPE_TEXT
|
||||
blend_mode: BLEND_MODE_ALPHA
|
||||
text: ""
|
||||
font: "kubefont"
|
||||
font: "arcade"
|
||||
id: "info"
|
||||
xanchor: XANCHOR_NONE
|
||||
yanchor: YANCHOR_NONE
|
||||
pivot: PIVOT_CENTER
|
||||
pivot: PIVOT_W
|
||||
outline {
|
||||
x: 1.0
|
||||
y: 1.0
|
||||
@@ -196,8 +200,8 @@ nodes {
|
||||
z: 1.0
|
||||
w: 1.0
|
||||
}
|
||||
adjust_mode: ADJUST_MODE_FIT
|
||||
line_break: false
|
||||
adjust_mode: ADJUST_MODE_STRETCH
|
||||
line_break: true
|
||||
layer: ""
|
||||
inherit_alpha: true
|
||||
alpha: 1.0
|
||||
@@ -234,8 +238,8 @@ nodes {
|
||||
}
|
||||
color {
|
||||
x: 1.0
|
||||
y: 0.0
|
||||
z: 0.0
|
||||
y: 1.0
|
||||
z: 1.0
|
||||
w: 1.0
|
||||
}
|
||||
type: TYPE_TEXT
|
||||
@@ -259,7 +263,7 @@ nodes {
|
||||
w: 1.0
|
||||
}
|
||||
adjust_mode: ADJUST_MODE_FIT
|
||||
line_break: false
|
||||
line_break: true
|
||||
layer: ""
|
||||
inherit_alpha: true
|
||||
alpha: 1.0
|
||||
|
||||
@@ -79,7 +79,7 @@ embedded_instances {
|
||||
"}\n"
|
||||
""
|
||||
position {
|
||||
x: 0.0
|
||||
x: 4.0
|
||||
y: -8.0
|
||||
z: -1.0
|
||||
}
|
||||
@@ -393,7 +393,47 @@ embedded_instances {
|
||||
"}\n"
|
||||
""
|
||||
position {
|
||||
x: 0.0
|
||||
x: 4.0
|
||||
y: 0.0
|
||||
z: 0.0
|
||||
}
|
||||
rotation {
|
||||
x: 0.0
|
||||
y: 0.0
|
||||
z: 0.0
|
||||
w: 1.0
|
||||
}
|
||||
scale3 {
|
||||
x: 1.0
|
||||
y: 1.0
|
||||
z: 1.0
|
||||
}
|
||||
}
|
||||
embedded_instances {
|
||||
id: "console"
|
||||
data: "embedded_components {\n"
|
||||
" id: \"sprite\"\n"
|
||||
" type: \"sprite\"\n"
|
||||
" data: \"tile_set: \\\"/assets/console.atlas\\\"\\n"
|
||||
"default_animation: \\\"console\\\"\\n"
|
||||
"material: \\\"/builtins/materials/sprite.material\\\"\\n"
|
||||
"blend_mode: BLEND_MODE_ALPHA\\n"
|
||||
"\"\n"
|
||||
" position {\n"
|
||||
" x: 651.0\n"
|
||||
" y: 80.0\n"
|
||||
" z: 0.0\n"
|
||||
" }\n"
|
||||
" rotation {\n"
|
||||
" x: 0.0\n"
|
||||
" y: 0.0\n"
|
||||
" z: 0.0\n"
|
||||
" w: 1.0\n"
|
||||
" }\n"
|
||||
"}\n"
|
||||
""
|
||||
position {
|
||||
x: 4.0
|
||||
y: 0.0
|
||||
z: 0.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user