Do you use Crop&Scale?

0 favourites
  • 5 posts
  • I don't know when I have to use crop or scale mode.

    It's weird when I get different results from layout.

    Only in Letterbox mode can preserve the position of HUD regardless of screen size, isn't it?

    Why CocoonJS doesn't support letterbox mode? <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Have you tried to preserve HUD location by having them on own layer with parallax (0,0) and anchor behavior?

  • Yes, and it's not about camera moving or something. It's about display size.

    If someone put HUD or sprites in the place, watching the window size line, that means he or she wants screen to show them in THAT place, not cropped by display border. In browser, you can deal it with letterbox mode, but in CocoonJS, you can't.

    And I wonder what can I do with it.

  • And can you explain the Anchor behavior to me? I read manual many times but still I can't get it... Is it only for HUD? Anchor behavior in moving sprites doesn't work?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The anchor behavior pins the sprite to that spot on your viewport. So it will stay in that spot. So if you pin it to the upper right corner, it should stay near the upper right corner no matter what else is going on if HUD is set to no parallax and on its own layer.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)