TGC Codebase Backup



front page of game by 3d point in space

7th Sep 2009 20:24
Summary

Front logo of my game



Description



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    dbMakeObjectBox(3,200,100,1);
	dbLoadImage("sky.bmp",3);
	dbPositionObject(3,0,50,10);
	dbTextureObject(3,3);
	dbPositionCamera(0,0,-1);
	dbLoadObject("terrain.x",2);
	
	//dbLoadImage("hubcap1.bmp",3);
	
	dbPositionObject(2,0,0,-30);
	dbScaleObject(2,400,400,400);


	int Width=0,Height=0;
	dbLoadImage ( "hubcap1.bmp", 1 );
	dbSprite ( 1, Width, Height, 1 );
	Width=dbScreenWidth()/2-dbSpriteWidth(1)/2;
	Height=dbScreenHeight()/2-dbSpriteHeight(1)/2 ;
	
	
	dbSprite ( 1, Width, Height, 1 );
	dbSetImageColorKey ( 0, 0, 0 );