delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/20/21:41:09

Date: Mon, 20 Jan 1997 20:23:26 -0600 (CST)
From: Andrew Deren <aderen AT eecs DOT uic DOT edu>
To: djgpp <djgpp AT delorie DOT com>
Subject: Re: Main Game Loop
In-Reply-To: <32E3CE48.18B8@cam.org>
Message-ID: <Pine.SUN.3.95.970120202201.10551B-100000@bert.eecs.uic.edu>
MIME-Version: 1.0

Michael:
I just finished my first game using DJGPP, if you want I can send you the
source code and you can take a look at it. I used Allegro for it.

On Mon, 20 Jan 1997, Tudor wrote:

> Michael Matczynski wrote:
> > 
> > Does anyone know of a place on the internet that tells how to
> > structure the main game loop of computer game? Like what order the
> > steps should be in (ie. what order to get input, draw sprites on the
> > screen, do AI, etc...). Any help is appreciated.
> 
> Sorry I can't answer your question.
> But what bugs me now is how to make a microkernel(a la DOOM) to simplifi
> to the max the game loop.
> So if your unit is too stupid and doesn't give you a quick answer you
> won't freeze the game until it responds.With a microkernel,each unit is
> a thread (my ideea,migth be wrong :) and when it finishes "thinking" it
> gives you the result to update it's position.
> So in a game loop you wud do just the rendering based on the info the
> unit computes in the background.
> Am I rigth or am I wrong?
> Please tell me.
> -- 
> tudor 'at' cam 'dot' org
> yoda69 'at' hotmail 'dot' com
> http://www.cam.org/~tudor
> 
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS d-(--) s(-):(+) a? C+ UL>++++ P L>+++++ E- W++ N o K---(----) w---
> O---- M-- V-? PS+++ PE Y PGP t+ 5-- X+++>++++ R tv b+ DI D+ G e->++
> h>++ r- y>+++++ 
> ------END GEEK CODE BLOCK------
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019