Add shared-scene 2D authoring, sprite animation and Rapier2D physics
CI / validate (push) Canceled after 0s

This commit is contained in:
emil28092005
2026-09-12 04:58:59 +03:00
parent 6f497d1977
commit 3afac743a4
32 changed files with 4999 additions and 270 deletions
+60
View File
@@ -277,6 +277,13 @@
},
"id": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"2d",
"3d"
]
}
},
"required": [
@@ -699,6 +706,53 @@
"taskSupport": "forbidden"
}
},
{
"name": "asset_import_image",
"description": "Import PNG, JPEG or WebP as an image asset and optional XY sprite. Configure asset.image with asset.upsert for slicing, PPU, filter and pivots.",
"inputSchema": {
"type": "object",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"requestId": {
"type": "string",
"maxLength": 100
},
"name": {
"type": "string",
"pattern": "\\.(png|jpe?g|webp)$"
},
"base64": {
"type": "string",
"maxLength": 36000000
},
"path": {
"type": "string"
},
"instantiate": {
"default": true,
"type": "boolean"
}
},
"required": [
"expectedRevision",
"name"
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": false
},
"execution": {
"taskSupport": "forbidden"
}
},
{
"name": "asset_import_glb",
"description": "Import GLB, glTF with companion files, or a ZIP containing one model and its textures. Use base64 bytes OR a path inside the project folder. External files resolve only within that folder; network URLs are not fetched.",
@@ -1069,6 +1123,12 @@
"minimum": -1,
"maximum": 1
},
"y": {
"description": "Vertical XY input for 2D",
"type": "number",
"minimum": -1,
"maximum": 1
},
"z": {
"default": 0,
"type": "number",