[Solved] Need an idea of how to scale to show full screen

Not favoritedFavorited Favorited 0 favourites
From the Asset Store
A small template showing how to build a firebase ranking
  • Thank you, thank you, thank you, thank you for the fantastic help guys!!!

    there is no need

  • Here's a related idea: If I want to leave the HUD layer the same size (not scale), I'm thinking I can scale all the other layers equally and leave the HUD normal size.

  • Yup, I use that approach too.

    If your moving objects between different scaled layers, keep in mind this can cause errors, the likes of "drawing instance on wrong layer" ones.

  • Yup, I use that approach too.

    If your moving objects between different scaled layers, keep in mind this can cause errors, the likes of "drawing instance on wrong layer" ones.

    The only layer that isn't scaling is the HUD. It's working!

  • Oh, forgot to mention, I'm using the mouse scroll wheel to scale up and down in desktop browser. Working well

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • that's nice

  • locohost

    Using lerp and layout scale will work for the zoom part, but to travel through the map you can use an invisible sprite called camera with scroll to and plataform behavior (or in your case the 8 directions behavior). I also recommend putting this sprite in a different Layer called Camera with parallax 0,0.

    Something like this:

    Is clicking left arrow > move the camera to the left.

    if not clicking it anymore > set the camera's X and Y to scrollx and scrolly.

    Do this to all sides and don't forget to disable any other scroll to behavior that you may have while moving the camera.

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