SDL2 features
The SDL2 backend of Lem adds images and graphics support. You can draw at any location on a specified buffer or window.
This version also adds mouse support. Mouse clicks allow some actions:
- a middle mouse click inserts an S-expression at the cursor position,
- a double click or triple click selects S-expressions.
The directory mode handles clicks on files and directories.
Lem can run graphical games! Try this:
M-x load-library RET tetris RET
M-x tetris
Stop the game with q
. By the way, Tetris works in the ncurses frontend too.
Lem’s author also showcased running a platform game inside of Lem. See on Youtube: https://youtu.be/FKqpJhO_OHc?t=1120
He develops the game interactively. On the screenshot below, he inspects the player class, changes its X and Y coordinates and the game is updated on the fly.
Lem developpers are investigated to interface with Trial, the game engine of the Kandria game.