Hey. I'm new to Construct 2, and I've run into a problem. I'm making a 2D sidescroller-platform game, and I'm trying to create the AI. However, the AI just runs in place, and I'm trying to get him to walk right and left, while staying between the two invisible blocks. Here is a screen shot of my event sheet:
<img src="http://raynefreitag.com/con2/con2.png" border="0" />
goblin: The box sprite I'm trying to move
goblin_animation: The animation for the box sprite
edge: The two invisible blocks I created to stop the sprite from going off the cliff
Thanks in advance!
Develop games in your browser. Powerful, performant & highly capable.
Is the goblin animation pinned to the goblin object (or any other method of making them move together)?
Can you supply a .capx, as I think I know the issue, but need to see what you have done with the sprites themselves in relation to the behaviours
There's the .capx file, thanks!
Nevermind, I fixed it. Thanks anyways!
I put everything into one event sheet, and made sure to pin the animation to the box sprite!