forum

Custom healthbar generator -- Now with live preview!

posted
Total Posts
232
show more
Paraphen
A 2x(HD) option would be amazing 8-)
Topic Starter
agubelu
Changed direct link to dropbox so i dont have to update the link every time i publish a new version :D


Poseidon wrote:

Can you make it possible so you can input any color you want, maybe like an custom RGB option?

AriSphinX wrote:

This is absolutely gorgeous and amazing dude... But you can add some things?

1. More styles of scorebars (or add an option to make your own one...)
2. A RGB color picker.... (pretty sure that someone said that before.. :p )

Besides that it's a very useful tool :D
I thought of adding a color picker instead of fixed color themes but it turns out that programmatically recoloring an image is really tricky. However. I'll try to add it when I have more free time (I have finals this week).

About having more scorebar styles, I could add them but it's definitely a lot more work than just adding an extra color to the existing one :|
Adding an option to provide your own template is not viable because I need to know exactly where to place your avatar and print your text, and that would need a way more complex GUI which would be very similar to just working with <insert your favourite image editing tool>


spintu wrote:

Maybe an option to disable the profile picture for people who don't like that would be nice. Someone already suggested this, but different styles/themes would be a great addition too. It's awesome and looks very nice, though. Great work! :)
Hmm, that seems nice, will add it to the TO-DO



Palivion wrote:

There's an error for me. It's stuck at composing image. Here is the error message

An error occured, if you need to report it please provide the following information:
Username: Palivion
Using flag: true
Selected theme: Blue
Invoked URL: https://osu.ppy.sh/u/Palivion
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

xLolicore- wrote:

An error occured, if you need to report it please provide the following information:
Username: xLolicore-
Using flag: true
Selected theme: Green
Invoked URL: https://osu.ppy.sh/u/xLolicore-
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

What on earth happened?
Looks like you two had the exact same error, and I've not been able to reproduce it. Can you try it again with the current version? It adds more information to the error log which could be useful.

It may could be an outdated java version, that nullpointerexception is really weird
Yuuki68
I don't know, if that's a good idea, but how about an option with which you can change the country flag? If you come for example from Spain, ... live in America and want to have a Spanish flag?

(And good job, the program is great! :D)
Nameless
Great job! Although I did get errors with my first time using it, but then I updated it the next day (today) and now it works like a charm! This deserves to be pinned. Good luck with dealing with any other errors people get.

As for what I'd like to see, I'd like to see more varients of different colours, and maybe even different styles of healthbar, if you can do that.
[ Enigma ]

Yuuki68 wrote:

I don't know, if that's a good idea, but how about an option with which you can change the country flag? If you come for example from Spain, ... live in America and want to have a Spanish flag?

(And good job, the program is great! :D)
Yeah, please do that if possible. I really want my home country's flag D:
-PrinZKittY-
I Love it! Thanks :D
Topic Starter
agubelu

[ Ichiro ] wrote:

Yuuki68 wrote:

I don't know, if that's a good idea, but how about an option with which you can change the country flag? If you come for example from Spain, ... live in America and want to have a Spanish flag?

(And good job, the program is great! :D)
Yeah, please do that if possible. I really want my home country's flag D:
In the meanwhile you could always generate a bar and change your flag with GIMP/PS
Palivion

agubelu wrote:

Changed direct link to dropbox so i dont have to update the link every time i publish a new version :D


Poseidon wrote:

Can you make it possible so you can input any color you want, maybe like an custom RGB option?

AriSphinX wrote:

This is absolutely gorgeous and amazing dude... But you can add some things?

1. More styles of scorebars (or add an option to make your own one...)
2. A RGB color picker.... (pretty sure that someone said that before.. :p )

Besides that it's a very useful tool :D
I thought of adding a color picker instead of fixed color themes but it turns out that programmatically recoloring an image is really tricky. However. I'll try to add it when I have more free time (I have finals this week).

