Posted By
|
Message
|
AGorgoo
Registered 24/05/2003
Points 5
|
27th October, 2003 at 20:23:46 -
I'm trying to make something that is sort of strange, but I want to add it to my game. Basically, in boss fights, instead of each character having their own life meter, a half red, half green lifebar appears on the screen. When you hurt the boss, the green covers a little of the red, and when it hurts you, the red covers a little bit of the red. If the greens covers the red completely, the boss dies, but if the red covers the green completely, the main character dies. Really bad visual example: XXXOOO (X is green, O is red.) You get attacked. XXOOOO You attack back: XXXOOO. Finally, you kill the boss, so: XXXXXX. It'd be basically like that. Does anyone know how to do that in TGF?
n/a
|
Pkeod Oontz Oontz Oontz
Registered 19/11/2002
Points 93
|
27th October, 2003 at 21:30:29 -
Why not just make an active object with many directions?
- > = XXXOOO
< - = 000XXX
Then change the alt value of the object when you get hit,
start of level: active.a_value = 3 (middle number plus one) (starts with 0)
then when you attack the boss +1 to the value and when you get hit -1 from the value
say XXXXXX = you die, you would have an event
if active.a_value = 0 then you die
for the enimie to die
if active.a_value = 6 boss dies
you get the idea?
Maybe others can clarify if I am too criptic...
Faerie Solitaire - Get it now:
http://www.create-games.com/download.asp?id=7792
|
Isaac
Registered 30/05/2002
Points 382
|
27th October, 2003 at 21:32:34 -
You could use a counter for the health, and out of a total of 0-10, it starts out as a 5. If you get hit, turn it to 4, since the bad guy has an advantage. If your winning, 6,7,8,9, or 10 as needed. Get the picture?
As for the Green/Red counters, just play around with some active objects that arrange themselves according to the health status.
Mayhaps.
|
Isaac
Registered 30/05/2002
Points 382
|
27th October, 2003 at 21:42:03 -
Beat me to it, eh PKoed? I'll have to type faster next time.
(:
Mayhaps.
|
Keatonian
Registered 15/07/2002
Points 571
|
27th October, 2003 at 23:13:41 -
Create a red counter on a green backround. 10 is boss won, 0 is char one. Should work. Bit of a visual trick
-Above post is ancient and probably irrelevant-
An old account of mine, recently cleared out. It's a blast to the past, the age was marked as 14 when I found it. If you know where to look, you can track me. Au revoir.
|
AGorgoo
Registered 24/05/2003
Points 5
|
28th October, 2003 at 06:54:01 -
I figured it out. I used a green counter on a red background. I understood all the others, this just sounded simpler. Thanks, though.
n/a
|
|
|