Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Zoom in the game?

I'm trying to make it so when a character talks the camera is zoomed onto the character, then once the dialog is over the camera zooms back out. The camera behavior doesn't seem to be able to do this.


  • Typically you would want to fake this "zoom" somehow. If you were to actually zoom the camera in, the sprites would all get super pixellated.
  • The only way I could think of faking it would be by manually making the sprites larger, but that'd make them pixellated anyway. I don't need them to be zoomed in by a lot, I think it would work. Is there no behavior for this? or a feature in the camera?
  • edited January 2018
    I’ll have to look into this. Thank you

    Edit: I may just do that or try to fake a slight zoom in. I feel like that’d be a pain though.
  • Actual z axis on the camera would be amazing for larger boss battles. It isn't common for 2D games to z cam, but I have seen it before, and have no issue with sprite distortion.

    Tiny Wings is an excellent example.
  • Tiny wings (great game) can get away with this two ways:

    1) The bird sprites are really big, and they are just shrunk down most of the time until you zoom in.

    2) The hills and background are not sprites - they get rendered as procedural geometry on the GPU, so they can be whatever resolution is called for.

    You could probably do something similar where you make large sprites, and just reduce the scale by 50% most of the time, but I haven't tried that before.
  • @grazer Mhx has a point, why not have a z-axis on the camera? It’s not like you’ll be required to use it, if people want to use it, they’ll use it, if people realize the sprites are pixelated when zooming in too far, they’ll fix it. I think it would be a very nice feature to add.
Sign In or Register to comment.

| make games in your browser
@ 2017, All rights reserved.

Contact us

Get In Touch