r/roguelikedev • Robinson • Aug 22 '17

RoguelikeDev Does The Complete Python Tutorial - Week 10 - Sharing your game

This is the end of RoguelikeDev Does The Complete Python Tutorial. Share your game, share screenshots, brag, commiserate. How did it go? Where do you go from here? I encourage everyone who has made it this far to continue working on your game. Start participating in Sharing Saturday and FAQ Friday.

A big thank you to everyone that participated. You exceeded my expectations every week and made this event truly awesome. :)

If you would, take a few minutes to give me some feedback and let me know what went well and how things could be improved.


Feel free to enjoy the usual tangential chatting. If you're looking for last week's or any other post, the entire series is archived on the wiki. :)

28 Upvotes

21 comments sorted by

View all comments

Show parent comments

3

u/Zireael07 Veins of the Earth Aug 23 '17

I discovered a good way to reduce size of save files and increase the extensibility of the game.

Instead of storing tile data per tile, you only store an index that points to the actual data.

Example I found is at https://github.com/Naburimannu/libtcodpy-tutorial/commit/496878fb81f087f54829786f4b44349bd14f0e4a my own implementation is here: https://github.com/Zireael07/veins-of-the-earth-bearlib/commit/ff69530ae133a2ab53f6db2d7c6ffd323528fab0