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

Simple Bubble animation like Pkmn RSE

22
Posts
10
Years
    • Seen Nov 24, 2023
    Simple Bubble animation like Pkmn RSE


    First add in Settings

    After the line
    Code:
    PLANT_SPARKLE_ANIMATION_ID   = 7

    Add:
    Code:
    BUBBLES_ANIMATION_ID         = 8# or  animation ID you'd like to use

    in PField_Field

    After the line
    Code:
    if PBTerrain.isJustGrass?(pbGetTerrainTag(event,true)) # Won't show if under bridge 
          $scene.spriteset.addUserAnimation(GRASS_ANIMATION_ID,event.x,event.y,true,1)

    Add:
    Code:
    elsif pbGetTerrainTag(event,true) == PBTerrain::UnderwaterGrass
              if event == $game_player
              $scene.spriteset.addUserAnimation(BUBBLES_ANIMATION_ID,event.x,event.y,true,2)
              end

    And this into the Graphics/Animations folder:
    Spoiler:


    Create an animation that uses 3 frames for each picture, totaling 24

    Example:
    Simple Bubble animation like Pkmn RSE


    and that's it

    Note:
    the animation works only on the player's character
     
    Last edited:
    62
    Posts
    6
    Years
    • Seen Aug 11, 2022
    Hello!

    There is a problem with the script because we see the animation on every tile we browse.
    And I assure you, it's not beautiful to see.

    How can we solve this problem so that the animation is more similar to the game?

    Thank you in advance.
     
    143
    Posts
    4
    Years
    • Seen Mar 26, 2024
    Maybe just add a another condition so the animation appears at random?
    f.ex.
    Spoiler:
    Idk if that's how it's handled in the main games, but It'd make it more authentic.
     
    22
    Posts
    10
    Years
    • Seen Nov 24, 2023
    I managed to solve this problem, I already updated the code
     
    Back
    Top