click force

Get help using Construct 2

Post » Tue Jul 02, 2013 11:58 am

Click mouse car has to move and again when click to mouse it has to stop.here is my link

   "https://www.dropbox.com/s/p7agja8wtjg93b6/click%20car.capx"

can anyone help me please.
B
5
S
2
Posts: 91
Reputation: 738

Post » Tue Jul 02, 2013 12:25 pm

Seeing as you asked so politely :)

https://dl.dropboxusercontent.com/u/50465867/Construct/CarDrive.capx

I have also changed the wheels to circle physics, so it is smoother, and given the car a 'clicked' boolean. Please see the file, and let me know if you have trouble.AnD4D2013-07-02 12:26:07
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
80
S
12
G
7
Posts: 965
Reputation: 10,750

Post » Tue Jul 02, 2013 12:36 pm

you should add global variable like isStop = 1
Mouse: click to car ->
   isStop is 1 -> car stop
                  isStop change to 0
   isStop is 0 -> car move
                  isStop change to 1
B
16
S
2
Posts: 39
Reputation: 717

Post » Tue Jul 02, 2013 12:55 pm

Hi,
   I'm sorry by saying like this, because it's not working in my system because it's a old version.if you don't mind can you send the screen short of that particular page.thanks
B
5
S
2
Posts: 91
Reputation: 738

Post » Tue Jul 02, 2013 3:36 pm

@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
80
S
12
G
7
Posts: 965
Reputation: 10,750

Post » Wed Jul 03, 2013 6:31 am

I'm sorry , i'm sure i won't repeat it again.

Again i have one doubt in that project.When we click the car , the car getting the motion oka and when i tried with adding one more object in the layout, the car going to hit the other object and it is in stop position, the motion also not working, i need when the car hit the other object , the motion also should work continuosly ,here is my link, can any please help me.
"https://www.dropbox.com/s/p7agja8wtjg93b6/click%20car.capx"


The car motion has to work like as this game
"http://www.devily.com/car-ferry"

Please any one help menarasimha2013-07-03 12:35:59
B
5
S
2
Posts: 91
Reputation: 738

Post » Thu Jul 04, 2013 7:49 am

Thanks it's working now,



But it having some minor problem, when i click the car it is moving fine , and i kept one straight object it's standing up and it's flipping back side.here i'm adding my capx file can any one help me please.


"https://www.dropbox.com/s/pvv46eor1saez2e/cardrive.capx"narasimha2013-07-04 10:09:26
B
5
S
2
Posts: 91
Reputation: 738


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 38 guests