making the camera smaller

Need help with any SMBX game-related issues? Ask your questions here.
ToolJule
Shy Guy
Shy Guy
Posts: 6
Joined: Fri May 03, 2019 11:08 am
Contact:

making the camera smaller

Postby ToolJule » Fri May 03, 2019 11:16 am

Is there a way to make the camera(the amount of the level you can see on screen while playing) smaller? I would like it to be closer to how SMW looks.

Hoeloe
Foo
Foo
Posts: 1442
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: making the camera smaller

Postby Hoeloe » Fri May 03, 2019 3:36 pm

You can do this via Lua, by simply creating your Lua file, loading handycam, and setting the zoom level:

Code: Select all

local handycam = require("handycam")
handycam[1].zoom =  1.5625
(1.5625 will zoom the camera in to exactly match the SMW camera)

Eri7
Banned
Posts: 1770
Joined: Sat Jan 28, 2017 4:48 pm
Flair: Good Foundation allows for strong Execution
Contact:

Re: making the camera smaller

Postby Eri7 » Fri May 03, 2019 3:48 pm

Hoeloe wrote:
Fri May 03, 2019 3:36 pm
You can do this via Lua, by simply creating your Lua file, loading handycam, and setting the zoom level:

Code: Select all

local handycam = require("handycam")
handycam[1].zoom =  1.5625
(1.5625 will zoom the camera in to exactly match the SMW camera)
Cool, i didn't know this was a thing, but is it possible to unzoom the camera by changing the value?

Hoeloe
Foo
Foo
Posts: 1442
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: making the camera smaller

Postby Hoeloe » Fri May 03, 2019 4:00 pm

Eri7 wrote:
Fri May 03, 2019 3:48 pm
Cool, i didn't know this was a thing, but is it possible to unzoom the camera by changing the value?
Of course it is. Setting the zoom level to 1 or nil will return it to default zoom.

ToolJule
Shy Guy
Shy Guy
Posts: 6
Joined: Fri May 03, 2019 11:08 am
Contact:

Re: making the camera smaller

Postby ToolJule » Sat May 04, 2019 3:04 am

Hoeloe wrote:
Fri May 03, 2019 3:36 pm
You can do this via Lua, by simply creating your Lua file, loading handycam, and setting the zoom level:

Code: Select all

local handycam = require("handycam")
handycam[1].zoom =  1.5625
(1.5625 will zoom the camera in to exactly match the SMW camera)
Thank you, this is perfect!


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest