1. #1

    Creating extension to change the way health bars look.

    Hi,

    I am wanting to write an extension that changes the appearance of health bars, to make them more readable and cleared to discern without having to zoom in to far.

    I'm contemplating two options.

    1) Possibly the easier of the two. Making the health bars a little bit wider and to be of equal height as the token at start. Ideally with some sort of border around it so the total original height of it is easy to see. And push it a little to the side so it's not actually on top of the token.

    2) Make the health bar appear on top of the tokens (possibly taking up the whole grid width).
    So they'll appear and behave similarly to the following screenshot:
    Health bar.jpg


    Would this be something that is possible, and does anyone know where I should start?

    - Styrmir.
    Last edited by Styrmir; December 24th, 2018 at 06:45.
    Ultimate License holder, enables Demo Players to join my games for free.

  2. #2
    I have this figured out and working, horizontal health bars that are token width at full health. Will roll it out with update v1.2.0 of the 5e Combat Enchancer.
    https://www.fantasygrounds.com/forum...bat-extension)
    Attached Images Attached Images
    Last edited by Styrmir; December 26th, 2018 at 23:17.
    Ultimate License holder, enables Demo Players to join my games for free.

  3. #3
    [duplicate post feel free to delete]
    Ultimate License holder, enables Demo Players to join my games for free.

  4. #4
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    18,599
    Blog Entries
    1
    Just to be clear - there are only 2 pointers available - arrowhead and hand. You cannot create new ones.
    Good work on health bars!
    Have you considered perhaps keeping the bars full width and having a Black background where the lost health is/was?

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  5. #5
    Thanks!

    I think to add a background where the previous health bar was I'd need to add another bitmap widget that extends to where the original health bar diminished in size. So not an actual background but a bit of clever coding to make it appear as if there was one.
    Might be something I'd try out as part of a minor patch, but before I do I'm wanting to do a bit of gm'ing to see how I like it in its current form.

    As for overlaying of the health bars over tokens that are placed vertically next to others. That's something I've come to be used to from roll20 I suppose. I added a bit of opacity/transparency to the health bars to make it blend more when that happens.
    Ultimate License holder, enables Demo Players to join my games for free.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in