This is Traffic Light tutorial for car simulation game. Tutorial has one road
intersection with about 30 lights.

tutorial

Tutorial is incomplete. It must load Traffic Light configuration from ini file.

You can read ini file within folder. It has descriptions and values for one road intersection.

For example : One road intersection has 4 modes for traffic lights. I coded these modes like LEFT, RIGHT TURN, GO DIRECT ... ,

If you car is from WEST direction you can check MODE array.
11100 - This mode means : FROM WEST dir CAR (#1) can go direct(#2) and turn right (#3). But it can not turn left (#4) and go back directions (#5).

Sorry for my bad English.


The Empire of the Mongols comprised the largest continuous land empire ever, reaching from Korea to Poland