[SOLVED] How do I make this movement

Get help using Construct 2

Post » Tue Jul 26, 2016 5:14 am

Hi @99Instances2Go
Thank you
Your example is so close achieving that result
I made little change and now its looking gud for me
>
in your capx car is rotating, i.e. if we move car to left then front portion moves left and back portion moves to right and then goes to left
means first it rotate and then move
i made little change >> I move car's origin to back -38 pixle
and now its looking like moving not rotating
.

Thanks for help
after a long time a get my answer
thanks once again
Image
B
72
S
41
G
48
Posts: 686
Reputation: 34,288

Post » Tue Jul 26, 2016 10:29 am

I do nat want "R" sprite to move right
I want to move left and right with one sprite only
>>>>>
I am trying to do
click 'L' sprite on this file move left and again click 'L' Sprite this time move right
I have used boolean here

if click "L" boolean is true move left
if click "L" boolean is false move right

any click toggle boolean true n false
but it never worked
pls help
Image
B
72
S
41
G
48
Posts: 686
Reputation: 34,288

Post » Tue Jul 26, 2016 9:30 pm

I have no idea how to do that. On click is a trigger. You can click faster than flipping the boolean & do something according that flipped boolean. Serious, no idea.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Jul 27, 2016 4:51 am

I have also try with variable
when variable is 1 and click on "L" move left
when variable is 2 and click on "L" move Right
on any click add 1 to variable
when variable is greater than 2 set value 1
it also not working
Image
B
72
S
41
G
48
Posts: 686
Reputation: 34,288

Previous

Return to How do I....?

Who is online

Users browsing this forum: t redeemed t and 6 guests