png支持
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
@@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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 }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user