I updated the plugin, showing the hp below enemy sprite.
Hi Rokimoki. Is it possible to adjust your plugin to display the HP above the enemy sprite? I'd prefer to show the numbers there in a game I'm making, as I have bars below as you mentioned, so this looks a little cluttered with both at present. I assume that it could be changed by altering x/y numbers in the code part, but I don't want to go adjusting your plugin without permission. Perhaps a notetag to select if it's above or below in the enemy tab might be cool for other users? It's a very helpful plugin as it is, but this amendment would really help, I think.
Hey!
I noticed that if you change the number in the code part: hpTextSprite.anchor.y = 1;
To something higher, it moves the HP number upwards, which is what I was looking for! 8 or 9 is about right (I'm still playing around with it - maybe 8.5!). If it was possible to somehow apply notetags to specific enemies to control the height for each one, that'd make this way more flexible (enemies being different heights and everything), but it looks like this should suffice for the moment. I don't have the coding skills to work out how to do this myself though, it was just a suggestion. I suppose I could cheat it if required by just making more space above the enemy sprite image so that it fits, that'd probably be a workaround... Will give it a try, but it looks like it'll work at the top in general, which is great!
Of course I'll credit you in the game! Thanks for the cool and useful plugin!
#Edit: After a bit of a further test, it looks like changing that one number affects when the battle screen displays the HP reduction in the battle (before it is when the attack takes place, as it should be, but after it is when the next turn starts), which is kind of weird! I'll keep having a try and see what happens.
Hi, I'm glad you are figuring out how to adapt to your needs.
You may want to work with %, in order to relocate the text like CSS margin-bottom: 15%, you must work with original sprite size and hp text size to calculate the hpTextSprite.anchor.y dinamically.
The site that hosts this plugin is down, anywhere else I can get a hold of it?
Edit: Actually disregard that, I found the Github link, however the HP numbers are showing up reversed for some reason.
Another thing I'm thinking of, the order of plugin execution, who is loaded and executed first, try to execute mine first in plugins order or something. And post a screenshot of your problem.