[Lazarus] How to program with time in milliseconds?

Junior lazarus.linux at gmail.com
Thu May 15 20:22:53 CEST 2014


You know the game Travian? The game will be similar to it, but with 
other themes.

Em 15-05-2014 15:09, Reimar Grabowski escreveu:
> On Thu, 15 May 2014 14:34:02 -0300
> Junior <lazarus.linux at gmail.com> wrote:
>
>> The conversation was good, but I wonder if the epiktimer component would
>> be the correct option. I need precision, I'll be working with many
>> timers in milliseconds.
> In general it does it's job good enough for realtime purposes but take a look at the castle game engine they have their own cross plattform time keeping solution. For simple stuff even now() is good enough.
> I am not sure why you need precision because games normally don't need that precise time keeping.
> I hope you know what you are doing because basing your game on timers doesn't sound like a reasonable design decision to me.
>
> R.
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list