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

[Question] Is there a way to make the party screen background be animated with frames or other thing that can loop it?

It's pretty easy to do, go to the Party Script(UI_Party if using v19+)
And find the line: addBackgroundPlane(@sprites,"partybg","Party/bg",@viewport) and replace it with the next lines:
Code:
    @sprites["partybg"]=AnimatedPlane.new(@viewport)
    @sprites["partybg"].bitmap=RPG::Cache.picture("Party/bg")

Next, find pbUpdateSpriteHash(@sprites), and paste this below it.
Code:
if @sprites["partybg"]
       @sprites["partybg"].ox+=1
       @sprites["partybg"].oy+=1
end

To change the speed of the animation, edit the 1 at @sprites["partybg"].ox+=1 or @sprites["partybg"].oy+=1.
 
It's pretty easy to do, go to the Party Script(UI_Party if using v19+)
And find the line: addBackgroundPlane(@sprites,"partybg","Party/bg",@viewport) and replace it with the next lines:
Code:
    @sprites["partybg"]=AnimatedPlane.new(@viewport)
    @sprites["partybg"].bitmap=RPG::Cache.picture("Party/bg")

Next, find pbUpdateSpriteHash(@sprites), and paste this below it.
Code:
if @sprites["partybg"]
       @sprites["partybg"].ox+=1
       @sprites["partybg"].oy+=1
end

To change the speed of the animation, edit the 1 at @sprites["partybg"].ox+=1 or @sprites["partybg"].oy+=1.

hello clara dragon thanks for the help, I forgot to tell you that I am using v18, but thanks
 
hello clara dragon thanks for the help, I forgot to tell you that I am using v18, but thanks

It should work in the v18 too, since I took the methods from a project of mine at the v16. Just find the party script(I dunno the name in the v18, but it should be similar, for example at v16 and v17 is PScreen_Party) and find the similar lines in there.
 
Last edited:
Back
Top