Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
When testing a game fullscreen, it would be incredibly useful to be able to retrieve the framerate as an expression to put in a small text object in the corner. I hear you can do this with events, but it would be easier as an expression.
Couldn't you just tick "FPS in caption" in preferences, or just use timedelta?
Edit I see, you want for full screen, so timedelta it is.
Round(1/TimeDelta).
Develop games in your browser. Powerful, performant & highly capable.
Or just count ticks every second.
+ Always
Add 1 to global('FPS')
+ Every 1000 ms
Set Text to global('FPS') global('FPS') = 0
Set Text to global('FPS')
global('FPS') = 0
That'll be the most accurate representation of FPS, because it counts actual frames.