Game Development Community

TGEA 1.7.0 - NullVideo still creates Window

by Jeremiah Fulbright · in Torque Game Engine Advanced · 05/19/2008 (6:44 pm) · 3 replies

Is there a way to keep NullVideo from creating a Window? We use it in Dedicated Server setup, but basically creates the console window, then the "Game window" which is nothing, since its not rendering etc.

#1
05/19/2008 (10:11 pm)
It's not the NullDevice that's causing the window to be created, but rather a problem in the current scripts. In fact, the current setup is such that it's not the client code that initializes the canvas but rather the common package that does the init stuff in its initializeCommon() function (called from its onStart() function).
#3
05/20/2008 (6:37 pm)
Yeah, I had assumed it was Canvas related, but hadn't really traced it out :p

Nice Jeff, That looks pretty good, although they did fix some of the crashes at that part, it seems, since NullDevice works fine... but I'll look into the other changes