The Game Kit

The Game Kit is built for speed and direct access to underlying hardware, the sort of thing game developers crave. It consists of two classes, BWindowScreen and BDirectWindow, and one global function, set_mouse_position(). The two classes give you direct access to the graphics card frame buffer; the difference between them is that BWindowScreen always takes over the entire screen (and bypasses the App Server), while BDirectWindow can draw in a window. Although BDirectWindow can do everything a BWindowScreen can, BWindowScreen is often easier to use.

Although designed with games in mind, nothing in the Game Kit is restricted to game applications, except that the user will have to deposit another 50 cents every three minutes.




The Be Book, in lovely HTML, for BeOS Release 4.

Copyright © 1998 Be, Inc. All rights reserved.

Last modified May 8, 1998.