03-07-2007, 04:39 PM
I was wondering if there was a tut with a good explanation of using GetTickCount. If so could someone point me in the direction,
Thanks.
Thanks.
GetTickCount
|
03-07-2007, 04:39 PM
I was wondering if there was a tut with a good explanation of using GetTickCount. If so could someone point me in the direction,
Thanks.
03-07-2007, 04:43 PM
Code: dim currenttick, nexttick, elapsed as long 'variables we are using Quote:Robin:
03-07-2007, 04:44 PM
so that would work for replacing timers?
03-07-2007, 04:46 PM
Oh yeah! Completely!
I mean, it doesn't matter what the timers are doing! This one piece of code will manage to replace all the timers in the game! Wooooooooh! Quote:Robin:
03-07-2007, 04:48 PM
so key this
Code: dim currenttick, nexttick, elapsed as long 'variables we are using Code: nexttick = gettickcount 'same as above
03-07-2007, 05:38 PM
I gave you just a small example of how to use gettickcount.
My example showed a quick calculation to see how long it takes for a piece of code to finish. Quote:Robin:
03-07-2007, 10:49 PM
What?
Quote:Robin:
03-07-2007, 11:03 PM
Verrigan Wrote:What part didn't you understand? The fact that nobody said anything about that in this post? xD
04-07-2007, 01:44 AM
Verrigan Wrote:I was just trying to figure out why it was in Advanced Questions rather than Beginner Questions, where it should have been.. So I made a guess, and tried to make a light joke out of it, and I guess nobody got it. Don't cry now. Lol. It's okay. Everything will be fine.
04-07-2007, 02:05 PM
I thought it was a joke, but my technical wittiness, whilst quite powerful, is nothing compared to yours.
Quote:Robin:
04-07-2007, 02:14 PM
Robin Wrote:I thought it was a joke, but my technical wittiness, whilst quite powerful, is nothing compared to yours. Haha, you're an ass dude.
04-07-2007, 02:22 PM
Verrigan Wrote:I was just trying to figure out why it was in Advanced Questions rather than Beginner Questions, where it should have been.. So I made a guess, and tried to make a light joke out of it, and I guess nobody got it. actually i drew assumptions and understood it... i just didnt want to post incase i looked like an idiot ;D
04-07-2007, 04:21 PM
rofl, I didnt get it at all :lol:
I searched high and low, but couldnt find it. I even used the search ![]()
05-07-2007, 03:55 PM
Ok I got everything working now, accept I can't get the equipped items to blit at all. any suggestions?
05-07-2007, 07:58 PM
DarkX Wrote:Ok I got everything working now, accept I can't get the equipped items to blit at all. any suggestions? scream and roll on the floor? ^_^ honestly.. what do you mean cant get them to blt? blt where? maybe your blt'd them into the recycle bin? I dont understand.. i thought this was about gettickcount o.0
05-07-2007, 08:00 PM
Except.
Blt. Check your spelling next time. As to what you're on about, maybe you should read the topic title before posting ^_^ Quote:Robin:
06-07-2007, 12:04 AM
Didn't he start the topic? O_o (Too lazy to check. xD)
And Blt is only the term used in the programming. It would be spelled Blit. ^_^
06-07-2007, 02:49 AM
We only assume it's pronounced blit.
Quote:Robin:
06-07-2007, 03:08 AM
Same difference. I feel like an idiot when I say blt though. Makes me want a sammich. O_o
06-07-2007, 07:51 PM
Perfekt Wrote:Didn't he start the topic? O_o (Too lazy to check. xD) Yes I did start the topic, and it is about TickCount which I thank Robin for the code. By the way the Blit thing, I was rewriting GSD's Visual Inventory code to use GetTickCount, and I think somewhere along the lines I messed up the blit code for the equipped. But thanks for the assistance from all ya.
06-07-2007, 08:40 PM
It already uses gettickcount...
Quote:Robin:
08-07-2007, 09:02 PM
Code: double click the timer in frmMirage (the one u made) add the following:
08-07-2007, 09:11 PM
Hmph. I guess I converted it to GetTickCount myself...
Quote:Robin:
08-07-2007, 09:29 PM
Robin Wrote:Hmph. I guess I converted it to GetTickCount myself... xD Don't you feel like a heel now? Haha.
08-07-2007, 09:37 PM
Not really.
I guessed the tutorial used gettickcount. Anyway, I've given him the basic knowledge of gettickcount, he can now go use it on that code himself ^_^ Quote:Robin: |
« Next Oldest | Next Newest »
|