Hi everyone.
I'm doing the Platform tutorial and i was able to do everything until "Moving the enemy" part on this page: scirra.com/tutorials/253/how-to-make-a-platform-game/page-7
I'm doing everything like the tutorial says but my enemy keep being stuck and walking on the same place, they don't move either right or left.
Do you have any idea what i'm doing wrong?
I can post a build if that helps.
Thanks :)
Did you insert the platform behavior to the enemy object? Did you make the events to make the enemy walk (simulate control)?
This part exactly explains it all: https://www.scirra.com/tutorials/253/how-to-make-a-platform-game/page-7#h2a17
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the reply.
Yeah I checked and I inserted the platform behavior as well as the simulate controls, but the enemy is still stuck :P
If it helps here's a build dl.dropboxusercontent.com/u/40634910/New%20project2/index.html
It looks like your enemies are lower than your player, it's possible that their feet (or shadows?) are stuck "inside" the solid.
Try placing them higher (let'em drop on the platform)and see if it works better.
YES! That was it! Thank you sved :) That did the trick!