forum

Custom healthbar generator -- Now with live preview!

posted
Total Posts
232
show more
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♥
Zeil

agubelu wrote:

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)
Hey, don't you mind if I create a github repo and work a bit on the tool? I might be able to implement some stuff, given enough time.
Also that opens the possibility for people to come and see the code/help write a bit.

EDIT: I went ahead and just did it. Managed to get recoloring support for the healthbar working. Here's the commit.
agubelu, I hope this doesn't bother you lol
hmu if you want to get contrib access to the repo, or if you'd like some help with setting up git :D
trebby
Very nice :D
Topic Starter
agubelu

Zeil wrote:

agubelu wrote:

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)
Hey, don't you mind if I create a github repo and work a bit on the tool? I might be able to implement some stuff, given enough time.
Also that opens the possibility for people to come and see the code/help write a bit.

EDIT: I went ahead and just did it. Managed to get recoloring support for the healthbar working. Here's the commit.
agubelu, I hope this doesn't bother you lol
hmu if you want to get contrib access to the repo, or if you'd like some help with setting up git :D
thank you but im not really interested in uploading it to github right now, I'll maybe do it when it gets more polished
Topic Starter
agubelu


looking good so far :^)
KanoSet

agubelu wrote:



looking good so far :^)
looks neat :")
good luck :)
BuBBLe1q
Thank you! GJ ;)
Topic Starter
agubelu
v1.0 is finally out featuring HD images, squared avatars and custom colors!

(hopefully it works nice and doesnt blow up)
Nameless
Yes! HD images!
Great job, man.
Elicchi_old
the new version works very well. great job man!
[-Lethal-]
This is pretty nice, thanks for making this.

Hopefully you can add more styles in the future :)
iiko
Halp.

pls
Topic Starter
agubelu

_-Sakuya-_ wrote:

Halp.

pls
update java
-Cyan
Thank you very much :)
-sev
I see you have improved this since the last time I used it. Nice.
EmanuelAlcon
I think you should add other health bar types. I mean this project ,I guess you can call, is pretty awesome, but other health bar choices would make it even better. Anyways, thanks for the project and keep it up! ^-^
show more
Please sign in to reply.

New reply