Racing Game

Discussion and feedback on Construct 2

Post » Tue May 23, 2017 5:16 am

Hi guys I would love to know to add a drift to my car in my racing game where skid marks show etc. And I would also love to know how to get the AI cars to crash sometimes so the player has a chance of winning.
I am using the capx from this tutorial named racer.05 is anyone could add AI crashing and drifting it would be a really big help :D [Edit] Sorry for posting in the wrong section of the forums :P

https://www.scirra.com/tutorials/1051/b ... cing-games
Image
B
24
S
13
G
11
Posts: 279
Reputation: 8,689

Post » Fri May 26, 2017 2:59 pm

One way to do this is to use the physics behavior, instead of 8-direction. Instead of turning toward a direction, apply a torque toward a direction. Instead of moving in a direction, apply a force or impulse in that direction.

With physics you will get a lot of different controls to make the game more realistic. Just make sure to set world gravity to zero.
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
48
S
14
G
20
Posts: 375
Reputation: 14,588

Post » Fri May 26, 2017 3:53 pm

@cjbruce thankyou
Image
B
24
S
13
G
11
Posts: 279
Reputation: 8,689

Post » Fri May 26, 2017 3:58 pm

@cjbruce do you have a capx for this
Image
B
24
S
13
G
11
Posts: 279
Reputation: 8,689


Return to Construct 2 General

Who is online

Users browsing this forum: rbailey83 and 30 guests