摄像机系统,和子对象绑定
This commit is contained in:
+12
-1
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"default_camera": "main_camera",
|
||||
"grid_background": true,
|
||||
"actors": [
|
||||
{
|
||||
"name": "square",
|
||||
@@ -13,7 +15,16 @@
|
||||
"mesh": {
|
||||
"shape": "quad",
|
||||
"texture": "Dank.png"
|
||||
}
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "main_camera",
|
||||
"type": "camera",
|
||||
"position": { "x": 0, "y": 0 },
|
||||
"facing": { "x": 1, "y": 0 },
|
||||
"zoom": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user