breznak / openDS-oss

Mirror of the OpenDS.de car driving simulator
17 stars 12 forks source link

Distractors implemented as separate threads #61

Open breznak opened 7 years ago

breznak commented 7 years ago

This will make them more independent of the sim control loop.

breznak commented 7 years ago

@JohnnyMarek how is the "disappearing" handled now? is it the Timer and magic constants 5, 15 which I didn't understand? In sim loop?

JohnnyMarek commented 7 years ago

yes, 5 sec till anything spawns, 15 secs it stays unles it is text or collect (collect is removed when collected or after 15 sec [failed attempt]. text stays till resolved