Yami's Symphony shows flashes because it is coded into the script itself.
I'm sure it can be done with Moghunter's Battle Hud too, or with any other battle scripts.
If I remember right, Yanfly's Battle Engine will give you that option by default. But I guess it won't recognize the correct places of the portraits if you moved them from their original placement.
Still, it never hurts to try, right?
The help file for the Bitmap class says that many of its methods are time-consuming and shouldn't be called every frame. If I'm in a position where I need to do exactly such a thing, would it make more sense to just do that or to draw hundreds of bitmaps in advance and cache them all?
What you want is messing with the width and the height, giving the last argument with true is only changing the gradient color to vertical.
Make it the width more little than the height. try 10 wiidth and 200 height. You got the vertical gauge bar.
Yes, but what I'm saying is it is not even filling it from top to bottom, it still goes left to right regardless (I tested, took damage and had a half full bar going left to right, even with true on).
I may need to move this over to another topic, as it could be a script is overwriting the call. Could that be the case?
Can you give me the screenshot? I haven't tested it though.
Hmm, let's discuss it in new topic then?
Ok, I'm going to try it in a clean project first just to see, and if that doesn't fix it then will start a new topic. Thanks!
Check the definition where you edit the script.
Copy the definition and make a full search for it in the scripts (SHIFT+CTRL+F).
If it finds something, check it. If it is an overwrite method and it is below your script on the list, then it is overwriting the call. If it is above your script, it won't overwrite anything.
If the search will not return any matches, than there is no way that your call is overwritten.
Aliases are not issues either.
def draw_gauge(x, y, width, rate, color1, color2) fill_w = (width * rate).to_i # <= This is what I mean gauge_y = y + line_height - 8 contents.fill_rect(x, gauge_y, width, 6, gauge_back_color) contents.gradient_fill_rect(x, gauge_y, fill_w, 6, color1, color2) # <= look at the fill_w endIf you implement the default draw_gauge then obviously it will always do horizontal changing, uhh.. I'm bad at explaining, the fill_w is the problem, everytime the hp/mp/tp rate is changed then the fill_w is changed, you need to change it to stay constant, while the height become the one who dynamic, maybe fill_h
Again I haven't test this yet, so I don't know if this work or not, sorry if not 😛 .
basically that's it. Instead of modifying the width depending on the rate, you'd modify the height instead
Are Tsukhime's Inventory plus (stack size, weighting) script, and the Actor inventory scripts incompatible? At first i got crashes and errors then moved Inventory plus above the actor inventory scripts and it worked but when i acquire an item with the inventory plus note tags and use it on any actor it crashes again... I've looked all over the forums for my problem but can't find anything. The Inventory plus script is 2 years older then the actor inventory ones... Maybe I can't use them together?
No they are not. That inventory script has low compatibility in general. Consider using Instance Items, and then request for weight and stack sizes for the actor inventory.
If you need more help with this, please post a NEW thread in the RGSSx Script Support forum, with links to the scripts you're using. This thread isn't for support of custom scripts, especially when you're talking about making several of them compatible.
How do I get an actor's class? Like if I wanted to use it in an if statement?
do a conditional branch script call with this
$game_actors[id].class.id == xxchange the "id" to the id of the actor you want to check and xx to the ID of the class you're checking for
I get this error without the extra ends."SyntaxError occurred unexpected $end, expecting keyword_end"
Edit: I also get a "SystemStackError stack level too deep" with the extra ends...
edit, wrong place =P
but try this method
module ClassBase def self.hp? case $game_actors[1].class.id when 1 then 100 when 2 then 100 when 3 then 40 when 4 then 50 when 5 then 60 end endendif you're still getting the message about end methods, it somewhere else in the script