MCPcopy Index your code
hub / github.com/Vrekt/Lunar

github.com/Vrekt/Lunar @1.3.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.3.0.3 ↗ · + Follow
308 symbols 559 edges 34 files 228 documented · 74%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

About Lunar

Lunar is a 2D game engine written in java. Its made for simplicity and ease of use. Some things to consider before using Lunar.

  • Must be using java 8.
  • This engine is not meant for:
    • 3D games, mobile, games with lots of physics.
  • This engine is meant for:
    • Creating casual 2D games.
    • Creating prototypes fast.
    • Hobby developers.
  • Lunar is still being worked on and is nowhere near finished.
  • Development will slow overtime but will eventually pick back up.

Tutorial

To use Lunar download the latest release and import it into your project. Looking for a simple tutorial on getting started with Lunar? Check out the wiki.

Contributing

When contributing and submitting requests for your changes to be merged please make sure to test your code and leave a note if the wiki needs to be updated!

Testing

Use the bundled gradle distro to run tests. This should only be necessary when contributing.

./gradlew test

Core symbols most depended-on inside this repo

add
called by 18
src/main/java/com/lunar/location/Location.java
getX
called by 16
src/main/java/com/lunar/tile/Tile.java
getY
called by 16
src/main/java/com/lunar/tile/Tile.java
get
called by 11
src/main/java/com/lunar/world/WorldMap.java
getX
called by 9
src/main/java/com/lunar/location/Location.java
getY
called by 9
src/main/java/com/lunar/location/Location.java
getWorldEntities
called by 7
src/main/java/com/lunar/world/World.java
remove
called by 7
src/main/java/com/lunar/world/WorldMap.java

Shape

Method 268
Class 36
Enum 4

Languages

Java100%

Modules by API surface

src/main/java/com/lunar/world/World.java27 symbols
src/main/java/com/lunar/location/Location.java26 symbols
src/main/java/com/lunar/tile/Tile.java24 symbols
src/main/java/com/lunar/Game.java23 symbols
src/main/java/com/lunar/entity/Entity.java20 symbols
src/test/java/com/lunar/world/WorldTest.java19 symbols
src/main/java/com/lunar/raycast/RayCast.java13 symbols
src/main/java/com/lunar/world/MapRenderer.java12 symbols
src/main/java/com/lunar/sound/Sound.java12 symbols
src/main/java/com/lunar/entity/living/LivingEntity.java11 symbols
src/main/java/com/lunar/window/FramePreferences.java10 symbols
src/main/java/com/lunar/animation/Animation.java10 symbols

For agents

$ claude mcp add Lunar \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact