- Build modernisé : Gradle 9.9.1 / JDK 21 / LWJGL 3.3.6 (ex Gradle 3.5-rc-2 / JDK 8 / LWJGL 3.1.2) - Back-end Android complet : rendu GLES 3.0, audio SoundPool+MediaPlayer, IO assets, launcher GLSurfaceView, HUD de contrôles tactiles (TouchControls) - Logging multi-plateforme GameLog (LS-*) - Corrections : contexte GL 3.2 core (macOS), fuites core->desktop, Input Android, TMX via AssetManager, JSONException, purge tags destroyAll, reload DefenseMission - README + TODO (roadmap reconstruite depuis le Trello et les dépôts de l'org amont) Sources amont : github.com/8-Bit-Warframe (dépôts du 2017, abandonnés)
148 lines
2.3 KiB
JSON
148 lines
2.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "Dethsquare Engine Animation",
|
|
"description": "Data about an entity in a Dethsquare Engine game",
|
|
"definitions": {
|
|
"offset": {
|
|
"type": "object",
|
|
"oneOf": [
|
|
{
|
|
"properties": {
|
|
"x" : {
|
|
"type": "number"
|
|
},
|
|
"y": {
|
|
"type": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"properties": {
|
|
"normal": {
|
|
"type": "object",
|
|
"properties": {
|
|
"x" : {
|
|
"type": "number"
|
|
},
|
|
"y": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"x",
|
|
"y"
|
|
]
|
|
},
|
|
"flipped": {
|
|
"type": "object",
|
|
"properties": {
|
|
"x" : {
|
|
"type": "number"
|
|
},
|
|
"y": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"x",
|
|
"y"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"normal",
|
|
"flipped"
|
|
]
|
|
}
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"defaults": {
|
|
"type": "object",
|
|
"properties": {
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
},
|
|
"offset": {
|
|
"$ref": "#/definitions/offset"
|
|
},
|
|
"duration": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"width",
|
|
"height",
|
|
"offset",
|
|
"duration"
|
|
]
|
|
}
|
|
},
|
|
"type": "object",
|
|
"properties": {
|
|
"extends": {
|
|
"type": "string"
|
|
},
|
|
"defaults": {
|
|
"$ref": "#/definitions/defaults"
|
|
},
|
|
"animations": {
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Animation",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"defaults": {
|
|
"$ref": "#/definitions/defaults"
|
|
},
|
|
"sprites": {
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Sprite",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
},
|
|
"offset": {
|
|
"$ref": "#/definitions/offset"
|
|
},
|
|
"duration": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
}
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"LOOP",
|
|
"ONE_SHOT",
|
|
"OSCILLATE",
|
|
"CUSTOM"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"sprites",
|
|
"type"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
} |