Game Development Community

TGEA Docs - Input Model

by Tony Richards · in Torque Game Engine Advanced · 02/23/2009 (12:29 pm) · 2 replies

I was browsing through the TGEA documentation trying to figure out how the new event system worked and I ran across some relevant documentation, but it appears that the documentation is incorrect.

The documentation references GameInterface::processEvent() and references classes Game, GameInterface and [/b]DemoGame[/b] but these classes don't appear to exist anymore.

Am I going crazy or are the docs outdated?

About the author

I am the founder of IndieZen.org, a website dedicated to the Indie 2.0 Revolution where a number of Indie game development studios and individuals collaborate and share a suite of custom built open source game development tools and middleware.


#1
02/23/2009 (1:24 pm)
That doc definitely appears to be dated, but off the top of my head I do not know of a doc that goes into greater detail. I'd have to look during my spare time.

I learned a lot about the input system by tracing the source code, starting at GuiCanvas::processInputEvent(InputEventInfo &inputEvent) in GUICavas.cpp
#2
02/23/2009 (1:26 pm)
WindowInputGenerator.cpp is also a good place to trace.