Map Editor for Lines Of Battle!
Quick video showcase https://youtu.be/Fo3VIW98ktY
- Head towards releases section here.
- Find your installer depending on your operating system(.exe and .msi for windows, dmg for macos, etc). Or use .jar(you need java 21 in order to run) file of the editor.
- Install and enjoy the application.
It has almost all features from the original map editor. Also we added a lot of new ones.
Create your high-quality maps in no time.
The application uses OpenGL and a lot of heavy tile blending calculations are shifted to GPU. You can even create the biggest available map(200x152 tiles) and it will only have a slight perfomance drop at the beginning.
The editor was created with this idea in mind, so what you see in the editor will be the same in the game.
In the map editor the grid(even thin one) will render correctly whereas official map editor has some grid glitches.
Make your forks or contribute to the project directly heling the community and the project.
- Ctrl + g - toggle grid
- Ctrl + r - toggle show reference
- Ctrl + q - terrain pick
- Ctrl + z and ctrl + shift + z - undo/redo.
- Delete - delets selected units or objective.
- Ctrl + d - duplicates selected units or objective.
- Shift + LMB on a unit - add the clicked unit to selected ones.
- Ctrl + LMB on a selected unit - exclude the clicked unit from the selection.
- LMB drag - selects units within the selection box.
- LMB drag on selected units or objective - Moves selected objects.
- LMB drag on blue arrow - changes the selected units rotation.
- MMB drag - move camera.
- RMB - use current tool.
There are 8 tools, in order to use one of them - just click on it.
Select player you want to edit using Current player drop down. You can set players team and amount of ammo, also you can add a new player, duplicate the current one, or delete the current player.
Select the brush size, height and the brush type(cirle or square) and using RMB draw height onto the map.
Select the brush size, brush type and terrain type and draw terrain onto the map.
Click RMB using this tool to pick a terrain type for terrain brush.
Select the unit owner, its name, type and rotation and plate onto the map using RMB.
Select the objective owner, its name and type and place it onto the map using RMB.
You can toggle grid, select its thickness, size, offset and even color.
Put a background image on your map as a reference. Toggle it, select its transperency. Also you can change its rotation, size and offset. Use Import reference button to add background image or replace the existing one.
Import your map from json. Or export the game compatible json type.
- OpenGL - API for low-level rendering, gives insane boost in perfomance.
- JOGL - binding for OpenGL for java.
- JOML - Linear algebra library designed for OpenGL.
- Kotlin compose - Modern UI framework for android and desktop applications.
- Jewel UI toolkit - jetbrain-like UI toolkit.
- Kodein - DI library that allow us to wire everything easily.
./gradlew :composeApp:generateResourceAccessorsForCommonMain
./gradlew :composeApp:generateResourceAccessorsForJvmMain
Also, you might want to run some init tasks like ./gradlew init.
./gradlew run
P.s. If you are using windows then you should use gradlew.bat instead of gradlew