Stuck in side view car

Get help using Construct 2

Post » Fri Nov 22, 2013 11:39 am

Hey all
I am really stuck in a game
I was making a game with car in it and there was a problem!!
I dont want the wheel to increase there as time increases
the wheel begin to revolve in increasing manner
and i want it to move with a jerk and gain its top speed and stop in 1s
after the brakes are applied
SO PLEASE HELP


Game capx
https://www.dropbox.com/s/ht4g4gyondvuxjy/1.capx
B
3
S
1
Posts: 30
Reputation: 810

Post » Fri Nov 22, 2013 1:38 pm

Just off the top of my head, why not add a trigger once sub-event for both accelerate and brake and apply a positive/negative impulse to the wheel.

You will need to experiment with a value but start small - 20 or so - and see if it's the effect your after.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Fri Nov 22, 2013 2:28 pm

The increasing effect comes from you having used "up arrow is down" and "down arrow is down" I think the number then gets added every tick.

Try using on key press and set one high value which gets applied once :)lennaert2013-11-22 14:29:59
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,562

Post » Fri Nov 22, 2013 3:07 pm

WHAT !!!! you havent replied ??? preposterous :P

lol, kiddn


I took the liberty to freak a bit with the physics, I like freaking with physics :D

Came up with this

web demo


capx
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,562

Post » Mon Nov 25, 2013 2:27 pm

Thanx Guys but now the car do not rotate on an uneven surface
B
3
S
1
Posts: 30
Reputation: 810

Post » Mon Nov 25, 2013 8:17 pm

Can you show an example ?
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,562

Post » Tue Nov 26, 2013 1:43 pm

oh I got the answer i set dendity to 0 and its working nicely
B
3
S
1
Posts: 30
Reputation: 810


Return to How do I....?

Who is online

Users browsing this forum: TsubaRu and 4 guests