SFML community forums

Bindings - other languages => DotNet => Topic started by: Gonzilla on May 07, 2012, 10:09:29 pm

Title: How to get FPS in SFML 2 RC
Post by: Gonzilla on May 07, 2012, 10:09:29 pm
I wonder how I get the frametime in SFML 2 RC. I looked at the C++ documentation and  there is a Clock class which is not in the .NET version!? Any other chance?
Title: Re: How to get FPS in SFML 2 RC
Post by: zsbzsb on May 08, 2012, 01:48:52 am
I wonder how I get the frametime in SFML 2 RC. I looked at the C++ documentation and  there is a Clock class which is not in the .NET version!? Any other chance?
Use System.Diagnostics.Stopwatch. Thats the entire reason the C++ clock class was not binded.
Title: Re: How to get FPS in SFML 2 RC
Post by: Gonzilla on May 08, 2012, 11:11:38 am
Argh! So simple 8) Thanks!