Skip to content

cagix/moon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moon Engine

moon 2

Moon Engine is an open-source Action RPG-Maker written in clojure and utilizing libgdx as a backend.

It supports a property-editor for all game relevant components like audiovisuals, creatures, items, skills, and ... effects/modifiers.

Everything is stored in a 'DATABASE' where stuff can be edited.... => So why not make it a separate project the 'moon.db' project?

Video

YouTube

Screenshots

Ingame Screenshot 2024-10-03 at 12 08 30 PM
Editor reddragoneditor

Levels

Levels can be created with tiled or procedurally or mixed with the use of modules. There is one example world for each approach.

Screenshot Screenshot 2024-10-07 at 6 22 54 PM

How to start

You need to have leiningen installed.

lein dev
Dev-loop contains:
  • NREPL-Server
  • On application close (ESC in the main menu), clojure.tools.namespace will do refresh on any changed files and restart the app.
  • On any error the JVM does not have to be restarted, you can fix the error and call gdx.dev/restart!
    • I have bound it on my VIM to F5 with: nmap <F5> :Eval (do (in-ns 'gdx.dev)(restart!))

License

Commands

Sort files by lines of code

sh tasks/count_locs.sh

result here

Show namespace graph

lein hiera :layout :horizontal

~ reslt here

Show package graph

...

Show dependency tree

Open Structural Code Browser (instead of docs)

TODO

  • Liste dependencies with javadoc io (!!!) & github (e.g. kotcrab, javadoc.io libgdx & wiki .. ) => hidden in my browser. => my bookmarks.

      -> lwjgl javadoc not needed as we use libgdx
      -> libgdx javadoc not needed as we use 'core' ?
      -> ... ?
    
  • greppable click where used searching right files/folders ?

  • show also import dependencies in dependency graph & assets/edn files

  • count locs find clj/ -name '*.clj' | xargs wc -l | sort -n

    • The font exocet is open source

About

RPG Maker & Engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 97.9%
  • Java 2.1%