• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

[Other Question] Animated Front Sprites (Pokemon Essentials)

  • 7
    Posts
    4
    Years
    • Seen Aug 22, 2020
    Hello,
    I'm trying to get my front sprites to play their animations. I have already made sprite sheets instead of GIFS but I can't find a way to get them to play as animations. I know that people say to use EBS but I have had trouble finding the complete set of scrips or installer for it. Is there any other script I could plug in to my code to make my animations play during battle? I would like to clarify I am not interested in the full Black/White overhaul. Sorry for the bother, I'm pretty new to this.

    [PokeCommunity.com] Animated Front Sprites (Pokemon Essentials)
     
    You can find a link to EBS here.
    Essentials supports GIFs. However, these special spritesheet styled animations are made for and interpreted by EBS. Unless you want to use it, you'd either have to change your image files to animated GIFs or code a custom sprite wrapper that will animate your sheet accordingly.
     
    Thank you so much for responding! I actually do have this downloaded but I believe I was looking at an out of date tutorial (the one from Thundaga)

    When using GIFS the animation seems to echo, it doesn't get rid of the previous frame when it plays the next one. I would definitely prefer sprite sheets as they take up less space. If I don't want the entire EBS overhaul would I just need to copy the section of code for animated sprites and paste it above main? Looking through the txt I found this section for animated sprites.



    # Class used to render animated sprite from spritesheet (horizontal)
    #===============================================================================
    class SpriteSheet < Sprite
    attr_accessor :speed
    #-----------------------------------------------------------------------------
    # initializes sprite sheet
    #-----------------------------------------------------------------------------
    def initialize(viewport, frames = 1)
    @frames = frames
    @speed = 1
    @curFrame = 0
    @vertical = false
    super(viewport)
    end


    thank you again for taking the time to help
     
    Thank you so much for responding! I actually do have this downloaded but I believe I was looking at an out of date tutorial (the one from Thundaga)

    When using GIFS the animation seems to echo, it doesn't get rid of the previous frame when it plays the next one. I would definitely prefer sprite sheets as they take up less space. If I don't want the entire EBS overhaul would I just need to copy the section of code for animated sprites and paste it above main? Looking through the txt I found this section for animated sprites.
    It's not that simple, you would need to do a lot of modifications to the sprite classes and AnimatedBitmap used all throughout the entire vanilla battle system to change it to accept these custom sprite sheets. Again, these were designed for EBS use in mind. Better use GIFs if you don't want to be building your own animation handler. Your problem with the GIF animation probably has to do something with the indexing of Alpha transparency. Either try setting up the alpha transparency to be indexed properly in your GIF file, or maybe you can also try using this alternative for a (broken link removed).
     
    Back
    Top