Log In  


Cart #layer_paint-0 | 2025-07-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Layer Paint

A simple painting program with layers.

Controls

Mouse or button mode can be selected on the Start screen.

mouse mode
lmb : paint, select
rmb : select bg color
rmb : pick color
⬆️⬇️⬅️➡️: adjust brush size

button mode
❎ : paint, select
🅾️ : select bg color
hold 🅾️ : move fast

Colors

Use the color swatches to select paint color with LMB or ❎
The background color can be selected by right clicking on the color swatch (or 🅾️ in button mode)

The last color is Transparent, and works like an eraser.

When using the transparent color as the background, a checkerboard pattern is drawn.

Tools:

[8x8]
Pencil, sets brush size to 1x1
[8x8]
Brush, sets brush size to 4x4
[8x8]
Spraycan, scatters paint randomly

[8x8]
Reduce brush size
[8x8]
increase brush size
[8x8]
adjust brush to be taller and narrower
[8x8]
adjust brush to be wider and lower
[8x8]
switch layer

[8x8]
Save picture to png (without the UI)

[8x8]
Hide the UI

Techical details

The three layers are stored as tables in memory, not on the sprite map. That can cause some performance issues, so only a small part of the screen is updated each frame. If you move around fast, some glitched graphics can show up, but is cleared after a few frames.

When using the transparent swatch as the backgroun, exported images still show this checkerboard pattern, not a transparent png. Select another easily keyable color if you want to remove the background in another application.

Screenshots




[Please log in to post a comment]