feat: Performance optimizations and UI improvements - Added dormant state tracking for static particles - Fixed settings menu particle spawn overlap - Optimized particle batch processing - Added brush cursor visualization - Improved UI interaction zones - Enhanced gas particle effects - Added glow toggle functionality disabled by default due to performance impact - Fixed particle rendering issues - Debug Overlay Disabled by default - FPS counter added semi seperate from Debug Overlay, Turn this one off when using Debug Overlay - Improved particle rendering performance Performance improvements focus on reducing unnecessary calculations for static particles while maintaining core simulation mechanics. UI changes prevent unwanted particle spawning during menu interactions.
466 lines
12 KiB
JSON
466 lines
12 KiB
JSON
{
|
|
"sand": {
|
|
"name": "Sand",
|
|
"size": 1,
|
|
"hardness": 0.5,
|
|
"color": [255, 255, 0, 255],
|
|
"velocity": 0.5,
|
|
"mass": 0.5,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"flamability": 0.8,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.5,
|
|
"viscosity": 0,
|
|
"pressure": 0,
|
|
"melt": "molten-Glass",
|
|
"melt_temperature": 1700,
|
|
"conductive": false,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"water": {
|
|
"name": "Water",
|
|
"size": 1,
|
|
"hardness": 0.2,
|
|
"velocity": 0.3,
|
|
"conductivity": 1,
|
|
"heat_capacity": 1,
|
|
"color": [0, 0, 255, 255],
|
|
"mass": 1,
|
|
"flamability": 0,
|
|
"temperature": 22,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 1,
|
|
"viscosity": 1,
|
|
"pressure": 0.5,
|
|
"evaporate": "steam",
|
|
"evaporate_temperature": 100,
|
|
"freeze": "ice",
|
|
"freeze_temperature": 0,
|
|
"conductive": true,
|
|
"liquid": true,
|
|
"solid": false,
|
|
"is_gas": false
|
|
},
|
|
"steam": {
|
|
"name": "Steam",
|
|
"size": 1,
|
|
"hardness": 0.0,
|
|
"velocity": 0.3,
|
|
"conductivity": 1,
|
|
"heat_capacity": 1,
|
|
"color": [255, 255, 255, 255],
|
|
"mass": 0.01,
|
|
"flamability": 0,
|
|
"temperature": 100,
|
|
"solidify_temperature": 98,
|
|
"solidify": "water",
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.5,
|
|
"viscosity": 0.5,
|
|
"liquid": false,
|
|
"solid": false,
|
|
"is_gas": true,
|
|
"conductive": false
|
|
},
|
|
"ice": {
|
|
"name": "Ice",
|
|
"size": 1,
|
|
"hardness": 1000,
|
|
"velocity": 0.0,
|
|
"conductivity": 0,
|
|
"heat_capacity": 0,
|
|
"color": [75, 75, 75, 255],
|
|
"mass": 1,
|
|
"flamability": 0.0,
|
|
"temperature": 0,
|
|
"melt": "water",
|
|
"melt_temperature": 0.05,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 1,
|
|
"viscosity": 1,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"mud": {
|
|
"name": "Mud",
|
|
"size": 1,
|
|
"hardness": 0.4,
|
|
"velocity": 0.5,
|
|
"conductivity": 1,
|
|
"heat_capacity": 1,
|
|
"color": [139, 69, 19, 255],
|
|
"mass": 0.5,
|
|
"flamability": 0,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.5,
|
|
"viscosity": 1,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"fire": {
|
|
"name": "Fire",
|
|
"size": 1,
|
|
"hardness": 0.1,
|
|
"velocity": 0.1,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [255, 0, 0, 255],
|
|
"mass": 0.1,
|
|
"flamability": 1,
|
|
"temperature": 800,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.1,
|
|
"viscosity": 0.1,
|
|
"liquid": false,
|
|
"solid": false,
|
|
"is_gas": true
|
|
},
|
|
"smoke": {
|
|
"name": "Smoke",
|
|
"size": 1,
|
|
"hardness": 0.1,
|
|
"velocity": 0.07,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [115, 113, 95, 255],
|
|
"mass": 0.01,
|
|
"flamability": 0,
|
|
"temperature": 85,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.4,
|
|
"viscosity": 0.1,
|
|
"lifetime": 90,
|
|
"liquid": false,
|
|
"solid": false,
|
|
"is_gas": true
|
|
},
|
|
"wall": {
|
|
"name": "Wall",
|
|
"size": 1,
|
|
"hardness": 1000,
|
|
"velocity": 0.0,
|
|
"conductivity": 0,
|
|
"heat_capacity": 0,
|
|
"color": [75, 75, 75, 255],
|
|
"mass": 1,
|
|
"flamability": 0,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 1,
|
|
"viscosity": 1,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"dirt": {
|
|
"name": "Dirt",
|
|
"size": 1,
|
|
"hardness": 0.5,
|
|
"velocity": 0.5,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [139, 69, 19, 255],
|
|
"mass": 0.5,
|
|
"flamability": 0,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.5,
|
|
"viscosity": 0.5,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"stone": {
|
|
"name": "Stone",
|
|
"size": 1,
|
|
"hardness": 0.7,
|
|
"velocity": 1.5,
|
|
"conductivity": 0,
|
|
"heat_capacity": 0,
|
|
"color": [128, 128, 128, 255],
|
|
"mass": 1,
|
|
"flamability": 0,
|
|
"melt": "molten-Stone",
|
|
"melt_temperature": 800,
|
|
"solidify": "stone",
|
|
"solidify_temperature": 799,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.5,
|
|
"viscosity": 0.5,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"snow": {
|
|
"name": "Snow",
|
|
"size": 1,
|
|
"hardness": 0.1,
|
|
"velocity": 0.2,
|
|
"conductivity": 1,
|
|
"heat_capacity": 1,
|
|
"color": [255, 255, 255, 255],
|
|
"mass": 0.01,
|
|
"flamability": 0,
|
|
"melt": "water",
|
|
"melt_temperature": 1,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.1,
|
|
"viscosity": 0.01,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"wood": {
|
|
"name": "Wood",
|
|
"size": 1,
|
|
"hardness": 0.5,
|
|
"velocity": 0.5,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [139, 69, 19, 255],
|
|
"mass": 0.5,
|
|
"flamability": 0.8,
|
|
"burning_temperature": 250,
|
|
"burning_rate": 0.01,
|
|
"burning_color": [255, 0, 0, 255],
|
|
"burning": false,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.5,
|
|
"viscosity": 0.5,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"burning-wood": {
|
|
"name": "Burning Wood",
|
|
"size": 1,
|
|
"hardness": 0.5,
|
|
"velocity": 0.5,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [139, 69, 19, 255],
|
|
"mass": 0.5,
|
|
"flamability": 1,
|
|
"temperature": 251,
|
|
"burning": true,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.5,
|
|
"viscosity": 0.5,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"air": {
|
|
"name": "Air",
|
|
"size": 1,
|
|
"hardness": 0.0,
|
|
"velocity": 0.0,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [25, 25, 25, 25],
|
|
"mass": 0.0,
|
|
"flamability": 0,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.0,
|
|
"viscosity": 0.0,
|
|
"liquid": false,
|
|
"solid": false,
|
|
"is_gas": true
|
|
},
|
|
"lava": {
|
|
"name": "Lava",
|
|
"size": 1,
|
|
"hardness": 0.2,
|
|
"velocity": 0.5,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [255, 45, 24, 255],
|
|
"mass": 0.3,
|
|
"flamability": 0,
|
|
"temperature": 1400,
|
|
"solidify": "molten-rock",
|
|
"solidify_temperature": 799,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.8,
|
|
"viscosity": 0.8,
|
|
"liquid": true,
|
|
"solid": false,
|
|
"is_gas": false
|
|
},
|
|
"rock": {
|
|
"name": "Rock",
|
|
"size": 1,
|
|
"hardness": 0.2,
|
|
"velocity": 0.3,
|
|
"conductivity": 1,
|
|
"heat_capacity": 1,
|
|
"color": [128, 128, 128, 255],
|
|
"mass": 0.8,
|
|
"flamability": 0,
|
|
"melt": "molten-rock",
|
|
"melt_temperature": 600,
|
|
"temperature": 0,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.5,
|
|
"viscosity": 0.5,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false
|
|
},
|
|
"molten-rock": {
|
|
"name": "Molten Rock",
|
|
"size": 1,
|
|
"hardness": 0.2,
|
|
"velocity": 0.3,
|
|
"conductivity": 1,
|
|
"heat_capacity": 1,
|
|
"color": [255, 140, 0, 255],
|
|
"mass": 0.8,
|
|
"flamability": 0,
|
|
"temperature": 600,
|
|
"melt": "lava",
|
|
"melt_temperature": 1300,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0,0,0],
|
|
"friction": 0.8,
|
|
"viscosity": 0.8,
|
|
"liquid": true,
|
|
"solid": false,
|
|
"is_gas": false,
|
|
"solidify": "rock",
|
|
"solidify_temperature": 200
|
|
},
|
|
"molten_stone": {
|
|
"name": "Molten Stone",
|
|
"size": 1,
|
|
"hardness": 0.2,
|
|
"velocity": 0.3,
|
|
"conductivity": 1,
|
|
"heat_capacity": 1,
|
|
"color": [255, 140, 0, 255],
|
|
"mass": 0.8,
|
|
"flamability": 0,
|
|
"temperature": 1200,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.8,
|
|
"viscosity": 0.8,
|
|
"liquid": true,
|
|
"solid": false,
|
|
"is_gas": false,
|
|
"solidify": "stone",
|
|
"solidify_temperature": 800
|
|
},
|
|
"molten_glass": {
|
|
"name": "Molten Glass",
|
|
"size": 1,
|
|
"hardness": 0.2,
|
|
"velocity": 0.4,
|
|
"conductivity": 0.8,
|
|
"heat_capacity": 1,
|
|
"color": [255, 200, 150, 200],
|
|
"mass": 0.6,
|
|
"flamability": 0,
|
|
"temperature": 600,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.7,
|
|
"viscosity": 0.9,
|
|
"liquid": true,
|
|
"solid": false,
|
|
"is_gas": false,
|
|
"solidify": "glass",
|
|
"solidify_temperature": 599
|
|
},
|
|
"glass": {
|
|
"name": "Glass",
|
|
"size": 1,
|
|
"hardness": 0.2,
|
|
"velocity": 0.4,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [50, 45, 255, 100],
|
|
"mass": 0.6,
|
|
"flamability": 0,
|
|
"temperature": 20,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.7,
|
|
"viscosity": 0.9,
|
|
"liquid": false,
|
|
"solid": true,
|
|
"is_gas": false,
|
|
"melt": "molten-glass",
|
|
"melt_temperature": 1000
|
|
},
|
|
"flame": {
|
|
"name": "Flame",
|
|
"size": 1,
|
|
"hardness": 0.0,
|
|
"velocity": 0.0,
|
|
"conductivity": 0,
|
|
"heat_capacity": 1,
|
|
"color": [255, 100, 0, 255],
|
|
"mass": 0.0,
|
|
"flamability": 0,
|
|
"temperature": 1000,
|
|
"explosive": false,
|
|
"explosion_radius": 0,
|
|
"explosion_color": [0, 0, 0],
|
|
"friction": 0.0,
|
|
"viscosity": 0.0,
|
|
"liquid": false,
|
|
"solid": false,
|
|
"is_gas": true
|
|
}
|
|
|
|
}
|
|
|