Skip to content
ICE : Indie "C" Engine - A basic SDL2 and C game engine
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logo
projects
script
.gitignore
.gitmodules
.travis.yml
CMakeLists.txt
Doxyfile
ICE.sln
LICENSE.md
NOTES.md
README.md
appveyor.yml

README.md

AppVeyor Status Windows

Travus CI Status Linux & MacOS

ICE : Indie "C" Engine

ICE Logo

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

Feature :

Supported Format :

  • Image : JPG, PNG, BMP ... ( And everything stb_image support )
  • Sound : OGG, WAV ... ( And everything SDL_mixer support )
  • Font : TTF ... ( And everything SDL_ttf support )
  • Archive : ZIP, 7Z ... ( And everything PhysFS support )

Tools :

  • bin2c : Convert file to static array in C to load them from the binary

Dependancy :

  • SDL2 ( Platform wrapper for Graphics, Window, Input ... )
  • SDL2_mixer ( Sound )
  • SDL2_ttf ( Text drawing )

Included :

TODO :

See the 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() {}
You can’t perform that action at this time.