tags: collection title: Time-step brief: This example shows how to speed up or slow down animations in a collection proxy by changing the time step of the collection proxy. author: Defold Foundation
The setup consists of a timestep.collection
and a game.collection
.
timestep.collection
: This is the bootstrap collection specified in game.project
. Contains:
game.collection
and controls the time-step of game.collection
using the set_time_step
message.game.collection : This collection contains a "game" with some animated game objects. Contains:
go.animate()
timestep.collection
.