Skip to content

time_system::delta_time

Paweł Waligóra edited this page May 4, 2024 · 2 revisions

Description

Time elapsed since last frame in seconds.

Declared in time_system namespace in time_system.h file.

Meant to be read only. Modified only in main_file.cpp in main loop.

Usage

Just read this value.

Example

#include "time_system.h"

printf("%d\n", time_system::delta_time);

Home

Git Workflow

Issues

Coding Rules

Skrypty-Tutorial

Useful resources

Game Structure

Code Structure

Clone this wiki locally