• 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.

[Scripting Question] How to make Faint/Death animations?

  • 1
    Posts
    7
    Years
    • Seen Jun 6, 2016
    Hello. I am working on a pokemon game and came across the need to have death animations specific to each pokemon. Is there an easy/well-established way of doing this? Note: I don't know a lot of programming, but am capable of messing with the scripts, so any example code would be MUCH appreciated. Thank you!
     
    Last edited by a moderator:
  • 129
    Posts
    8
    Years
    • Seen Mar 23, 2023
    Define "death animations specific to each pokemon". In what way are they specific? Pretty sure the normal thing that happens when a pokemon faints is that its cry plays and its sprite drops down below the UI. What are you trying to do different?
     
  • 296
    Posts
    9
    Years
    If you are using Elite Battle System by Luka S.J., you have to do a sprite for each Pokémon (called, for example, "XXX_faint.png") which contains all frames of the death's animation. Then, in the script section, you have to add a line of code that will modify the sprite of the battler into your animated sprite.
     
    Back
    Top