Make games that sell.
Documentation

quick start:

Create a window with
#include "ptk.h"

KWindow *myindow = NULL ;
myWindow = KPTK::createKWindow( K_OPENGL  ) ;
myWindow->createGameWindow( 640,480,16,true,"my game" ) ;


Load a picture with:
KGraphic *myPicture ;
myPicture = KPTK::createKGraphic( ) ;
myPicture->loadPicture( KMiscTools::makeFilePath( "test.tga" ), true, true ) ;
myPicture->blitAlphaRect( 0,0,320,240,0,0 ) ;





click here to download the reference in HTML format.



© 2003-2005, Phelios, inc. - All rights reserved.
Trademarks mentioned are the property of their respective owners.