Overv / WebCraft

Minecraft clone written in Javascript.
zlib License
386 stars 179 forks source link

Feature Request: Signs #49

Open W1THRD opened 4 years ago

W1THRD commented 4 years ago

Wouldn't it be cool if players would be able to place signs? How to use:

Thanks, Witherman17

cymno commented 3 years ago

Feel free to add it. For the text rendering you could reuse the player nametags. You could have a list of signs and loop over them while rendering like over the players. If you want to save the signs over multiple sessions you have to modify the save structure. Currently only the block type is saved, a single letter per block (a for air, c for dirt, d for wood etc.). There is no support for TileEntities like signs (compare with Minecraft's complex save structure). For now the easiest way might be to keep the current world file, and just serialize the sign entity list to some entities.json