Compare commits
2 commits
9f1bde8ac6
...
d0baab3dd6
| Author | SHA1 | Date | |
|---|---|---|---|
| d0baab3dd6 | |||
| 27f3b120dc |
11 changed files with 28 additions and 73 deletions
24
README.org
24
README.org
|
|
@ -2,30 +2,6 @@
|
||||||
|
|
||||||
Imugi is a framework for building games (primarily tactics games) with Chicken Scheme and raylib. The end goal of this framework is to create a game, also called Imugi, and release to show the capability here.
|
Imugi is a framework for building games (primarily tactics games) with Chicken Scheme and raylib. The end goal of this framework is to create a game, also called Imugi, and release to show the capability here.
|
||||||
|
|
||||||
* Installation & Usage
|
|
||||||
Raylib must first be installed before you can get started with Imugi.
|
|
||||||
|
|
||||||
Note: this guide assumes static linking for the Raylib library.
|
|
||||||
|
|
||||||
Install raylib statically using the following commands:
|
|
||||||
#+begin_src shell
|
|
||||||
git clone --depth 1 https://github.com/raysan5/raylib.git raylib
|
|
||||||
cd raylib/src/
|
|
||||||
make PLATFORM=PLATFORM_DESKTOP
|
|
||||||
make install
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
The following dependencies are required on Debian:
|
|
||||||
#+begin_src shell
|
|
||||||
apt install -y libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Once raylib is installed, run ~chicken-install -s~ in this directory to install all dependencies and the Imugi egg itself.
|
|
||||||
|
|
||||||
You can then import the Imugi modules required in your project.
|
|
||||||
|
|
||||||
When building your project, use the flags specified in ~all.options~ in this repository, which includes are the dependency links necessary.
|
|
||||||
|
|
||||||
* Architecture
|
* Architecture
|
||||||
Imugi is an ECS engine.
|
Imugi is an ECS engine.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
(module (imugi components core) ()
|
(module (engine components core) ()
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
(chicken module)
|
(chicken module)
|
||||||
(imugi core)
|
(engine core)
|
||||||
(imugi guards)
|
(engine guards)
|
||||||
(imugi math)
|
(engine math)
|
||||||
(srfi 1)
|
(srfi 1)
|
||||||
(srfi 99))
|
(srfi 99))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
(module (imugi core) ()
|
(module (engine core) ()
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
(chicken module)
|
(chicken module)
|
||||||
(chicken sort)
|
(chicken sort)
|
||||||
(imugi guards)
|
(engine guards)
|
||||||
raylib
|
raylib
|
||||||
(srfi 1)
|
(srfi 1)
|
||||||
(srfi 4)
|
(srfi 4)
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
(module (imugi drawing) ()
|
(module (engine drawing) ()
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
(chicken module)
|
(chicken module)
|
||||||
raylib
|
raylib
|
||||||
(imugi core)
|
(engine core)
|
||||||
(imugi guards)
|
(engine guards)
|
||||||
(imugi math)
|
(engine math)
|
||||||
(srfi 4)
|
(srfi 4)
|
||||||
(srfi 99))
|
(srfi 99))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
(module (imugi guards) ()
|
(module (engine guards) ()
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
(chicken module)
|
(chicken module)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
(module (imugi input) ()
|
(module (engine input) ()
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
(chicken module)
|
(chicken module)
|
||||||
(imugi core)
|
(engine core)
|
||||||
raylib
|
raylib
|
||||||
(srfi 99))
|
(srfi 99))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
(module (imugi math) ()
|
(module (engine math) ()
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
(chicken module)
|
(chicken module)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
(module (imugi scene) ()
|
(module (engine scene) ()
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
(chicken module)
|
(chicken module)
|
||||||
(imugi core)
|
(engine core)
|
||||||
(srfi 1)
|
(srfi 1)
|
||||||
(srfi 99))
|
(srfi 99))
|
||||||
|
|
||||||
|
|
|
||||||
21
imugi.egg
21
imugi.egg
|
|
@ -1,21 +0,0 @@
|
||||||
((author "Jakub Nowak")
|
|
||||||
(synopsis "ECS system built on Raylib")
|
|
||||||
(version "0.1")
|
|
||||||
(license "AGPL")
|
|
||||||
(category graphics)
|
|
||||||
(dependencies raylib srfi-1 srfi-69 srfi-113 srfi-99)
|
|
||||||
(components
|
|
||||||
(extension imugi.guards
|
|
||||||
(source "engine/guards.scm"))
|
|
||||||
(extension imugi.core
|
|
||||||
(source "engine/core.scm"))
|
|
||||||
(extension imugi.math
|
|
||||||
(source "engine/math.scm"))
|
|
||||||
(extension imugi.components.core
|
|
||||||
(source "engine/components.scm"))
|
|
||||||
(extension imugi.drawing
|
|
||||||
(source "engine/drawing.scm"))
|
|
||||||
(extension imugi.input
|
|
||||||
(source "engine/input.scm"))
|
|
||||||
(extension imugi.scene
|
|
||||||
(source "engine/scene.scm"))))
|
|
||||||
|
|
@ -2,12 +2,12 @@
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
raylib
|
raylib
|
||||||
(imugi core)
|
(engine core)
|
||||||
(imugi components core)
|
(engine components core)
|
||||||
(imugi math)
|
(engine math)
|
||||||
(imugi input)
|
(engine input)
|
||||||
(imugi drawing)
|
(engine drawing)
|
||||||
(imugi scene)
|
(engine scene)
|
||||||
(srfi 1)
|
(srfi 1)
|
||||||
(srfi 99))
|
(srfi 99))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,12 @@
|
||||||
(import scheme
|
(import scheme
|
||||||
(chicken base)
|
(chicken base)
|
||||||
(chicken random)
|
(chicken random)
|
||||||
(imugi core)
|
(engine core)
|
||||||
(imugi math)
|
(engine math)
|
||||||
(imugi components core)
|
(engine components core)
|
||||||
(imugi drawing)
|
(engine drawing)
|
||||||
(imugi input)
|
(engine input)
|
||||||
(imugi scene)
|
(engine scene)
|
||||||
raylib
|
raylib
|
||||||
(srfi 1)
|
(srfi 1)
|
||||||
(srfi 99))
|
(srfi 99))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue