Random Direction

Get help using Construct 2

Post » Mon Dec 09, 2013 11:26 pm

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.

Sorry guys and girls I did say I was very new at this....lol
any help will be gratefully excepted.
Many thanks
Jeff
B
6
S
2
Posts: 20
Reputation: 548

Post » Tue Dec 10, 2013 12:27 am

Look in the manual for "set angle" and the random function. You only need those two things to start him in a random direction.
B
11
S
2
Posts: 68
Reputation: 982

Post » Tue Dec 10, 2013 3:52 pm

Hi and thanks KiratTheKop
But I still need him to face the way he is going lol

Thanks for your help.
B
6
S
2
Posts: 20
Reputation: 548


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 49 guests