add ui.json and del default values from SparkEmitter

This commit is contained in:
Vlad committed 2025-12-19 17:35:34 +06:00
1 parent 53ea1f768c
commit 068c319890
11 files changed
+540 -50

No files matched your search

+2 -2
View File
@@ -17,6 +17,6 @@
"lifeTimeRange": [600.0, 1400.0],
"texture": "./resources/spark.png",
"shaderProgramName": "default",
"vertexShader": "./shaders/default.vertex",
"fragmentShader": "./shaders/default.fragment"
"vertexShader": "./shaders/spark.vertex",
"fragmentShader": "./shaders/spark.fragment"
}
+72
View File
@@ -0,0 +1,72 @@
{
"root": {
"type": "FrameLayout",
"x": 0,
"y": 0,
"width": 1280,
"height": 720,
"children": [
{
"type": "FrameLayout",
"name": "leftPanel",
"x": 100,
"y": 100,
"width": 320,
"height": 400,
"children": [
{
"type": "LinearLayout",
"name": "mainButtons",
"orientation": "vertical",
"spacing": 10,
"x": 0,
"y": 0,
"width": 300,
"height": 300,
"children": [
{
"type": "Button",
"name": "playButton",
"x": 100,
"y": 100,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/rock.png",
"pressed": "./resources/sand.png"
}
},
{
"type": "Button",
"name": "settingsButton",
"x": 100,
"y": 200,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/rock.png",
"pressed": "./resources/sand.png"
}
},
{
"type": "Button",
"name": "exitButton",
"x": 150,
"y": 300,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/rock.png",
"pressed": "./resources/sand.png"
}
}
]
}
]
}
]
}
}