Version 3.15.0 released!
Version 3.15.1 released!
A new Repixture version is here! This is the Signs Update!
License changed to AGPLv3+
The license of Repixture has been changed!
The main source code license is now AGPLv3+. This replaces the old source code license of LGPLv2.1+. See the README.md file in the game files for details.
New Signs
- RP_new_signs_release.jpg (78.97 KiB) Viewed 7429 times
In this version, signs got a complete makeover. The text will now finally be written on the sign itself, you no longer have to point it.
A
huge number of Unicode characters are supported, including:
- Latin
- Greek
- Cyrillic
- CJK characters
- Syllabics
- Symbols/digbats
- Emojis
- And many more!
Over 60000 glyphs are supported, which is much more than Minetest can normally display. The signs still only support left-to-right scripts, however. So no Arabic, Hebrew, etc. (sorry)
There is also a new "pole sign" type that can stand on the ground, ceiling or hang from the side. They can be written on both sides.
If you know any non-Latin writing system well, please try out the signs and report any bugs.
How signs work:
Spoiler
Note that due to a bug in Minetest 5.8.0, the sign input form may not display some of the more obscure glyphs. In that case, try pasting text from an external editor, hit "Write" and see what happens.
The text will automatically be scaled to fit into the sign, so shorter texts become larger.
Signs now also support multi-line text, but you must insert linebreaks manually.
The signs have soft and hard size limits. The hard size limit is 500 characters. Text will be automatically truncated after that.
The soft size limit applies when the text has too many lines or is too wide that the characters would become too small to read, or when too much data is used. The sign will then just show gibberish, but the text is still stored. You can always rightclick the sign to reveal the text.
The sign text is normally in black, unless you paint the sign itself in black, then the text turns white so it can be read.
The new pole signs can be rotated in 90° steps. I don't plan to add more rotation steps (although I could) because I want to enforce a strict grid. :P
Technical background on the signs update:
Spoiler
The font used is GNU Unifont. It contains all printable characters of Unicode's Basic Multilingual Plane, which already includes most modern writing systems. Additionally, it supports parts of the Supplementary Multilingual Plane.
The mod used for rendering is a heavily-modified fork of the mod "unicode_text" by erlehmann. I've made this mod more stable by restricting what it can render to prevent incorrect writing.
Repixture takes a careful approach: It rather not renders something than render it incorrectly. So I've manually disabled some glyphs. For example, Malayalam is completely disabled because of that.
This means the signs will refuse to show characters of writing systems that are too difficult for me, even if the font supports the glyphs. Only Left-To-Right scripts work. Cursive scripts do not work either.
I've manually disabled some writing systems I know do not work well right now, for example Malayalam.
I also manually disabled combining diacritical marks. Thankfully, Unicode has many codepoints where the diacritics are part of the glyph. So use those instead.
Unsupported characters will show up as question marks.
Moon Phases
The moon will now have 4 phases, from full moon to new moon. It changes every night. Currently, this is only a graphical effect. Each world will start with a random moon phase.
- RP_moon_phases.png (5.33 KiB) Viewed 7429 times
Spyglass
The spyglass is a simple new tool that allows you to zoom in on locations that are faw away.
It's a simplified version of the tph_spyglass mod and I think it fits the game just perfectly.
Changelog
Main changelog:
- Source code license is now AGPLv3+
- Sign text is now written on the sign, supporting a large portion of Unicode
- Add spyglass, to zoom in
- Add moon phases
- Add pole signs that can stand on floor, wall or ceiling. Can be written on both sides
- Allow multi-line input for signs
- Sign formspec uses read-only text if sign is protected
- Remove infotext of signs
- Tweak sign side textures
- Degrowth tool now degrows plants, too
- Textures changed for degrowth tool and creative tool
- Improve texture of door sides
- Bed blocks are now individually pointable
- If somehow a glitched "half bed" ends up in the world, you can now break it
- Can dig your own bed while in bed
- Can get up from bed with Sneak key
- Fix crash if using supertool on unknown node
- Fix crash if placing torch or compass in protected area
- Fix typo in villager speech about vine
- Fix Creative Mode search not finding villagers
- Fix TNT explosion pushing things it shouldn't push
Technical changes:
- rp_armor: Can register custom armor sets now
- Added HUD flag semaphores. They must be used whenever you want to change HUD flags
- Signs were moved to new mod rp_signs
- Added heavily-modified unicode_text mod by erlehmann
- Added mod rp_fonts that contains the sign font
- rp_paint: Add _after_paint and _after_unpaint callbacks