mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 00:11:55 +07:00
131 lines
3.3 KiB
JSON
131 lines
3.3 KiB
JSON
{
|
|
"components" : {
|
|
"scene" : {}
|
|
},
|
|
"children" : [{
|
|
"prototype" : "../prefabs/camera_prefab.json",
|
|
"components" : {
|
|
"actor" : {
|
|
"rotation" : 0.5
|
|
},
|
|
"camera" : {
|
|
"viewport" : [0.0,0.0,0.5,0.5]
|
|
},
|
|
"named" : {
|
|
"name" : "camera(1)"
|
|
}
|
|
}
|
|
},{
|
|
"prototype" : "../prefabs/camera_prefab.json",
|
|
"components" : {
|
|
"actor" : {
|
|
"rotation" : -0.5
|
|
},
|
|
"camera" : {
|
|
"viewport" : [0.5,0.0,0.5,0.5]
|
|
},
|
|
"named" : {
|
|
"name" : "camera(2)"
|
|
}
|
|
}
|
|
},{
|
|
"prototype" : "../prefabs/camera_prefab.json",
|
|
"components" : {
|
|
"actor" : {
|
|
"rotation" : 0.5
|
|
},
|
|
"camera" : {
|
|
"viewport" : [0.5,0.5,0.5,0.5]
|
|
},
|
|
"named" : {
|
|
"name" : "camera(3)"
|
|
}
|
|
}
|
|
},{
|
|
"prototype" : "../prefabs/camera_prefab.json",
|
|
"components" : {
|
|
"actor" : {
|
|
"rotation" : -0.5
|
|
},
|
|
"camera" : {
|
|
"viewport" : [0.0,0.5,0.5,0.5]
|
|
},
|
|
"named" : {
|
|
"name" : "camera(4)"
|
|
}
|
|
}
|
|
},{
|
|
"prototype" : "../prefabs/gnome_prefab.json",
|
|
"components" : {
|
|
"actor" : {
|
|
"translation" : [0,0],
|
|
"scale" : 20
|
|
},
|
|
"named" : {
|
|
"name" : "gnome"
|
|
}
|
|
}
|
|
}, {
|
|
"prototype" : "../prefabs/ship_prefab.json",
|
|
"components" : {
|
|
"sprite_renderer" : {
|
|
"blending" : "additive"
|
|
},
|
|
"actor" : {
|
|
"translation" : [-50,-50]
|
|
},
|
|
"named" : {
|
|
"name" : "ship(1)"
|
|
}
|
|
},
|
|
"children" : [{
|
|
"prototype" : "../prefabs/ship_prefab.json",
|
|
"components" : {
|
|
"sprite_renderer" : {
|
|
"tint" : [255,0,0,255]
|
|
},
|
|
"actor" : {
|
|
"translation" : [100,0]
|
|
},
|
|
"named" : {
|
|
"name" : "ship(2)"
|
|
}
|
|
}
|
|
}]
|
|
}, {
|
|
"prototype" : "../prefabs/label_bm_prefab.json",
|
|
"components" : {
|
|
"label" : {
|
|
"text" : "bm font",
|
|
"valign" : "center",
|
|
"outline_width" : 0.5,
|
|
"outline_color" : [0,0,0,255]
|
|
},
|
|
"actor" : {
|
|
"translation" : [0,180],
|
|
"scale" : 3
|
|
},
|
|
"named" : {
|
|
"name" : "label(1)"
|
|
}
|
|
}
|
|
}, {
|
|
"prototype" : "../prefabs/label_sdf_prefab.json",
|
|
"components" : {
|
|
"label" : {
|
|
"text" : "sdf font",
|
|
"valign" : "center",
|
|
"outline_width" : 0.5,
|
|
"outline_color" : [0,0,0,255]
|
|
},
|
|
"actor" : {
|
|
"translation" : [0.5,-180.5],
|
|
"scale" : 3
|
|
},
|
|
"named" : {
|
|
"name" : "label(2)"
|
|
}
|
|
}
|
|
}]
|
|
}
|