Build Editor Skill
Builds the Asciicker map editor (asciiid) for macOS using the project's makefile.
Quick Commands
Build the editor:
bash
make -f makefile_asciiid_mac
Clean build (rebuild everything):
bash
make -f makefile_asciiid_mac clean && make -f makefile_asciiid_mac
Build for Linux:
bash
make -f makefile_asciiid
Build Output
The compiled editor will be at: .run/asciiid
Launch After Build
To run the editor after building:
bash
./.run/asciiid
Or on macOS (to launch as app):
bash
open .run/asciiid.app
What Gets Built
The editor includes:
- •Terrain editing tools
- •Material painting system (grass, water, etc.)
- •Sprite placement
- •Enemy generator placement
- •Map save/load functionality
- •Camera controls
Common Build Issues
- •Missing dependencies: Ensure OpenGL, SDL2, X11 libraries installed
- •Compilation errors: Check for syntax errors in
.cppfiles - •Linking errors: Verify all object files compiled successfully
Files Compiled
Main sources:
- •
asciiid.cpp- Main editor logic - •
terrain.cpp- Terrain rendering - •
render.cpp- OpenGL rendering - •
game.cpp- Game logic - •Plus ImGui and other dependencies
Instructions
When the user asks to build the editor:
- •Run
make -f makefile_asciiid_mac - •Report any compilation warnings or errors
- •Confirm successful build with "Linking: .run/asciiid"
- •Optionally launch the editor if requested