Freelance Flash Games News

Make better flash games

Entries for the ‘Flash A.I’ Category

Basic A.I Tutorial: Enemy Attacks and Movement

In my past AI post, I taught you how to make an enemy attack the player when the player was in range. In this tutorial I will be expanding upon that post, teaching you how to make the enemy follow the player while the player is within range of the enemy, then attacking once it [...]

Comments (9)

Basic A.I: Attacks

What you will learn: how to make an enemy attack your character with a different attack, based on a percent, every 2 seconds. The attack will make your health go down.
Creating the MovieClips:
1. Make a character MovieClip.
2.Make a healthbar.
3. Make the enemy:

create three frames within the enemy with a movieclip inside each frame
put the stop; [...]

Comments (26)