[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Event based system



Mads Bondo Dydensborg wrote:
> 
> On Tue, 29 Oct 2002, Miguel A. Osorio wrote:
> 
> >
> >       I'd like to know more about how to build a event driven game engine, so
> > if anyone could spare a resource, it would help a lot - I haven't had
> > much success finding good ones on my own.
> 
> Could you elaborate a bit on this?


	I mean the basics of an event system desgin, it's uses (maybe the
*entire* engine does not have to work usign events, just AI, or
whatever) and other more basic stuff. I'm just starting to pick this up,
so I'm certainly no expert :)


> >       One other thing... I was wondering if it is possible to build a game
> > engine which is event driven and make this scheme work transparently
> > with networking, like, the programming interface for sending a message
> > to a local object is the same as for sending messages across the
> > network.
> 
> There are some good articles in "Game Programming Gems" that might suit
> you, how to treat time as an event and so on - also some stuff on network
> programming.


	Yes, I have a copy of the first volume, and it describes the principles
of such a system in the context of an AI engine. But is that all there
is to it? I mean, can (and should) we use events for other parts of the
engine?



Miguel A. Osorio.