emiliollbb's brewery

Brewing software for fun since 1999

C + SDL

The all times classic. Full control over CPU & GPU

My Brews

Pong

pong screenshot

The classic game. Who can not code this one? [source]

Duck Hunter

Duck Hunter screenshot

Tribute to NES Duck Hunt [source]

Colors

Colors screenshot

Pokemon like game. Graphics & game design by Anima_nel [source] [win64]

Learn to Brew

Quick Start Guide

  1. Install GNU Development tools
    apt-get install build-essential
    apt-get install libsdl2-dev
    apt-get install libsdl2-ttf-dev
    apt-get install libsdl2-image-dev
    apt-get install libsdl2-mixer-dev
  2. Install cross compiling to windows tools
    mkdir /opt/sdlwin
    cd /opt/sdlwin
    wget https://www.libsdl.org/release/SDL2-devel-2.0.18-mingw.tar.gz
    tar xvf SDL2-devel-2.0.18-mingw.tar.gz 
    rm SDL2-devel-2.0.18-mingw.tar.gz 
    wget https://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.5-mingw.tar.gz
    tar xvf SDL2_image-devel-2.0.5-mingw.tar.gz 
    rm SDL2_image-devel-2.0.5-mingw.tar.gz 
    wget https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-devel-2.0.15-mingw.tar.gz
    tar xvf SDL2_ttf-devel-2.0.15-mingw.tar.gz 
    rm SDL2_ttf-devel-2.0.15-mingw.tar.gz 
    wget wget https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-devel-2.0.4-mingw.tar.gz
    tar xvf SDL2_mixer-devel-2.0.4-mingw.tar.gz 
    rm SDL2_mixer-devel-2.0.4-mingw.tar.gz 
    chown -R root:root /opt/sdlwin/SDL2*
    
  3. Install webassembly tools
    # Get the emsdk repo
    git clone https://github.com/emscripten-core/emsdk.git
    
    # Download and install the latest SDK tools.
    ./emsdk install latest
    
    # Make the "latest" SDK "active" for the current user. (writes ~/.emscripten file)
    ./emsdk activate latest
    
    # Activate PATH and other environment variables in the current terminal
    source ./emsdk_env.sh