(Translated by https://www.hiragana.jp/)
GitHub - CaptainHandyman/AceEngine: AceEngine is a 2D graphical engine with which you can write 2D graphical programs or games! This engine is written using the C++ libraries: OpenGL and SDL2.
Skip to content

AceEngine is a 2D graphical engine with which you can write 2D graphical programs or games! This engine is written using the C++ libraries: OpenGL and SDL2.

License

Notifications You must be signed in to change notification settings

CaptainHandyman/AceEngine

Repository files navigation

AceEngine_Logo

Installation:

  • sudo apt-get update && sudo apt-get install git
  • git clone https://github.com/RedBull4/AceEngine
  • cd AceEngine && sudo ./configure.sh
  • mkdir lib && make -f MakeFile
  • sudo make -f MakeFile install

Uninstallation:

  • sudo make -f MakeFile uninstall

Compilation:

g++ file.cpp -lAceEngine \
             -lSDL2 \
             -lSDL2_image \
             -lSDL2_ttf -lGL 

Or see the example MakeFile examples / MakeFile_examples.

Notes:

  • Engine path: /usr/include/AceEngine
  • Library path: /usr/x86_64-linux-gnu/libAceEngine.so

#include <AceEngine/AceEngine.hpp>

ACE::window window;

SDL_Event event;

int main() {
    window.create("AceEngine", ACE_WINDOW_POS_CENTERED,
                  ACE::vector2<int>(800, 800));

    while (window.is_open()) {
        while (SDL_PollEvent(&event)) {
            if (window.quit(event))
                window.close();
        }

        window.clear();
        window.display();
    }
}

This program is free software. You can redistribute it and/or modify.

Contacts:

About

AceEngine is a 2D graphical engine with which you can write 2D graphical programs or games! This engine is written using the C++ libraries: OpenGL and SDL2.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published