• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Making the trainer card flip

  • 32
    Posts
    14
    Years
    • Seen Jan 13, 2016
    I know this is old but its related to what im looking for SOOOO ive been trying to make the trainer card flip when "C" is pressed and show the 16 badges im planing to add into the game ive got very basic knowledge on scripting so i can take any curves you can throw at me hopefully Ill get a response soon
     
    You've basically just got to play around with the trainer card script to cause an illusion of it flipping over to a new page and to load the new graphics. I always just used the @sprite.zoom_y method to make the y value shrink and then change the image and cause it to increase again. Note the illusion pulled off will also need @sprite.oy = @sprite.bitmap.height / 2 (@sprite being the variable name of the image you want to manipulate) It's worth playing around though first and seeing the structure and where calls are done.
     
    You've basically just got to play around with the trainer card script to cause an illusion of it flipping over to a new page and to load the new graphics. I always just used the @sprite.zoom_y method to make the y value shrink and then change the image and cause it to increase again. Note the illusion pulled off will also need @sprite.oy = @sprite.bitmap.height / 2 (@sprite being the variable name of the image you want to manipulate) It's worth playing around though first and seeing the structure and where calls are done.

    When i say basic knowledge i mean changing coordinates LOL
     
    Back of Trainer Card

    Alright, I have been looking for this for a while but couldn't find an in-depth guide. So I want to make the trainer card flip to the back via a fade with a press of a button, which would display other region-specific badges. How would I do that? I guess I'd have to def TrainerCardBack and add the input script, but what to do next I have no idea.. Any tips, or perhaps a tutorial?
     
    Back
    Top