Major refactoring + web adaptation

This commit is contained in:
Vladislav Khorev committed 2026-01-09 20:49:03 +03:00
1 parent 197423b572
commit 9fc0adf210
66 files changed
+134 -30966

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"emissionRate": 100.0,
"maxParticles": 200,
"particleSize": 0.04,
"particleSize": 0.3,
"biasX": 0.3,
"emissionPoints": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"emissionPoints": [
{ "position": [0.0, 0.0, 0.0] }
],
"texture": "./resources/sand.png",
"texture": "./resources/spark_white.png",
"speedRange": [10.0, 30.0],
"zSpeedRange": [-1.0, 1.0],
"scaleRange": [0.5, 1.0],
+36 -84
View File
@@ -1,86 +1,38 @@
{
"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": 300,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/button.png",
"hover": "./resources/button.png",
"pressed": "./resources/button.png"
}
},
{
"type": "Button",
"name": "settingsButton",
"x": 100,
"y": 200,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/sand.png",
"hover": "./resources/sand.png",
"pressed": "./resources/sand.png"
}
},
{
"type": "Button",
"name": "exitButton",
"x": 100,
"y": 100,
"width": 200,
"height": 50,
"textures": {
"normal": "./resources/rock.png",
"hover": "./resources/rock.png",
"pressed": "./resources/rock.png"
}
}
]
}
]
},
{
"type": "Slider",
"name": "musicVolumeSlider",
"x": 1140,
"y": 100,
"width": 10,
"height": 500,
"value": 0.5,
"orientation": "vertical",
"textures": {
"track": "./resources/musicVolumeBarTexture.png",
"knob": "./resources/musicVolumeBarButton.png"
}
}
]
}
"root": {
"type": "FrameLayout",
"x": 0,
"y": 0,
"width": 1280,
"height": 720,
"children": [
{
"type": "Slider",
"name": "velocitySlider",
"x": 1140,
"y": 100,
"width": 50,
"height": 500,
"value": 0.0,
"orientation": "vertical",
"textures": {
"track": "./resources/velocitySliderTexture.png",
"knob": "./resources/velocitySliderButton.png"
}
},
{
"type": "Button",
"name": "shootButton",
"x": 100,
"y": 100,
"width": 100,
"height": 100,
"textures": {
"normal": "./resources/shoot_normal.png",
"hover": "./resources/shoot_hover.png",
"pressed": "./resources/shoot_pressed.png"
}
}
]
}
}