How to create objects which is counted by time? e.g 1 health pack spawns every 15 seconds.
I have considered using array, but it means that i have only have a limited amounts of health packs even when there is a prolonged gameplay.
Currently i am only able to draw the first healthpack when the game runs.
On a side note, how do you delete the object?