1. how to create a working game loop?

Hello all,

I am not the king of programmers, let alone of game programmers so i have one
stupid question. How does one code a basic game loop where the player can move
while other stuff is happening at a delay.

I can setup the delay and moving but when it comes to advancing the "scenery" i
have no idea how to do this accurately. ( drawing at a constant speed,
redrawing )

This is just going to be a stupid racing game from top to bottom and i want to
create a track that moves top down at a delay while the player can still move
at the same time without affecting how fast the track moves. ( that was my
problem before )

I know im just babling but this is the only way i know how fully explain what
my problem is.

Im doing this with ASCII graphics in linux and EU_ENGIN.E 
(i like ascii graphics! i know its sad)

Thanks for any help

-- 
evil, corruption and bad taste
^[cense]

( trying a game for once, never done 'em )

new topic     » topic index » view message » categorize

2. Re: how to create a working game loop?

> Hello all,

> I am not the king of programmers, let alone of game programmers so i have one
> stupid question. How does one code a basic game loop where the player can move
> while other stuff is happening at a delay.

> I can setup the delay and moving but when it comes to advancing the "scenery"
> i
> have no idea how to do this accurately. ( drawing at a constant speed,
> redrawing )

> This is just going to be a stupid racing game from top to bottom and i want to
> create a track that moves top down at a delay while the player can still move
> at the same time without affecting how fast the track moves. ( that was my
> problem before )

> I know im just babling but this is the only way i know how fully explain what
> my problem is.

> Im doing this with ASCII graphics in linux and EU_ENGIN.E
> (i like ascii graphics! i know its sad)

> Thanks for any help

Have a look at language wars (included with eu), it has an event manager which
is quite
interesting

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » goto parent     » topic index » view message » categorize

3. Re: how to create a working game loop?

On Sun, 14 Jan 2001, Thomas Parslow (PatRat) wrote:
>> Have a look at language wars (included with eu), it has an event manager
>> which is quite
>> interesting

Good Idea! i should have thought of that myself. Thanks.
 
>> Thomas Parslow (PatRat) ICQ #:26359483
>> Rat Software
>> http://www.rat-software.com/
>> Please leave quoted text in place when replying
-- 
evil, corruption and bad taste
^[cense]

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu