/PixelEngine

Engine to create pixel games

Primary LanguageCGNU General Public License v3.0GPL-3.0

PixelEngine

An engine that draws pixels and textures on screen using OpenGL and GLFW.

Work in progress.

Features yet to be added:

  • Optimize frequently used functions

  • Low resolution to mimic old games better

  • Small color errors for rendering (because I think it may look kinda cool)

  • Add sound later

Instructions for building and using the engine

The project is not in its complete state, so many changes could be introduced.

  1. Install required dependencies

    • For Debian-based systems:

      apt install libglew-dev libglfw3-dev
    • For Arch-based systems:

      pacman -S glew glfw-x11

      Or:

      pacman -S glew glfw-wayland
  2. Clone the repository

    git clone https://github.com/331uw13/PixelEngine.git
    cd PixelEngine
  3. Build and test the project

    cmake .
    make
    cd testing
    chmod +x build.sh
    ./build.sh main.c
    ./a.out