hineios / FlyBoy

A boy dreams of being a superhero. One day, when he gets bitten by a fly, his dream comes true. However, nothing turned out the way he imagined!
0 stars 0 forks source link

Boss - Testing #6

Closed captainvera closed 6 years ago

captainvera commented 6 years ago

Boss - First Iteration

We need to implement a simple boss to test out game systems like combat and movement. The boss must have a health pool and some kind of rudimentar attacks.

Ideas

I was thinking about a boss with a fixed position with some platforms above/on his sides to allow navigation. The boss would simply randomly cycle through a pool of different attacks. The attacks could include

When he dies, just respawns after 30 seconds.

Thoughts? @hineios @jcvicente  @MiguelRenda

captainvera commented 6 years ago

All the attacks should belong to the same base class. This way, boss logic can be as simple as:

Attacks = [Bullet, Punch, Rain]

While hp > 0 :
     Attacks[RandomNumber(1,3)].activate()
hineios commented 6 years ago

I don't know if we should use Random. I do like the fact that bosses enter different stages has they loose life (its a little bit off topic i know 😄 )

captainvera commented 6 years ago

closed with d96dd74d94b84f881572dcbb9ad0122614790980 Presentation is done, moving on to next Boss for first stage prototype.