Coldragon.fr

ICE

Indie "C" Engine :

A simple Game Engine with basic Camera, Entity, Texture, Audio, Map ...

Fonctions :

Supported Format :

Tools :


Dependancy :


Included :


TODO :

Voir le Trello


Hello World : 

 

#include <ICE.h>

#define ICE_CONFIG_TITLE "Hello World"

ICE_Game_Create()
{
	ICE_Font_Load("font.ttf");
	ICE_LabelID nbr = ICE_Label_Create(
		ICE_State_Current, 
		"Hello World",
		ICE_Vect_Zero,
		50, 
		ICE_LABELTYPE_WORLD
	);
}

ICE_Game_Update()
{
	if (ICE_Input_Pressed(ICE_KEY_ESCAPE)) 
		ICE_Input_Quit();
}

ICE_Game_Destroy() {}

 

Code source sur GITHUB

 

Screenshot :