Sprites Resize to Screen Size

0 favourites
  • 4 posts
From the Asset Store
Simple resize and rotate events for any sprite, quick and easy event sheet that you can use for your own projects.
  • I am not sure if this is a simple question, or a complicated question... but is it possible to prevent my sprites from scaling up (for bigger resolutions) or scaling down (smaller resolutions).

    My issue is my app on my phone the sprites are a good ratio where the sprites are not blown up too much. However when I view them on a tablet with a 8.4 inch screen, the sprites are scaled to the size of the screen. I want my sprites to retain their ratio regardless of the screen size. How would I go about doing this?

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you're experiencing, for instance, your menu elements being too big and going off screen on different screens with different aspect ratios you could use the ViewportBottom and ViewportRight expressions to get the aspect ratio of the screen and then calculate and compensate for the increased size of the elements with set height, set width and some creative math.

    At least that's how I did it for my project's main menu. If there's an simpler way to do it I'd like to hear it.

  • This question seems a bit confusing, if you want no scaling at all, you can set the fullscreen mode to crop, which effectively scales nothing but show more or less, but I doubt it is what you actually want

  • This question seems a bit confusing, if you want no scaling at all, you can set the fullscreen mode to crop, which effectively scales nothing but show more or less, but I doubt it is what you actually want

    Aphrodite

    I am using Scale Outer right now, it works perfectly with different resolution ratios... however I do not like that my sprites scale huge on bigger resolutions. I would like the app to maintain the size of all sprites so the app looks the same on all resolutions. Sort of how Facebook app looks the same reguardless of screen size. This is probably not possible if I use scale outer however.

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