摄像机系统,和子对象绑定
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"default_camera": "square_alt_camera",
|
||||
"grid_background": true,
|
||||
"actors": [
|
||||
{
|
||||
"name": "square_alt",
|
||||
@@ -9,7 +11,15 @@
|
||||
"mesh": {
|
||||
"shape": "quad",
|
||||
"color": { "r": 0.9, "g": 0.3, "b": 0.2, "a": 1.0 }
|
||||
}
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "square_alt_camera",
|
||||
"type": "camera",
|
||||
"position": { "x": 0, "y": 0 },
|
||||
"zoom": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user