I usually use the timer to set when stuff should happen. But I want to get used to make it dependent on framerate instead. I am thinking I could make some kind of counter that always adds a number or something and use that as my timer. But how should I do so I can know how much time will pass? Its very easy to calculate like "I want this to happen after 5 seconds". But how do I translate that to framerate instead? I usually have 60 as my fps setting.