Hey guys I have been trying to give my "bad guys" some behaviour.
I want them to be able to jump back and forth from point A to point B. Just keep jumping between these 2 points in one jump. So jumps to B then jumps back to A then back to B and so on.
Its like the classic bad guy in mario the thwomp seen here fantendo.wikia.com/wiki/Thwomp
I was trying to use the sprite on floor simulate jump then adding a vector to it but it doesnt seem to work the way im doing it. It doesnt move as he is in the air he moves when he on the ground then jumps lol. It seems like the expression is probably more complex than that. Im not that good with expressions lol
If someone can give me a hand with this that would be great.