King of this little castle
March 25, 2014 16:17
Okay, had a few non-productive days but I'm back on it now. Programmed some basic RLE compression for map files and saved games, bringing both down to about 20% their original size on average. So even browsers with small HTML5 local storage space allotments should have no issues with the game.
Also, I was planning on implementing it later after the demo, but I figured out a pretty simple way to allow scripting to happen within battles.
This is going to open a ton of possibilities for combat. One of the funnier random ideas that popped into my head was that I could have an enemy stop to sell you items in the middle of battle. Or combined with the interactive dialogue function, an enemy could ask you multiple-choice trivia questions and hit you if you get them wrong :)
Of course, in the actual game I'll find more appropriate ways to use in-battle scripting.
Insert witty phrase here.