项目作者: RedBull4

项目描述 :
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.
高级语言: C++
项目地址: git://github.com/RedBull4/AceEngine.git
创建时间: 2020-10-28T11:38:21Z
项目社区:https://github.com/RedBull4/AceEngine

开源协议:MIT License

下载


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:

    1. g++ file.cpp -lAceEngine \
    2. -lSDL2 \
    3. -lSDL2_image \
    4. -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
    #
    ```cpp

    include

ACE::window window;

SDL_Event event;

int main() {
window.create(“AceEngine”, ACE_WINDOW_POS_CENTERED,
ACE::vector2(800, 800));

  1. while (window.is_open()) {
  2. while (SDL_PollEvent(&event)) {
  3. if (window.quit(event))
  4. window.close();
  5. }
  6. window.clear();
  7. window.display();
  8. }

}

```

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

Contacts: