Jump to content

Scale a tilesprite


Recommended Posts

Hi Vincent

As I understand, the TileSprite works like a frame. You set a size (width, height) and you set a position on screen, then the framework will render a sprite inside that frame until it fills it (a bit like a background image in CSS). What I'm trying to do is being able to scale the sprite it is using to fill the frame. For exemple, using a 128x128 image and scale it to 256x256 before using it to fill the frame. On the project I am working on, I have a constraint about the base image file so it would save me a lot of trouble to be able to scale it to a certain size.

Link to comment
Share on other sites


  • Recently Browsing   0 members

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