Little Fighter Empire - Forums
Boss with many lives - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Advanced Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=13)
+---- Thread: Boss with many lives (/showthread.php?tid=1284)



Boss with many lives - Silverthorn - 10-09-2008

Kinda hard to explain what exactly it does....

To give a little overview:
One object is created as a boss, the other one as a soldier. The "soldier" is the actual boss in stage mode, the boss is the thingy that keeps the other one alive. In the example, I set the amount of bosses to 3, means, you'll have to fight 3 Bandits. Yes, I used Bandit as a boss, so that I can beat him, too :D

Anyways, create a backup of Bandit.dat and stage.dat, since they are to be replaced by the new code. Well, there isn't a big change but yea.... keep your data sacred :P

Select stage 1-1, and you'll encounter a Bandit. On the right side it tells you how often you have to fight against him. I didn't really care about any good graphics, I did it so that you can still understand the code (the fixing of the image would've meant more weird code).

Basically, the always-coming-back Bandit makes the counter go to the next few frames via itr/k: 8. As soon as the last number is reached, it'll kill the <boss>, so there won't be any more Bandits spawned.

So yea, I don't really understand myself anymore, so.... here you go ;)
Try to understand it yourself :P

data ==> data\
image ==> sprite\sys

If anyone finds bugs, please post them here!

yea, a somehow worthy 1000th post =D