Browse Search Popular Register Upload Rules User list Login:
Search:
Race complex... PLEASE HELP!!

Image:
screenshot of the scene

Author: Joker

Group: Default

Filesize: 109.32 kB

Date added: 2010-04-18

Rating: 5

Downloads: 272

Views: 444

Comments: 5

Ratings: 1

Times favored: 0

Made with: Phun

Tags:

Scene tag

Hi, my problem is that after the first lap of the weasel track the time isn't reset for the times 5 laps. :s :s

the problem is probably in the scripting of the invisible chequered line gate.

Im really enjoying developing this complex so please help me overcome this problem!

:cry: :cry: _o_ _o_ :cry: :cry:
Please log in to rate this scene
edit
Similar scenes
Title: Complex marble race map #2
Rating: 5
Filesize: 277.82 kB
Downloads: 633
Comments: 0
Ratings: 1
Date added: 2016/02/06 05:25:14
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Complex marble race map #3
Rating: 5
Filesize: 280.95 kB
Downloads: 1147
Comments: 0
Ratings: 1
Date added: 2016/02/06 05:27:51
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: complex marble race map #4
Rating: 5
Filesize: 219.35 kB
Downloads: 879
Comments: 0
Ratings: 1
Date added: 2016/02/06 05:30:18
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: The Complex Marble Race
Rating: 5
Filesize: 0.58 MB
Downloads: 1137
Comments: 5
Ratings: 1
Date added: 2014/05/17 15:36:08
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Etch a Sketch(Real and Complex)
Rating: 5.4444
Filesize: 113.42 kB
Downloads: 464
Comments: 2
Ratings: 3
Date added: 2016/04/24 12:52:49
Made with: Algodoo v2.1.0
Rating: rated 5.4
download
Title: Garage Door|somewhat COMPLEX?
Rating: 1.6667
Filesize: 25.61 kB
Downloads: 294
Comments: 0
Ratings: 3
Date added: 2008/10/29 00:31:20
Made with: Phun
Rating: rated 1.7
download
lol you cannot reset sim.time variable besause it is a SYSTEM variable
so just make other var in console
-------------
scene.my.Jtime := 0.1 (point is needed for real data type)
-------------

Enjoy!
Thanks for your help:tup: nice and clear but I think I made a mistake. The variable dosen't count time, it only takes the 0.1 value... :s

sorry I'm new to coding and don't really understand this system.

I'm also thinking that if the car makes contact with the start gate every time then the Jtime variable will be constantly reset....

Any suggestions?
scene.my.Jtime := 0.1 -- this you need to insert to console (F11)
also you need ane more var (let it be scene.m.JLtime := 0.1 (Real data type too)

that's the code for your @timer@
in finish box it "oncollide" :
-----------
scene.my.JLtime = sim.time; scene.my.Jtime = {sim.time - scene.my.JLtime} (Braces required)
-----------
in "Time-Show" box we write : text:={""+scene.my.Jtime} (braces required)
ok, that all worked good but the jtime variable resets every contact with the car, so every lap it resets... have I done something wrong?
Everything works correctly, but I do not understand a bit what you need.