/Go2D

GoLang 2D Game Library based on SDL 1.3. This can be used to easily write games using Go (www.golang.org) using SDL 1.3 for hardware-accelerated rendering (OpenGL or DirectX9). This will also be the core engine for the MMORPG "Pokemon Universe" (https://code.google.com/p/pokemon-universe)

Primary LanguageGo

To use this framework, you will need to install SDL 1.3, SDL_ttf and SDL_image.

###Windows Users - read this!###
If you don't want to spend time compiling SDL, but just start on your game right away, you can download go2d_windows_bin.zip (click on Downloads on the github page) for compiled versions of all needed DLL files and the two Go libraries
################################

Installation of SDL 1.3 (note: OpenGL renderer needs OpenGL libraries (e.g. mesa on Ubuntu)):
1) hg clone http://hg.libsdl.org/SDL
2) autogen.sh
3) ./configure
4) make
5) make install

Installation of SDL_ttf (this also requires FreeType 2.0):
1) hg clone http://hg.libsdl.org/SDL_ttf/
2) autogen.sh
3) ./configure
4) make
5) make install

Installation of SDL_image (note: PNG loading also requires libpng and libz):
1) hg clone http://hg.libsdl.org/SDL_image/
2) autogen.sh
3) ./configure
4) make
5) make install

Installation of Go2D:
1) gomake install

Usage:
Check out /skeleton and ./test for examples. A detailed documentation will follow soon.