Arcade game help?

Get help using Construct 2

Post » Sat Sep 01, 2012 1:23 am

How do I make like this type of game? Enemy AI and player movement and positioning of the backgrounds? Thanks in advance.
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Sat Sep 01, 2012 2:02 am

The movements can be done using 8 Direction behavior.
The actions like punch and kick using the keyboard and animation.
You just need to verify collision to subtract the energy of each one.

B
85
S
31
G
22
Posts: 384
Reputation: 18,587

Post » Sat Sep 01, 2012 2:10 am

Ok. Thanks! what about the AI?
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Sat Sep 01, 2012 2:21 am

AI in its simplest form, and generally what we think of when we say AI in regards to games, is a state machine. In short "in this situation" "do this". So take the example you used. He moves towards the player, then attacks. So you have one event (or several, depending) that checks if the enemy is close enough to attack. If he isn't you move him closer. When he's close enough, you have events that makes him attack. That's about as basic as it gets, but even the smartest game AI follow similar foundations.inkBot2012-09-01 02:23:39
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Sat Sep 01, 2012 3:13 am

i remember there is an example but in 2d style with platform but i couldn't find it ^^
B
45
S
15
G
6
Posts: 795
Reputation: 11,935


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, jul, nicklowkcmagic and 18 guests