Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Print ( str( roundedFPS )+"/30" ) //Position On Top-Right Of Screen?

Author
Message
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 8th Dec 2017 13:53
Hi,

I do the following to display debug Frames Per Second:
Print ( str( roundedFPS )+"/30" )

How can I modify the above to print FPS on top-right of screen?
Thanks!
JeZxLee
16BitSoft
Video Game Design Studio
http://www.16BitSoft.com
Open-Source AppGameKit Project!
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 8th Dec 2017 14:01
You could set it up as a text item i.e. CreateText that you position, align and update each frame.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 11th Dec 2017 09:26
You need to use the text commands as Kevin suggests. Print will always print at the left, filling from top to bottom depending on how many print commands get executed per sync..
Click here for VR Legend of Zelda stuff

Login to post a reply

Server time is: 2024-04-24 01:09:09
Your offset time is: 2024-04-24 01:09:09