Ok, thanks with the help so far, but I got another one.
http://www.mediafire.com/?sharekey=fa03 ... f6e8ebb871
As soon as I put spikes in I've gotten a bunch of crashes whenever I hit them and occasionally when I die in other ways. Debug mode says the problem is in the script that makes the effect when a bullet hits something.
I made some turret enemies to kill, and first it made it so if you killed one all of them died. Now, no matter which one you shoot, the first one dies and then the second one. Any ideas?
Yeah, I found that earlier. Is there anything simpler? I really just want to figure out how to make it walk back and forth.
Develop games in your browser. Powerful, performant & highly capable.
I'm working on an action platformer game, and I can't figure out how to do the enemy AI. I've been playing around with it for a while and haven't manage to do much more than make the enemy face me and shoot a bullet every once and a while. Does anyone know where to find a tutorial or a source file that could help? (Or just explain it)
Heres my source file, not much done yet: