Commit Graph

5 Commits (master)

Author SHA1 Message Date
James Hogan f6ba2f83fe
Support numbers 100 to 999
Add support for groups of blocks up to 999. New nodes are defined for
groups of 100 blocks, similar to 10s but with colours encoded in param2
using 3 separate palettes (4 groups per palette, since each group of 100
is checkered with light and dark).

Also add multipart number nodes support, including improved finding of
number nodes and determination of which set of blocks each belongs to
(using 2 upper bits of param2 to encode the direction the number is
extended from the central block).

Signed-off-by: James Hogan <james@albanarts.com>
2021-04-06 16:24:45 +01:00
James Hogan 5c60555f0d
Rename textures to numeracy_*.png
Start renaming the mod to numeracy. The texture prefixes are first.

Signed-off-by: James Hogan <james@albanarts.com>
2021-04-02 23:04:13 +01:00
James Hogan a88d621639
Add numbers over numberblocks up to 100
Floating number blocks are added based on 8x16 textures of the digits
0-9. These are placed above the closest top level block to the average
position of the top level blocks, and automatically updated when the
numberblock is changed.

Signed-off-by: James Hogan <james@albanarts.com>
2021-03-28 08:01:15 +01:00
James Hogan 5224fef37f
numberblocks_block_palette.png: Improve 9 grays contrast
Make the light gray on Numberblock 9 lighter to improve contrast.

Signed-off-by: James Hogan <james@albanarts.com>
2021-03-26 16:29:11 +00:00
James Hogan 11ebd0e6d3
Initial version of Numberblocks Minetest mod
Number blocks can be piled up and change colour up to 9 to look like
Numberblocks characters.

Signed-off-by: James Hogan <james@albanarts.com>
2021-03-26 15:00:46 +00:00