Hello! I am working on a platformer but I need help with enemies. They don't need to have realistic physics, but I want them to be able to move, attack, and jump while trying to ram into the player sprite. Well actually they don't need to attack I can figure that out. Thanks in advance
PS: I'll give lots of credit because the enemies are a main part of the game.
Offline
AIs are difficult- the easy part would be the physics. A user named Archmage posted this a while back. It isn't hugely advanced and the AI is mainly just a clone of the human player, but it fits your description pretty well.
http://scratch.mit.edu/projects/archmage/76272
If you want an example where it is put into action you can look here:
http://scratch.mit.edu/projects/archmage/71543
Archamge also has several other AI related projects. Check them out!
Offline
Hey thanks but thats not what i'm lookin for
I want it to start in a different position than the player because i'm just asking for a basic, easy enemy
PS for other people, i need it to understand gravity and walls
Offline
I think it fits your description pretty well. All you have to do is adapt it. And although you said you didn't think physics were neccesary, since there already there why not use them?
Since the AI "follows" the 1st player, isn't that kind of like ramming into it?
Offline
my AI might work check it out. It is called death
Offline
Test out mine.Badguy attack.
Offline