Welp... I've added player health already!
Not sure how it happened so quickly, but I've added player health, the default is 8 but this can be tweaked in a matter of 3 seconds (Literally, just have to change the initial variable number), basically I've decided that it'd be too much trouble, and require more events to have something picture based, so I've made it match with the kill counter, it basically looks like this now:
Life: 8 / 8
Kills: 10203921
(Not the most realistic kills but whatever)
I'm using an event, sub event and a global variable for this, although I could VERY easily change the global into an instance variable, not sure why I didn't to be honest, oh well... also just wondering, since I know global variables take up an even space, do sub events too? I'd assume so but just wondering...
I could cut it down and leave out the sub event, however, I've made it so if your health drops down to 1 / 8, the text changes to red, and I'm thinking of adding a red tint to the screen edges or something.
It'll be easier to manage like this too, since now I can drop power ups into the level that increase your health (I'll make them increase it over 8 too if you can collect enough without getting hit), and it can be done with a simple variable drop, and once you progress to next levels (Because even if I don't get it done in time, I WILL add levels even after the contest is over...) I can reset the variable back to its initial number (Which is 8).
Yay!
This will be shown in the next demo build too by the way (The random white bar in the top left corner has been removed to make space for this, it wasn't actually being used for anything at the time, just a sort of test to see where the HUD would go positioning wise and such... no idea why but meh whatever)
_________________