tire marks, smoke and counter?HELP!

Get help using Construct 2

Post » Thu Sep 01, 2016 10:11 pm

Hello guys, I need help! I am creating a game Drift and wanted to add brands of tires to skid, smoke the skid (not only when accelerating) and counter, the counter would work basically when the car is in a certain position ie, skidding, he start to add points on a variable, thereby counting your points drift, it will be possible to do that? :? :cry:
B
3
Posts: 1
Reputation: 177

Post » Fri Sep 02, 2016 9:45 am

Hey kfglkfgl, first, create the Skidmark images.

Next, create an ImagePoint on your car sprite where you want the Skidmarks to appear.

Now you can easily create your skidmarks by using something like:

If Player is accelerating >>> spawn Skidmark at Imagepoint(1)* at layer [player layer -1]**

On Skidmark is created >>> Set Skidmark.Angle to Player.Angle ***



*or whatever the number of the image point.
** this is so the skidmark isn't spawned above the player. I suggest create a whole layer specifically to store your skidmarks

***By default your skidmarks are spawned at 0 degrees. If would be weird to have your car going up and spawn a skidmark going right.

Hope this helps! ;)
Image Image Image
B
29
S
11
G
27
Posts: 729
Reputation: 16,995


Return to How do I....?

Who is online

Users browsing this forum: Madave96, RobertMKD and 7 guests