• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Sprite Zoom

FL

Pokémon Island Creator
2,452
Posts
13
Years
    • Seen yesterday
    Code:
    sprite_variable.zoom_x=sprite_variable.zoom_x*2
    sprite_variable.zoom_y=sprite_variable.zoom_y*2

    This code doubles the sprite size.

    Code:
    sprite_variable.zoom_x=sprite_variable.zoom_x/2
    sprite_variable.zoom_y=sprite_variable.zoom_y/2

    This code cut by half the sprite size.
     

    FHJoker

    Re-thinking Osmium
    88
    Posts
    16
    Years
  • How do I incorporate that into the Forms sceen of the Pokedex? I had resized the gen 5 back sprites (of all 649 Pokemon) to 288px (300%) to show perspective in the battle scene but of in the Pokedex Form scene they come out like this. I would like to resieze them back to 192 (200%).
    backsprite.png
     

    xalien95

    Developer of Pokémon Omicron
    76
    Posts
    13
    Years
  • After the line 143 in PokemonNestAndForm (@sprites["back"]=PokemonSprite.new(@viewport) ), add this:
    Code:
    @sprites["back"].zoom_x=0.5 && @sprites["back"].zoom_y=0.5
     
    Back
    Top