• Register

Land of Seylia is a tactical role-playing game with elements of empire building and resource management. You control the kingdom of Seylia as it expands from a single city, to a mighty empire spread across the procedurally-generated land. Along the way, you will recruit units, watch them hone their skills in combat, build new cities, capture enemy territory in combat, and master the art of item crafting. The battles in Land of Seylia are focused on small skirmishes, with approximately 5 units per side. The game is currently being prototyped in Javascript and HTML5, which may or may not change as development progresses.

Description

Nifty little trick we're using in Land of Seylia at the moment: hijack canvas methods to compress our save files as a PNG :). Here's the raw canvas-based compression code, in case anyone else wants to use it (or play with images). License: as free as you want - we're using CC0, which is intended as a very sticky declaration of release into public domain.

Preview
JS/HTML5 compression code via canvas and PNG
Post comment Comments
Swyter
Swyter - - 664 comments

Smart move.
Probably one of the cutest savegames I've ever seen.

:)

PS: I can almost perceive the entropy from here.
*compression joke*

Reply Good karma Bad karma+1 vote
ethankaminski Author
ethankaminski - - 3 comments

For anyone who's interested, we also uploaded this code to GitHub after someone suggested doing so. Find it here: Github.com

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: