Where does frame rate independent logic go?

36 views
Skip to first unread message

Dot Exe

unread,
Jan 30, 2018, 6:44:29 AM1/30/18
to StageXL
I've just started using StageXL and found myself facing this problem: where do I put my logic that needs to run every X milliseconds independently of how fast the app is being displayed. I could use the standard Timer class, but is that how it's done the in StageXL? I'm concerned that the standard timer might not be precise enough. 

Bernhard Pichler

unread,
Jan 30, 2018, 1:43:09 PM1/30/18
to Dot Exe, StageXL

Dot Exe <frfi...@gmail.com> schrieb am Di., 30. Jan. 2018 um 12:44 Uhr:
I've just started using StageXL and found myself facing this problem: where do I put my logic that needs to run every X milliseconds independently of how fast the app is being displayed. I could use the standard Timer class, but is that how it's done the in StageXL? I'm concerned that the standard timer might not be precise enough. 

--
You received this message because you are subscribed to the Google Groups "StageXL" group.
Visit this group at https://groups.google.com/group/stagexl.
To view this discussion on the web visit https://groups.google.com/d/msgid/stagexl/37e42807-8900-432f-90e0-365345ece086%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages