Page 2 of 2

Re: How to make and customize boss hp bar?

Posted: Thu Dec 20, 2018 10:58 am
by LooKiCH
MECHDRAGON777 wrote:
Wed Oct 17, 2018 2:31 am
I would be able to help make it, but I need to know the following info:
  • Graphics in .png format.
  • Location in either X,Y of the setup, or the general area.
  • Event to start the fight.
...but if I do it, I would need to suggest make the boss in question start with an event to trigger the showing of it.
Filename of HP bar - HealthBar.png
Image
Filename of HP bar icon - HealthBarIcon.png
Image
5 HP from slashes and hops, 25 HP from fireballs and lasers
HP bar's position: X - 680, Y - 23
HP bar icon's position: X - 680, Y - 30
NPC ID: 280
HP bar event - meet with the boss
Section 4

Re: How to make and customize boss hp bar?

Posted: Fri Dec 21, 2018 5:44 pm
by MECHDRAGON777
Super Mario Craft Min wrote:
Thu Dec 20, 2018 10:58 am
MECHDRAGON777 wrote:
Wed Oct 17, 2018 2:31 am
I would be able to help make it, but I need to know the following info:
  • Graphics in .png format.
  • Location in either X,Y of the setup, or the general area.
  • Event to start the fight.
...but if I do it, I would need to suggest make the boss in question start with an event to trigger the showing of it.
Filename of HP bar - HealthBar.png
Image
Filename of HP bar icon - HealthBarIcon.png
Image
5 HP from slashes and hops, 25 HP from fireballs and lasers
HP bar's position: X - 680, Y - 23
HP bar icon's position: X - 680, Y - 30
NPC ID: 280
HP bar event - meet with the boss
Section 4
Okay, and what boss NPC is this replacing? I do not know any boss that can be killed in exactly five stomps. (They all require 3 stomps if they do work to my knowledge, although this can be changed with lua.)

Re: How to make and customize boss hp bar?

Posted: Thu Jan 17, 2019 12:23 pm
by LooKiCH
MECHDRAGON777 wrote:
Fri Dec 21, 2018 5:44 pm
Super Mario Craft Min wrote:
Thu Dec 20, 2018 10:58 am
MECHDRAGON777 wrote:
Wed Oct 17, 2018 2:31 am
I would be able to help make it, but I need to know the following info:
  • Graphics in .png format.
  • Location in either X,Y of the setup, or the general area.
  • Event to start the fight.
...but if I do it, I would need to suggest make the boss in question start with an event to trigger the showing of it.
Filename of HP bar - HealthBar.png
Image
Filename of HP bar icon - HealthBarIcon.png
Image
5 HP from slashes and hops, 25 HP from fireballs and lasers
HP bar's position: X - 680, Y - 23
HP bar icon's position: X - 680, Y - 30
NPC ID: 280
HP bar event - meet with the boss
Section 4
Okay, and what boss NPC is this replacing? I do not know any boss that can be killed in exactly five stomps. (They all require 3 stomps if they do work to my knowledge, although this can be changed with lua.)

I edited quantity of hp in npc-280.txt

Re: How to make and customize boss hp bar?

Posted: Thu Jan 17, 2019 12:42 pm
by ElectriKong
Super Mario Craft Min wrote:
Thu Jan 17, 2019 12:23 pm
MECHDRAGON777 wrote:
Fri Dec 21, 2018 5:44 pm
Super Mario Craft Min wrote:
Thu Dec 20, 2018 10:58 am

Filename of HP bar - HealthBar.png
Image
Filename of HP bar icon - HealthBarIcon.png
Image
5 HP from slashes and hops, 25 HP from fireballs and lasers
HP bar's position: X - 680, Y - 23
HP bar icon's position: X - 680, Y - 30
NPC ID: 280
HP bar event - meet with the boss
Section 4
Okay, and what boss NPC is this replacing? I do not know any boss that can be killed in exactly five stomps. (They all require 3 stomps if they do work to my knowledge, although this can be changed with lua.)

I edited quantity of hp in npc-280.txt
There isn't any option for health in an NPC txt file in SMBX at this time.

Re: How to make and customize boss hp bar?

Posted: Fri Jan 18, 2019 9:29 pm
by MECHDRAGON777
Electriking wrote:
Thu Jan 17, 2019 12:42 pm
Super Mario Craft Min wrote:
Thu Jan 17, 2019 12:23 pm
MECHDRAGON777 wrote:
Fri Dec 21, 2018 5:44 pm


Okay, and what boss NPC is this replacing? I do not know any boss that can be killed in exactly five stomps. (They all require 3 stomps if they do work to my knowledge, although this can be changed with lua.)

I edited quantity of hp in npc-280.txt
There isn't any option for health in an NPC txt file in SMBX at this time.
I can make NPC-280 have five hits (to lazy to try to think how many fireballs that is) in the lua code for the health bar.

Re: How to make and customize boss hp bar?

Posted: Wed Jan 23, 2019 5:17 pm
by MECHDRAGON777
Sorry for the double post, but here is an update:

Considering that ImageImage is the two pictures you gave me, do you want me to just send the code or a zip file? The issue at hand is I am assuming you want the bars to vanish with each hit. (that or a fifth per hit). Either Way, I will need to split that image into a single bar to draw per health point, or split the bar into five segments for the other option. I assume a .zip would just make it easier. I can not really do anything without further getting feedback from the person who has the request.