Time Limit and Attack Patterns

Get help using Construct 2

Post » Mon Oct 22, 2012 7:41 pm

Okay I have 2 questions about 2 walls I have run into while making a side scrolling platform game in Construct 2.

The First question is how would I add a time limit to complete the game. Also how would I make a custom clock appear visible to the player so the player knows how much time they have.

The Second question is how to make custom attack patterns for enemies. This especially became a problem when I wanted to design a boss battle. I just want to make enemies like Mega Man games where they have a set pattern or can attack at random.

I know I'm asking a lot but, I really need a lot a help for my project as I was stuck with both the programming and the designing when a member of my team stopped attending class. Thanks in advance!
Posts: 63
Reputation: 3,937

Post » Mon Oct 22, 2012 8:31 pm

There's several ways to create a boss attack pattern.

One is to brute force it and simply create a series of events to take place one after another. EG: move 100 units forwards, play attack animation, move 10 unites back, heal, etc.

The other is to break each attack/movement/powerup into seperate event groups, then use a main event to trigger enable each group as needed.

eg: you have a group that has events that move your boss forwards then attack.

call this group "basic attack" and disable it.

Then in your main event, once the player gets to the boss area, enable the "basic attack" group. This also allows you to randomize the smaller sets of attack patterns as well (eg: if he's less than 20% health).
Posts: 848
Reputation: 10,472

Return to How do I....?

Who is online

Users browsing this forum: yenleidong and 26 guests