enable zoom in the camera

"
"
"
"
"
"
"
"
"
"
This commit is contained in:
Travis Shears 2026-05-14 10:51:28 +01:00
parent 00a999caf4
commit fe99c7a4a6
Signed by: travisshears
GPG key ID: CB9BF1910F3F7469
3 changed files with 105 additions and 41 deletions

View file

@ -2,7 +2,11 @@ name: "main"
scale_along_z: 0
embedded_instances {
id: "camera"
data: "embedded_components {\n"
data: "components {\n"
" id: \"zoom\"\n"
" component: \"/main/zoom.script\"\n"
"}\n"
"embedded_components {\n"
" id: \"camera\"\n"
" type: \"camera\"\n"
" data: \"aspect_ratio: 1.0\\n"
@ -10,7 +14,7 @@ embedded_instances {
"near_z: -1.0\\n"
"far_z: 1.0\\n"
"orthographic_projection: 1\\n"
"orthographic_mode: ORTHO_MODE_AUTO_COVER\\n"
"orthographic_zoom: 2.0\\n"
"\"\n"
"}\n"
""