The Dink Network

Quick question

October 11th 2007, 07:17 AM
knights.gif
Is it possible to animate status bars?
October 11th 2007, 08:54 AM
duckdie.gif
Define "animate".

If you want to, say, make parts of the status bar area flash a few times or something like that, sure, it's possible. If you wish to have a status bar that keeps switching frames, it's going to be a bit more difficult.
October 11th 2007, 06:46 PM
knights.gif
Like making the 'Life' 'Attack' etc. text glow.
October 11th 2007, 08:12 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
There aren't any scripts that control the things on the status bar, it's done internally. You can't directly modify whats on there through DinkC code. The status bar graphic will always be static and you can't change it.

What you can do though is create an animated sprite over whats already there. You'd have to use sp_noclip(&sprite, 1); to make it show over the status bar, and you'd have to set up a continuous loop [remember to script_attach(1000);] that checks to see if you've changed screens in order to draw it again on the next screen. That's pretty much all you can do.
October 11th 2007, 10:55 PM
knights.gif
Ok, Thanks
October 12th 2007, 05:01 AM
duckdie.gif
Ah, I thought you wanted to do something with the lifebar, that's why I wasn't being optimistic.

Anyway, glad to see your problem has been solved.