How do Make 2 idles for touch input one left and one rigth?

Just started using Construct 2? Post your questions here

Post » Thu Aug 07, 2014 3:26 pm

So i have 2 idles the sprite animations has 2 frames each , cannot mirror them becuase is holding a sword in the rigth hand .

So im thinking im using touch using arrows so my logic tells me will be perfect if when i untouch te left arrow (wich makes te character runs backwards) , will do idle 2 and i have the opositte for runing foward when i untouch the rigth arrow will do idle 1.
So i made this but inst working some one cal help me?

I did this but is not working
You do not have the required permissions to view the files attached to this post.
Last edited by InfiniteRender on Thu Aug 07, 2014 3:29 pm, edited 1 time in total.
B
4
Posts: 21
Reputation: 226

Post » Thu Aug 07, 2014 3:28 pm

This si my full setup
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 21
Reputation: 226

Post » Thu Aug 07, 2014 8:25 pm

You're using Touch 0 and Touch 1. These are index numbers of the first and second SIMULTANEOUS touches.

Just set it to any touch end and add another condition that says is Touching Sprite6 or Sprite7.
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
21
S
6
G
3
Posts: 664
Reputation: 3,855

Post » Thu Aug 07, 2014 9:48 pm

I really like the solution becuase thats the idea i got but i dont know how you represent it graphically , so i put both touches on touch end 0 but adding anohter condition that says is touching i dont knwo becuase i will need ot add a action.

Can you explain me ?

Thank you
B
4
Posts: 21
Reputation: 226

Post » Thu Aug 07, 2014 10:18 pm

MAN THANKS YOU ARE A GENIOUS! it was only to add the not touching as subevent on what i had but yeah ! was the idea i got in first mynd only i needed that littel step you gave me ! awesome!
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 21
Reputation: 226


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest