You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Joey Pollack f88c8a8918 renderer2D DrawQuad can now draw sub-regions of textures, this allows for sprite sheets again 3 years ago
docs Multiple texture slots working in the quad shader 3 years ago
external Start of ECS - files added 4 years ago
scripts Stress testing with math on the CPU 3 years ago
src renderer2D DrawQuad can now draw sub-regions of textures, this allows for sprite sheets again 3 years ago
test_data Re-write of renderer is more or less stable and hooked back up to the core engine. 3 years ago
.gitignore Renderer outline started 3 years ago
.gitmodules Adds nfd 4 years ago
CMakeLists.txt Text Renderer is properly joining all of the character pixel data into one long texture! The characters are aligned to the top of the frame (which I think is correct for calculating the uvs for each char) 3 years ago
LICENSE Base project setup 4 years ago
LunariumConfig.h.in Log system over-hauled 4 years ago
README Adds beginnings of the README 4 years ago
imgui.ini Framebuffer update linux build working 4 years ago

README

# Lunarium
Lunarium is a cross-platform 2D game engine. It runs in windows and Linux. It's tested on Windows 10 and Ubuntu (Kubuntu).

# Building from source
Clone the repository with git and switch to the repository directory
```
    git clone https://github.com/`
    cd lunarium
```
## On Linux
Run the cmconfig.sh and then the build.sh. 
```
    ./sripts/cmconfig.sh
    ...
    ./scripts/build.sh
```
Note the scripts must be run from the root directory of the repo.
Finally you can use run.sh to run the program
```
    ./scripts/run.sh
```

## On Windows
Run the cmconfig.bat
```
    scripts\cmconfig.bat
```
From here you can navigate to the build directory and run the LUNARIUM.sln file to build and run from inside Visual Studio. Or you can use build.bat to build from the command line. If you build from visual studio be sure to copy the test_data directory into the same directory with Lunarium.exe before running.
```
    scripts\build.bat
```
Or for a Release build:
```
    scripts\build.bat r
```
Then you can run the program:
```
    build\Debug\Lunarium
```
OR
```
    build\Release\Lunarium
```