:^_^': ok, maybe this is a stupid question (I might even be posting in the wrong place :shy: ), but...
Is it possible to make text and images and stuff blink, like the actor blinks in battle when its his turn?
I want to add the effect to the character's name and stats, as well as the small box that shows the turn order (came with a script I'm using - Atoa's CTB, uses pics of the actors and enemies).
"blink" is a built in feature for all sprites on RGSS. Read the Sprite chapter in the help menu, it should point you in the right direction.
For RPG::Sprite instances only, though. The Sprite class does not possess that feature. Also, remember that you need to update that sprite every frame for it to keep blinking.
Instead of drawing the text directly on a window, you would need to put the text on a sprite above the window.
Quote from: Blizzard on August 05, 2010, 04:55:21 am
For RPG::Sprite instances only, though. The Sprite class does not possess that feature. Also, remember that you need to update that sprite every frame for it to keep blinking.
Instead of drawing the text directly on a window, you would need to put the text on a sprite above the window.
Oops. Thanks for the correction.
Quote from: Blizzard on August 05, 2010, 04:55:21 am
For RPG::Sprite instances only, though. The Sprite class does not possess that feature. Also, remember that you need to update that sprite every frame for it to keep blinking.
Instead of drawing the text directly on a window, you would need to put the text on a sprite above the window.
But don't you still use the Sprite class then? When comes the RPG::Sprite come in? Since you use Bitmap to draw it?
Sprite is the superclass of RPG::Sprite so RPG::Sprite has all the functionality that Sprite has. RPG::Sprite simply has some additional features and needs to be updated each frame.
Quote from: Blizzard on August 06, 2010, 05:51:03 am
Sprite is the superclass of RPG::Sprite so RPG::Sprite has all the functionality that Sprite has. RPG::Sprite simply has some additional features and needs to be updated each frame.
Lol, I forgot that :P.