Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Scaling Sprites

edited July 2012 in General Posts: 266

Does anyone know how to scale a sprite without using any addition software? For example, if a sprite was 50x50, would i be able to scale it to 25x25 right through codea. thanks for the help

Tagged:

Comments

  • Posts: 563

    Hi @veeeralp - I haven't tried this but can't you just set the dimensions (width and height) when you draw the sprite?

    sprite(name, x, y, width, height)

    alternatively if you want to scale all of your drawing by that ratio you could use scale(0.5)

  • Posts: 266

    @Reefwing I worked thanks. Love your tutorials also. Very helpful.
    Y

Sign In or Register to comment.