此函数返回您的游戏在所选平台上运行的时间,以微秒为单位(每秒有 100 万微秒)。
get_timer();
Real
time = get_timer();
这会将计时器值存储在变量“time”中。