About having more scorebar styles, I could add them but it's definitely a lot more work than just adding an extra color to the existing one :|
Adding an option to provide your own template is not viable because I need to know exactly where to place your avatar and print your text, and that would need a way more complex GUI which would be very similar to just working with <insert your favourite image editing tool>


spintu wrote:

Maybe an option to disable the profile picture for people who don't like that would be nice. Someone already suggested this, but different styles/themes would be a great addition too. It's awesome and looks very nice, though. Great work! :)
Hmm, that seems nice, will add it to the TO-DO



Palivion wrote:

There's an error for me. It's stuck at composing image. Here is the error message

An error occured, if you need to report it please provide the following information:
Username: Palivion
Using flag: true
Selected theme: Blue
Invoked URL: https://osu.ppy.sh/u/Palivion
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

xLolicore- wrote:

An error occured, if you need to report it please provide the following information:
Username: xLolicore-
Using flag: true
Selected theme: Green
Invoked URL: https://osu.ppy.sh/u/xLolicore-
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:213)
at java.lang.Thread.run(Unknown Source)

What on earth happened?
Looks like you two had the exact same error, and I've not been able to reproduce it. Can you try it again with the current version? It adds more information to the error log which could be useful.

It may could be an outdated java version, that nullpointerexception is really weird
I think I found a solution. I changed the path to save the files (Which was originally saving to the System32 folder) and updated Java and it worked after.
Zone
I don't get any error messages, however it doesn't seem to work. Whenever I click on "Go!" nothing seems to happen.
Retrieving your osu! profile page...
This stays for a very long time. Multiple minutes without anything happening at all. Any idea why it could be the case?
I'm on windows 7.
Zeil
I had to try a couple times until it worked, dw.
Topic Starter
agubelu

Yukiine wrote:

I don't get any error messages, however it doesn't seem to work. Whenever I click on "Go!" nothing seems to happen.
Retrieving your osu! profile page...
This stays for a very long time. Multiple minutes without anything happening at all. Any idea why it could be the case?
I'm on windows 7.
Can you access your profile in your web browser?

Maybe your firewall is blocking it? A proxy?
polsn
It's stuck in "Composing image..."

http://prntscr.com/7emjom
Topic Starter
agubelu

m3rk4t wrote:

It's stuck in "Composing image..."

http://prntscr.com/7emjom
Is there any error log or did it just freeze there?
polsn

agubelu wrote:

m3rk4t wrote:

It's stuck in "Composing image..."

http://prntscr.com/7emjom
Is there any error log or did it just freeze there?
An error occured, if you need to report it please provide the following information:
Username: m3rk4t
Text to print:
Using flag: true
Selected theme: Orange
Selected font: [family=Tahoma,name=Tahoma,style=bolditalic,size=17]
Invoked URL: https://osu.ppy.sh/u/m3rk4t
Saving file to:
Java ver: 1.8.0_31
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:247)
at java.lang.Thread.run(Unknown Source)



:o
Mahogany
Would it be possible to add different ways of displaying avatars in the healthbar? Mine doesn't come out very well with the circular display. Maybe a square-shaped frame?

Also, this is awesome, thanks for this.
Topic Starter
agubelu

m3rk4t wrote:

agubelu wrote:

Is there any error log or did it just freeze there?
An error occured, if you need to report it please provide the following information:
Username: m3rk4t
Text to print:
Using flag: true
Selected theme: Orange
Selected font: [family=Tahoma,name=Tahoma,style=bolditalic,size=17]
Invoked URL: https://osu.ppy.sh/u/m3rk4t
Saving file to:
Java ver: 1.8.0_31
java.lang.NullPointerException
at javax.imageio.ImageIO.write(Unknown Source)
at gen.HealthBarGenerator.go(HealthBarGenerator.java:170)
at gui.MainPanel$Work.run(MainPanel.java:247)
at java.lang.Thread.run(Unknown Source)



:o
Are you trying to write the images in a sensible folder such as Program Files or something like that?

If you are, try saving them to your desktop/documents. If not, then something's blocking it from writing to your hard drive.
Zone

