Encounter Bar

Hey guys!,

I think it would be awesome if somebody was able to create a standalone plugin that mimicked the effect of Ar Tonelico's encounter bar - essentially it would fill up the closer you got to facing an encounter. Somebody else posted about this maybe a year ago, but the method they used to achieve their result doesn't seem to work with the plugins they were using (now deprecated)

Any feedback on how to get this would be appreciated!,
Hey,
This seemed interesting and easy enough, so I'll give it a go and write a plugin that does this.

Since it's a general purpose plugin, I'll probably post it publicly on the JavaScript Plugin Releases Forum rather than on this post. So keep your eye out on that forum for when it's up 🙂

I'll edit this post with a link once it's up.
Hey,
This seemed interesting and easy enough, so I'll give it a go and write a plugin that does this.

Since it's a general purpose plugin, I'll probably post it publicly on the JavaScript Plugin Releases Forum rather than on this post. So keep your eye out on that forum for when it's up 🙂

I'll edit this post with a link once it's up.
Thanks friend! If possible, can you write it so that we can use custom images with it? :3
Hey!
The plugin's done 😀! Grab it here.

I added the possibility to change the position and size of the bar, and the ability to add a custom image.
Let me know if there's any other features that would make it better, or if there's any bugs in it 🙂
Hey!
The plugin's done 😀! Grab it here.

I added the possibility to change the position and size of the bar, and the ability to add a custom image.
Let me know if there's any other features that would make it better, or if there's any bugs in it 🙂
Hey Naveed!,

I got a chance to try it out and this is so great! My only suggestions would be to enable control of the gauge width/height (especially for custom pictures). Another really cool thing to think about for future updates would be to enable the ability to call a common event at encounter - so that people can call sound effects, animations, etc. 😍
Changing the window width and height with the parameters should automatically change the gauge width and height too (the gauge is drawn to fill the entire window). So if you're using a custom image, the window will be transparent and not seen, so just change the window size to effectively change the size of the gauge.
Although I agree more direct control is probably better. I'll probably look into it.
I figured it out with your help! I just used the windowskin as a base to test it out. :3

EncounterBar.png

Original thread: https://forums.rpgmakerweb.com/threads/encounter-bar.79765/