Performance : Timer, Self.time,game.time
irong
Member Posts: 41
Hello guys,
Regarding performance, what do you think is "eating" the most ressource ?
Timer :
Self.time
or
Game time?
for exemple if i want a score to go up every 2 seconds if it's better to :
1 timer rule : every 2 sec score+1
or
store the last score time then Rule : IF Game.time = OLD.score.time +2 Then Score+1
what do you think guys?
thanks
Regarding performance, what do you think is "eating" the most ressource ?
Timer :
Self.time
or
Game time?
for exemple if i want a score to go up every 2 seconds if it's better to :
1 timer rule : every 2 sec score+1
or
store the last score time then Rule : IF Game.time = OLD.score.time +2 Then Score+1
what do you think guys?
thanks
Comments
Well i'll tell you if i find a way