Sign in to follow this  

Scale states

Recommended Posts



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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.