3D Game Builder SDK

SDK Functions

gameShowMessages( void )

Description

Show (display) the game messages at the top left hand corner of the graphics screen.

Refer to the image below which shows where the game messages are displayed:

Specification

void gameShowMessages( void )

return value

= void (nothing)

Notes

You can add messages for display using the gameMessage( char * msg ) function.

Add a new message using the gameMessage( char * msg ) function.

For Example

#include "3dgamebuilder.h"

// exported game function
DLL_EXPORT int gameLoop(void)
{
	// show messages
	gameShowMessages();

	// game loop
	while(1)
	{
		// read the controller
		gamePadRead();

		// start drawing
		gameStartRender();

		// show a message
		gameMessage( "This is a test message" );

		// end of drawing
		gameEndRender();
	}

	return 0;
}

See Also

gameMessage( char * msg )
gameShowMessages( void )
gameHideMessages( void )

Go Back

SDK Functions