Re: Timer

new topic     » goto parent     » topic index » view thread      » older message » newer message

Chris Saik writes:
> My question is, what in your opinion is the best way
> to accomplish the timing procedure?  

You should take a look at sched.e 
in euphoria\demo\langwar. It manages several
independent "tasks" using cooperative multitasking.
A centralized scheduler maintains a list of tasks (procedures)
along with the next time that they should be activated.
Even when a phasor is quickly drawn across the screen,
there's an opening every .01 seconds for another task
to get in and do something. Occasionally you'll see
multiple phasors or torpedos drawn simultaneously,
along with a planet exploding, the "Euphoria" ship moving etc.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu