Trees and loc

Hey folks, time for another blog post. This week I sorted out my localization dilemma by splitting out all strings into a separate object/table that shares a 1:1 relationship with its base type.

So for example, I have a World class and an associated …


This content originally appeared on DEV Community and was authored by Dan Dahl

Image description
Hey folks, time for another blog post. This week I sorted out my localization dilemma by splitting out all strings into a separate object/table that shares a 1:1 relationship with its base type.

So for example, I have a World class and an associated WorldData class that records all of the strings relevant to a world. I can then call a ToJSON method to export the strings in the format that the Slang package needs to support translations.

With that done, I need start figuring out how to setup my zones, so to that end, I started by drawing some trees. I'm using Rive as my art tool, and the style of trees I drew from the pixel art of some other artist's trees for inspiration. They can (hopefully) be seen in the attachment above.

My plan is to work on a couple more hex tiles and foliage assets this week, and then integrate it into the editor. That's it for tonight!

Cheers,
Dan.


This content originally appeared on DEV Community and was authored by Dan Dahl


Print Share Comment Cite Upload Translate Updates
APA

Dan Dahl | Sciencx (2025-03-31T03:04:14+00:00) Trees and loc. Retrieved from https://www.scien.cx/2025/03/31/trees-and-loc/

MLA
" » Trees and loc." Dan Dahl | Sciencx - Monday March 31, 2025, https://www.scien.cx/2025/03/31/trees-and-loc/
HARVARD
Dan Dahl | Sciencx Monday March 31, 2025 » Trees and loc., viewed ,<https://www.scien.cx/2025/03/31/trees-and-loc/>
VANCOUVER
Dan Dahl | Sciencx - » Trees and loc. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/03/31/trees-and-loc/
CHICAGO
" » Trees and loc." Dan Dahl | Sciencx - Accessed . https://www.scien.cx/2025/03/31/trees-and-loc/
IEEE
" » Trees and loc." Dan Dahl | Sciencx [Online]. Available: https://www.scien.cx/2025/03/31/trees-and-loc/. [Accessed: ]
rf:citation
» Trees and loc | Dan Dahl | Sciencx | https://www.scien.cx/2025/03/31/trees-and-loc/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.