Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Rescalling assets while loading


Kristonitas
 Share

Recommended Posts

Hello there,

 

When doing my game for multiple resolution devices, I would like to have an option to scale HD assets to required size and have no game scale (unless the device has a higher resolution than I thought I would need). I don't want to pack different sprite-sheets for different resolutions.

I know that it might take some extra loading time to rescale, but the final app package would be smaller and some ingame logic would be easier to calculate.

One way I know I could solve this, is to set up some canvases, to render to them, and then use canvas url for the PIXI/Phaser image loader, but I am looking for an easier or maybe premade version of this.

 

This topic might be more related to PIXI.js, but I am using Phaser image loading function, so I put it here.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...