Sign in to follow this  
Davaaron

Scale states

Recommended Posts

Hi,

 

what do you do if you have the following case: You program a game for mobile devices which is a jump and run game. The dimension used to initialize the game world is like 640x480, but you have pictures used as background that are much bigger, like 1800x1200. 

It's also possible that some background images will be smaller or bigger. My idea was maybe to scale up the camera or game size dependent on the size of the background image. But I don't know how to scale all images within the viewport. How do you solve such issues? 

I mean I would need to scale down all the images. Or at least provide multiple resolutions for different devices and decide on runtime which asset to load? 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.