Random Direction

0 favourites
  • 3 posts
From the Asset Store
Rotate & Animation for 16 Direction & Mouse Direction
  • Hi all,

    Sorry I am very new to game making and construct 2

    I am trying to make a simple catching game were you need to click on a character that is moving around the screen. I have got him moving just! but I need to get the animation to rotate to the same direction as hi is travelling I.E. facing the correct way. I have used the 8 direction behaviour and he bounces of the walls but I'm having trouble getting him to face the way he is going and to get him to start of moving in a random direction in the first place.

    I also would like him to change direction every time he gets clicked on. <img src="smileys/smiley19.gif" border="0" align="middle" />

    Sorry guys and girls I did say I was very new at this....lol

    any help will be gratefully excepted.

    Many thanks

    Jeff <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Look in the manual for "set angle" and the random function. You only need those two things to start him in a random direction.

  • Hi and thanks KiratTheKop

    But I still need him to face the way he is going lol

    Thanks for your help.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)