Zoom camera?

Ry LRy L Member Posts: 1
edited November -1 in Working with GS (Mac)
I would REALLY like to know if you can change/zoom camera at all, esspecially with an action. for example, have a guy jump, and while in the air, the camera zooms out a bit. How is this done?

Comments

  • jmp909jmp909 Member Posts: 73
    if you use eg an actor (say call it CameraController) instance (rather than prototype) you can actually change the camera width and height which will effectively zoom in, since the camera view fits the screen... you'll probably need to do a fair bit of maths to make sure it zooms in to the right place etc... (anyone up for this?!)

    but yes i just tried Interpolate scene.Camera.Size.Width and scene.Camera.Size.Height and it zoomed in (although bear in mind it also made my graphics very blocky!.. i guess this might work better with PNG graphics tho)
  • firemaplegamesfiremaplegames Member Posts: 3,211
    @jmp909: You can only use .png files in GameSalad. If you bring them in as other formats, GS will just convert them for you. You should use PNG-8 if your image does not need transparency (or just one color transparency) and PNG-24 for a full alpha channel. It's better to convert them first so they get as small as possible.

    EDIT: and that is a cool trick with the camera. I will have to play with that.
Sign In or Register to comment.