#start_screen error

1 messages ยท Page 1 of 1 (latest)

ebon mauve
#

Start_screen.json not working for some reason

#

This is the start screen script , can someone tell me whats wrong with it ?

#

{
"format_version": "1.10",
"header": {
"description": "Custom Main Menu UI",
"version": [1, 21, 0],
"uuid": "a-unique-uuid-for-this-file"
},
"screens": {
"start_screen": {
"content": {
"panorama_background": "textures/ui/panorama_background",
"controls": [
{
"control": "image",
"texture": "textures/ui/logo_image",
"alignment": "center",
"vertical_alignment": "center",
"animation": {
"type": "zoom_in_out",
"duration": 4.0,
"easing": "in_out_sine",
"loop": true
}
},
{
"control": "stack_panel",
"alignment": "left",
"vertical_alignment": "center",
"padding": [10, 20, 0, 0],
"children": [
{
"control": "button",
"text": "Play",
"height": 30,
"width": 150,
"on_click": {
"actions": [
{
"animation": "trigger_star_animation"
}
]
}
}

#

Here is other half

#

{ "control": "button", "text": "Settings", "height": 30, "width": 150, "on_click": { "actions": [ { "animation": "trigger_star_animation" } ] } }, { "control": "button", "text": "Marketplace", "height": 30, "width": 150, "on_click": { "actions": [ { "animation": "trigger_star_animation" } ] } }, { "control": "button", "text": "Exit", "height": 30, "width": 150, "on_click": { "actions": [ { "animation": "trigger_star_animation" } ] } } ] } ] } } }, "animations": { "trigger_star_animation": { "animation_effects": [ { "control": "image", "texture": "textures/ui/star_image", "animation": { "type": "scale", "from": [0.0, 0.0], "to": [1.0, 1.0], "duration": 0.5, "easing": "out_quad" }, "fade": { "from": 1.0, "to": 0.0, "duration": 0.5 } } ] } } }

verbal ledge
#

bro using AI for json ui. this hurts my whole skull.

wicked star
#

chat gpt ass UI ๐Ÿ’€

#

@feral zodiac

feral zodiac
wicked star
#

Wrong

#

Nope

feral zodiac
#

Nope