Small tutorial on how to make a Boss Health Bar for Indie Game Maker
Health Data Buffer
This is the buffer memory for temporarily storing the health data of gadgets so that they can be used by other memories, etc.
This memory is shared by all gadgets except for the player character.
Usually, the health of non-player gadgets is defined only by its default values based on common internal parameters under the Emergence Settings Tab. After it appears, a gadget's health data cannot be directly referenced. Using this memory, the health data can be copied to other memories.
The gadget's health data is stored in this memory only while the gadget's action program is active. The data is temporarily kept until the action program ends. Over that time, the health data can be copied to other memories.
This memory is overwritten as soon as another gadget's action program is activated. The other gadget's health data will not be retained, and this memory will be consistently overwritten with the health data of the gadget that has its action program running.
Health Data Copy Destination
This memory is reserved for non-player gadgets that have their health frequently displayed, such as bosses.
If the switch "Copy the Gadget's Health" is turned on, the value stored in the Health Data Buffer is copied to this memory.
Hint: The same effect can be obtained by copying the health data from the Health Data Buffer to another memory, then displaying the destination memory's data. However it is much easier to use the Copy the Gadget's Health switch and the Health Data Copy Destination memory to display the gadget's health.
Copy Gadget's Health
When turned on, this switch checks the value of the Health Data Buffer memory and copies it to the Health Data Copy Destination memory.
Until the switch is turned back off, the gadget that was initially referenced for the Health Data Buffer memory will be constantly checked. Every time there is a change to the Health Data Buffer memory, its data will be copied to the Health Data Copy Destination memory.
This comment has received too many negative votes show
omfg fucking noobs , I sit here writting code for hours on end but then some fucking 10 year old little noobs make shitty ass games with no knowledge of the C# programming language or any thing else relating to programming. Fuck all of you and i have disliked this video
gruntlover2 5 months ago
@gruntlover2 I've been programming in C++ for nearly five years. Dont come spouting your elitist bullshit here.
KyleKatarn145 5 months ago 6
@KyleKatarn145 I said "all of you" referring to the nubs commenting on this. Read more carefully and also I said 10 year old little fucking noobs. Do you sound like a 10 year old? No. I was "spouting my elistist bullshit here" because I am actually writing a game in C# for xbox to make a little money. It seems really unfair when you spend hours on end working on a game then some little kid makes one with a program like this or gamemaker in 10 minutes then brags about it
gruntlover2 5 months ago
@gruntlover2 It's also programs like this that get people interested in making games in the first place. It certainly got me to download CodeBlocks and SDL all those years ago. There's no real reason to feel threatened by these sorts of programs because nobody pays for them anyway, and would land in hot water if they tried to sell it. So chill out.
KyleKatarn145 5 months ago 2
i wanna make game like minecraft or terraria:p
MrMika317 7 months ago
@MrMika317 Heh, if that's the case you may need something a little more advanced than Indie Game Maker, something along the lines of code and an actual compiler.
Don't get me wrong, you probably could do it, but I dont think you'd be able to get truly randomized stuff. But by all means, go for it. Post the results on Youtube, it sounds like an awesome experiment.
KyleKatarn145 7 months ago