Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.51 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.51 KB

Monke Engine (Game Engine)

Monke Engine aims to be a simple and fast game engine, capable of reproducing any ideas quickly and efficiently. Made for those who want something low-level while maintaining simplicity.

Use (linux)

  • Run mkdir build && cd build/ && cmake .. && cmake --build . from this repos folder.
  • Then just run ´./monkexe´ to run the binary, the source code is inside the demo folder.

Examples

Single Static Sprite

This for example, is how you render a Sprite that follows your cursor: Code Example

Multiple Animated Sprites

Drawing multiple sprites it's also quite easy, for example this is one simple way to render a tilemap. First we load our texture, in this case a 128x32 sprite sheet with numbers:

Code Example

We can then tell the engine to dynamically update the sprites Texture Coordinates and render them on a loop.

Code Example

Compile and see how it looks:

Tilemap Gif

As you can see, the framerate is extremely high, with this tilemap on a GTX1060 it was around 14000 FPS!

Framerate