Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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() {}

About

A simple C/SDL2 game engine

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.