- Added methods for file watching, including `watch`, `unwatch`, `unwatchAll`, `getWatchCount`, `pollWatch`, `getLastWatchPath`, and `getLastWatchRealPath`. - Enhanced the `Filesystem` class to support monitoring file changes, allowing for real-time updates. - Updated the `physfs` implementation to handle file watch targets and events. - Improved documentation and added unit tests to validate the new file watching features. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
449 B
JSON
22 lines
449 B
JSON
{
|
|
"buffer": 256,
|
|
"preset": "fire",
|
|
"x": 400,
|
|
"y": 500,
|
|
"emissionRate": 60,
|
|
"particleLifetime": [0.4, 1.0],
|
|
"emitterLife": -1,
|
|
"direction": -1.5708,
|
|
"spread": 0.5,
|
|
"speed": [20, 80],
|
|
"linearAcceleration": [-15, -80, 15, -20],
|
|
"particleSize": [10, 10],
|
|
"sizes": [1.2, 0.3],
|
|
"colorStart": [1.0, 0.7, 0.1, 1.0],
|
|
"colorEnd": [1.0, 0.1, 0.0, 0.0],
|
|
"layer": 2,
|
|
"visible": true,
|
|
"autoStart": true,
|
|
"autoReload": true
|
|
}
|