A downloadable lisp map editor

Download NowName your own price
๐Ÿฆ‰                                                            
        ๐Ÿ‹๐ŸŒฝ๐Ÿ•Š๐ŸŒฟ    ๐Ÿฌ๐ŸŒฑ                                    ๐Ÿฅฆ            ๐Ÿชต
    ๐Ÿ    ๐Ÿฆข๐Ÿฆข๐Ÿฆญ    ๐Ÿ›๐Ÿ›                                        ๐Ÿˆ    ๐Ÿชท๐ŸŒฒ    ๐Ÿ‘
        ๐ŸŒท    ๐Ÿฆ€                            ๐Ÿซ    ๐Ÿฆƒ    ๐Ÿฅฅ๐Ÿฆข    ๐Ÿชฐ    ๐Ÿก๐Ÿฅ    ๐Ÿฅœ
    ๐ŸŒน        ๐Ÿ    ๐Ÿชณ    ๐ŸŒพ    ๐Ÿฆญ                        ๐Ÿฃ    ๐ŸŒณ        
        ๐Ÿฆƒ    ๐Ÿ‹    ๐Ÿฅฆ๐ŸŒฑ๐Ÿฆ€๐Ÿชฑ                ๐Ÿ•ธ    ๐Ÿชณ    ๐Ÿ™๐Ÿซ                ๐Ÿ’    
                                ๐Ÿš๐Ÿƒ    ๐ŸŽ„            ๐Ÿƒ๐Ÿ•Š๐Ÿ•ท๐ŸŒฑ    ๐ŸŒป๐Ÿ€    ๐Ÿฅ’    
            ๐Ÿงš    ๐Ÿ‹        ๐Ÿ‹                            ๐Ÿฃ๐Ÿ™        

NicCLIM is a map editor application made with Common Lisp Interface Manager!

Alpha!?

Part I announcement: https://screwlisp.small-web.org/lispgames/nicclim-alpha/

High Level description

https://lispy-gopher-show.itch.io/nicclim/devlog/1038019/notes-about-nicclim-com...

Normally start like this:

1. Download `~/Downloads/nicclim.lisp` (Press download now, above) then

โ€ข (setq inferior-lisp-program "ecl") 
โ€ข (slime) 
โ€ข (setq eepitch-buffer-name "*slime-repl ECL*") 
(ensure-directories-exist #p"~/GAME/") 
(uiop:chdir "~/GAME/") 
(uiop:chdir "~/GAME/") 
(ql:quickload :mcclim) 
(compile-file "~/Downloads/nicclim.lisp" :load t) 
(in-package :nicclim)

Read some of the articles or something. Clearly I'm using eev-mode emacs, slime and ecl. 

MAIN starting/demo 

on my blog:  https://gamerplus.org/@screwlisp/115245557313951212

Now featuring: Spacetime, unicode

previously

v2 added (do command lists, do host lisp apply, current player get/put in symbol keys) see https://screwlisp.small-web.org/lispgames/trying-nicclim-v2/



https://screwlisp.small-web.org/lispgames/trying-nicclim/


Original notes, in case you wanted to see back in time:

NicCLIM map editor general user interface

A window with two large panes on the left and right, and five small panes across the bottom. The left window starts with "Command: " and the right side shows a grid of outlined boxes, the current state of the map. The five lower panes have a lot of whitespace, but they show x=, y=, cur=, cur1=, cur2=.

It's a prototype! A text file (well, sexp file) is loaded and sits in the top right. Menus or hotkeys are used to modify the grid, commands being written on the left.

Starting that

As well as the map editor, there are some functions for creating, modifying and extracting rectangles from files.

NicCLIM map text file tools

A 2x2 region of a larger text file is replaced by a smaller (2x2) text file (in emacs).

Instructions

1. Download nicclim.lisp from here.

2. Have lisp / emacs / slime / eev set up like my introduction here

3. Install quicklisp from https://quicklisp.org

4. In nicclim.lisp tap F8 (eev-mode) on these lines at the top of the file:

#|
;; emacs eepitch lines.
โ€ข (setq inferior-lisp-program "ecl")
โ€ข (slime)
โ€ข (setq eepitch-buffer-name "*slime-repl ECL*")
(ql:quickload :McCLIM)
(in-package :clim-user)
(compile-file "~/Downloads/nicclim.lisp" :load t)
;; Trying it.  
(nic:rect-file "test.txt" 3 8 '(te st))  
"test.txt"  
(nic:cat *)  
(nic:horizontal-cat ** ** "hcat.txt")  
(nic:cat "hcat.txt")  
(nic:enclose-map "hcat.txt")
|#

Making a file, and horizontally catting it.

nicclim example from nicclim.lisp pt 1

The right half of the buffer is nicclim.lisp; the left half is an 8 row, 3 column rectangle repeating (TE ST) followed by an 8 row, 6 column rectangle of the same.

Opening it in the editor and inserting a ! somewhere

Nicclim.lisp example useage pt 2

In the NicCLIM GUI, the cur1 was set to !, then the user went j j l l and inserted a cursor.

Overwriting the file

nicclim.lisp example pt the third

After closing the gui, the file is printed and the user is asked if they want to overwrite the file with the changed version.

Help

You can reach out here butthe mastodon is probably better.

Both to seek help and to offer it!

Download

Download NowName your own price

Click download now to get access to the following files:

nicclim.lisp 41 kB

Development log