png支持

This commit is contained in:
ArchZer0
2026-08-17 10:26:27 +08:00
parent 07aeced2e4
commit 63d97f058a
25 changed files with 893 additions and 261 deletions
+7 -15
View File
@@ -2,25 +2,17 @@
"window": {
"width": 800,
"height": 600,
"title": "OpenCGE - config.ceg"
"title": "Boundard - config.ceg"
},
"input": [
{
"action": "quit",
"keys": ["Escape"]
}
{ "action": "quit", "keys": ["Escape"] }
],
"actors": [
{
"name": "square",
"position": { "x": 0, "y": 0 },
"facing": { "x": 1, "y": 0 },
"mesh": {
"shape": "quad",
"color": { "r": 0.5, "g": 0.5, "b": 0.5, "a": 1.0 }
}
}
"start_scene": "main",
"scenes": [
{ "name": "main", "path": "scenes/main.json" },
{ "name": "second", "path": "scenes/second.json" }
]
}