Skip to main content
gamedev.net
🔒 Locked

Applying Math/Time #2

Started by DJ_House 0 replies 450+ views
Original Post
DJ_House
DJ_House
How do I apply time in my game? I''ve read there are 2 methods: 1) virtual seconds (ie. 1 second per frame) 2) real time modeling (used mostly for 3D). Since I''m doing 2D right now, how do I set my game at a locked speed of 30FPS? Obviously this must be done using ''virtual seconds'' method so your physics will appear "normal". Also, when calculating something, such as acceleration, how do I get delta t (difference in time)? This is where I''m currently roadblocked. Thanks again guys...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.