Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Problem with gradient bars

I'm using Tricksters gradient bars script and I'm having an overlap problem.

When I open my menu and choose the Status/Equip window...
http://amsterdam1.plunder.com/46297/OverlapSS1.JPG[/IMG]

if I move my cursor to the second character, the first character's gradient bars overlap...
http://amsterdam1.plunder.com/46298/OverlapSS2.JPG[/IMG]

and then it carries over into my other menu screens.
http://amsterdam1.plunder.com/46299/OverlapSS3.JPG[/IMG]

Does anyone know how to fix this??
(FYI - I have 0 scripting knowledge)
 
yeah, i actually kinda feel bad about it. i mean i read a bunch of scripting tutorials and get the basic concept now, but im still completely lost as far as what the problem is.

there are actually a bunch of them, and i took them right out of the demo file. im running at a blasting 56k and have trouble uploading big files, so i would probably suggest to just download the "Gradient Bars V1.3" demo to check them out. thanks for replying and awesome CMS by the way!
 
(bump)

Feel free to just tell me to give up on this, at least then i wont have to check here 20 times a day.

PS. wow, that sounds like im being a **** i dont mean it in a crappy way, just looking for some closure.
 
Raz, the bar graphics can be found in the original topic for my Plug and Play Gradient Bars if not then they can be found in the Download Manager for the demo for that script

I'll leave you to do this, since you are rewriting your Crono Trigger CMS you are aren't you sure you are, now now, you don't want to make bigferd sad don't you :(
 
Rofl, I don't think I'm going to rewrite it. I know it can be done better and I probably could do it better, but you know I'm too lazy. Just downloading the graphics and I'll upload the rewritten the script when I'm done.
 
You didn't get my hint :(

Ok well now I'm telling you to rewrite it or else (I love doing this :p )


Here I'll make this easy for you

The bar graphics are below in this attachment

About that script

It uses Sprites, not a Bitmap block transferred to the Window, It may take a bit since you remove your bars and just display mine also note if windows disappear, move, the bars may or may not (I forgot if I did this) disappear or move with the window depends. They should automatically appear if you call draw_actor_(hp|sp|exp) if you didn't overwrite those methods.

And Don't actually merge your script with mine for this but create a patch with the merged version

Happy Scripting ^_^
 
Actually the menu doesn't use any bars and I didn't overwrite the draw_actor_(hp|sp|exp) methods so it should work.
Actually it does and it works flawless. I really don't know why bigferd is having a problem.
Anyway, even if it is hard for him, it would be the best to upload a demo to take a look at the problem, since right now I can't do anything. :(
 
Raziel;141048 said:
Actually the menu doesn't use any bars and I didn't overwrite the draw_actor_(hp|sp|exp) methods so it should work.
Actually it does and it works flawless. I really don't know why bigferd is having a problem.
Anyway, even if it is hard for him, it would be the best to upload a demo to take a look at the problem, since right now I can't do anything. :(


This could probably be the case of him using a gradient bar script and another script that draws them as well (don't you think people would use common sense for stuff like this)

but we really don't know since he didn't supply a demo or screenshots of his problem (we should add that to the rules or something :p)

Also bigferd the current version of MACL is as of now 1.5 you should probably update that it will be 1.6 as of February 1 (hopefully)
 
Here you go, here's a fix for the bars and the overlapping window (which I forgot to dispose by accident :P).

Code:
class Scene_Menu
  alias raz_menu_fix_main main
  alias raz_menu_fix_update update
  def main
    raz_menu_fix_main
    @target_background.dispose
  end
  def update
    raz_menu_fix_update
    for i in 0..3
      if @switch_window[i].z >= 100
        @switch_window[i].z = 90
      end
    end
  end
end

Just paste it in a new script window above main and below the CMS.
 
The "tent use" overlapping window is fixed, which rocks. but im still having the overlapping HP/SP bars problem. its hard to explain when it happens. but try this:

[1] Make sure you have at least two people in the party before starting.
[2] Open the menu and select the equip weapons and armor window (first one)
[3] Move the cursor to the next character down and look at the first character's HP/SP bars, then toggle through the other menus.

you'll see that the bars overlap and stay until you exit the whole menu.

(sorry if you already knew this, just trying to be thorough.)

Thanks again though for fixing the other problem!!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top