MartinK12
Member
I'm making my tower defense project and now I want to speed up the game. But when I started to think about it, I realize that this might be more complicated
I want to speed up ie. 2x, 3x, 4x
Should I create some variable like game_speed and use it to calculate speed of each object, ie like
And what about room_speed and path speed?
And what about animations?
And what about values? Should all values be equally divided by the same number ie 32 so when I speed up the game values don't screw up statistics of different objects?
Or maybe I should use the speed of 2x, 4x, 8x?
I'm just looking for the best way to make sure that everything will use the same speed value and won't mess up anything. Maybe u know about some simple tutorial on this matter?
Thank You for all suggestions.
Martin - newbie
I want to speed up ie. 2x, 3x, 4x
Should I create some variable like game_speed and use it to calculate speed of each object, ie like
Code:
tower_reload_speed = 32 * game_speed;
And what about animations?
And what about values? Should all values be equally divided by the same number ie 32 so when I speed up the game values don't screw up statistics of different objects?
Or maybe I should use the speed of 2x, 4x, 8x?
I'm just looking for the best way to make sure that everything will use the same speed value and won't mess up anything. Maybe u know about some simple tutorial on this matter?
Thank You for all suggestions.
Martin - newbie