|
|
User login
Feeds |
How to get time
|
|||||
| Fri, 2005-08-19 13:16 | |
|
Hi
i am developing a time based game. I wanna know how do i get time from system?? What i want to do is get the time when i start the game and store it. Again I will keep calculating the Time in every timer cycle and will subtract the stored value from it to get time elapsed. But how can i implement this in symbian. I am a biginner in symbian, i have the concepts but i dont know how do i implement it in symbian. I m sure some one somowhere must have developed a time based game. So plsss help ![]() |
|
Forum posts: 214
time.HomeTime();
"I only know that I know nothing." (Socrates)
Forum posts: 55
Now tell me one thing!!! I wanna display this as digits. I know the way but tell me the font name that will make it look like a digit on a digital clock.
Anyone any idea??? which font to use to display time in digital format just as in a digital clock
M sure its there in Symbian. It must be. plss tell me the name of font through which i can do this...
Forum posts: 5
i'd love to think that i'm such an efficient programmer that i've somehow found a way to have a frame rendered in only a few cpu commands, but i doubt i have
is there a way to get more accurate time?
how is desiredFPS / realFPS determined on symbian games?
Forum posts: 1271
If you want more accurate fps count, you'd have to measure time over more frames to to distribute the error...
On later symbian, you have a High resolution timer too, that will give you better resolution. And on the 9.1 hw I have worked with, I actually got ms resolution from TTime::HomeTime()
But on older symbians... Sorry, but you have to live with it.