Game Development Community

Game Loop

by Howard Dortch · in Torque Game Engine · 05/14/2004 (6:14 am) · 1 replies

Could someone explain how the game loop works as far as scripts are concerned? I found the section in the C code that loops the game but wondered if each section accessed the script for that section. Point of this is I want to change things over time so do the scripts allow for this. Like day to night transitions.

#1
05/14/2004 (6:16 am)
The scripts run more like an event based system than your traditional game loop. If you want to change things over time, then you would use schedules to fire off events at whatever times you need, then respond to those events.

As for day night transition theres already resources to do just that :)