ok for starters as3 is just anoying. i wouldnt use it but if u want to u can i do like the character but but you should probaly make better ai looks like a motion tween atm ill give u some ai at the bottom the attack is retarted the sword is just moving from 1 side to the other u need to make it look like its in his hand and attack also give you and the enemy health and use a hittest on the ai here are some links for the health ai hittest http://www.awestyproductions.com/tutorials/flash-tutorials/basic-artificial-intelligence/ http://www.awestyproductions.com/tutorials/flash-tutorials/making-a-health-system/ http://www.awestyproductions.com/tutorials/flash-tutorials/making-walls-with-hittests/ for the ai put a blank movie clip where the eyes are and enable the script when the eyes come into contact with the char and with ai just copy the whole thing and make an x one and a y one so it can go diagonal
This is the first version of my dinosaur game it does have more lvls but i have not published the one with lots of lvls yet because i want to see what u guys think of this one so enjoy :)