key , movement and animation helpp !!! pleaseee

Discussion and feedback on Construct 2

Post » Wed Jul 29, 2015 6:26 pm

hey there need help.. umm , i have a character with WAD movements and with each movements it moves and animates, like for D for right and right run animation. thats fine.
but the problem is i want this character to stop its animation and movements at some specific place. Example: there is a npc with question mark. when i touch or click it i made event that when i click or touch that question mark then the time scale of my character changes to 0 thats fine too it doesnt move. but when i press D or A it doesnt move but it still animate 2-3 frames. like it is stuck in some wall. all i want is to stop the animation when i press W or D. thanks ..
B
5
S
1
Posts: 49
Reputation: 455

Post » Thu Jul 30, 2015 5:14 am

D key is down - > set animation to walk
D key is released -> set animation to idle
B
88
S
44
G
16
Posts: 1,009
Reputation: 17,971


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests