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
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

+21
View File
@@ -0,0 +1,21 @@
{
"actors": [
{
"name": "square",
"init": "square_init",
"tick": "square_tick",
"position": {
"x": 0,
"y": 0
},
"facing": {
"x": 1,
"y": 0
},
"mesh": {
"shape": "quad",
"texture": "Dank.png"
}
}
]
}
+15
View File
@@ -0,0 +1,15 @@
{
"actors": [
{
"name": "square_alt",
"init": "square_alt_init",
"tick": "square_alt_tick",
"position": { "x": 0, "y": 0 },
"facing": { "x": 0, "y": 1 },
"mesh": {
"shape": "quad",
"color": { "r": 0.9, "g": 0.3, "b": 0.2, "a": 1.0 }
}
}
]
}