agubelu wrote:

Can you access your profile in your web browser?
Maybe your firewall is blocking it? A proxy?
Yes I can, just fine. No proxies used. Firewall doesn't seem to block it as well.
Java is updated to the newest version as well :(

edit: Fixed it. Had to run it inside Programs(x86)
Xemious

agubelu wrote:

I thought of adding a color picker instead of fixed color themes but it turns out that programmatically recoloring an image is really tricky. However. I'll try to add it when I have more free time (I have finals this week).

About having more scorebar styles, I could add them but it's definitely a lot more work than just adding an extra color to the existing one :|
Adding an option to provide your own template is not viable because I need to know exactly where to place your avatar and print your text, and that would need a way more complex GUI which would be very similar to just working with <insert your favourite image editing tool>
Well hopefully you can add the color picker (good luck with class c: ) But it's fine the actual scorebar. :D If i only can know a little bit more of programming i would help you.... :C
Diu
damn I like dis ! ♥
Kalvin
Noice, I've been wanting to make a custom healthbar for a while now, but couldn't figure it out/was too lazy.
One question, though. Is there any way to make my avatar look less pixelated or is that just something you have to deal with?
Topic Starter
agubelu

Mahoganytooth wrote:

Would it be possible to add different ways of displaying avatars in the healthbar? Mine doesn't come out very well with the circular display. Maybe a square-shaped frame?

Also, this is awesome, thanks for this.
Hmm, that gave me an idea, if it works I'll add a circle / square selector in the future.


Kmart64 wrote:

Noice, I've been wanting to make a custom healthbar for a while now, but couldn't figure it out/was too lazy.
One question, though. Is there any way to make my avatar look less pixelated or is that just something you have to deal with?
Does it look that bad? I can look for specific methods/libraries to resize images if Java's default isn't good enough.
Mahogany

agubelu wrote:

Hmm, that gave me an idea, if it works I'll add a circle / square selector in the future.
Thanks for considering, man. Since my avatar is oddly positioned it looks kinda awful as-is with your tool. If you could manage that I'd be very grateful.
autoteleology
I feel like I've seen every component of this custom HP bar somewhere else.
Paz
Nice :D, i love it
StickyPicky
cool cool
Shiranai-_old

;w;
how 2 fix it ? ;w;
Topic Starter
agubelu

Shiranai- wrote:


;w;
how 2 fix it ? ;w;
update java
xLolicore-
Downloaded latest version, works like a charm. Suggestion, would it be fine for you to add an option to change font colour? But otherwise, here's shameless advertising using the HP bar.
Radagahan
don't opened help!
Vincs
Really nice job, works perfectly for me.

xLolicore- wrote:

Suggestion, would it be fine for you to add an option to change font colour?
^this, I think it would be a really good thing.
Topic Starter
agubelu

Vincs wrote:

Really nice job, works perfectly for me.

xLolicore- wrote:

Suggestion, would it be fine for you to add an option to change font colour?
^this, I think it would be a really good thing.
That shouldn't be too hard, will add it asap
KantanDez
whenever i open it its this.. pls help :(
Topic Starter
agubelu

Term Akatski wrote:

whenever i open it its this.. pls help :(
[img*]http://puu.sh/ijyIA/e35ce7c5af.jpg[/img]
Right click > Run as > Java Platform SE Binary
Nameless
Another suggestion - Higher resolution.
Topic Starter
agubelu

Nameless wrote:

Another suggestion - Higher resolution.
That will probably come after the circle/square selector and the color selector.

I want to remake the whole drawing system to implement those two things, and when I get that done, adding a HD version should be easy.


BTW you can now select font color
ShouSaku
add more style maybe ? :)
IamBaum
That looks great :)
Trosk-
Nice :P
Topic Starter
agubelu
I think I've found a nice way to recolor images, so expect a fully color customisable version by next week or so (gotta finish my last exams)
Trompo
That tool is awesome. Love it so much, thank you♥
show more
Please sign in to reply.

New reply