Animation on title screen at specific position

Started by Sylphe, May 17, 2015, 11:04:44 am

Previous topic - Next topic

Sylphe

Hey hey the subject is clear :D I want to make an animation (ex: heal) pop on the Title Screen on a specific location, do you know a way to do it without adding modules or something ? :3
I don't know if we can make an animation pop on something that's not necessarily a character/battler :/

and congratulations again KK20
blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP

KK20

lol thanks :D

If you're using the default title screen, you can add another RPG::Sprite object to it.

# inside 'def main', before the 'loop do'
@titleAnimation = RPG::Sprite.new
@titleAnimation.bitmap = Bitmap.new(WIDTH, HEIGHT)
@titleAnimation.x, @titleAnimation.y = X, Y
# After the Graphics.freeze
@titleAnimation.bitmap.dispose
@titleAnimation.dispose

Be sure to update your sprite in the update method:

@titleAnimation.update

And you can play your animation with:

@titleAnimation.animation($data_animations[ID], true)

How are you planning to use this?

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Sylphe

Wow great thank you !! I changed the Scene_Title to make it more custom and I make some pictures move in a long loop so the animation freeze before the loop end. I think I have to put @titleAnimation.update at the end of this loop :)

I want 2 pictures appear in an animation : the first must appear in an explosion (it is the 2nd word of the name of my game) and the second ... I'm not sure by now I will try with what I can xD

I tried to frankenscript a script made to make an animation appear anywhere on the map/screen but I was only getting the sound ._.
blindly follow his heart can lead to the loss

Sylphe, descendant of Zoldik Family.
Quote from: TedBearTRY KEEP UP