Took a spontaneous vacation day today, partially to recover from a rather annoying illness (cold? flu? sinus infection? SARS?) and decided to get some work done on the game. Big strides today, I think. First up, I've finally added the option to draw terrain! (I also added a border to the minimap, as you can see from the attached picture.) Clicking on a floor tile will cause it to change into a wall, and vice versa. You can also click and drag around to have it keep adding whatever type you're working with; so if you click in a wall section and drag around, you'll keep adding floor wherever you drag.
This isn't how the game will actually work, by the way, but it's a good first step. In the next few weeks I'm hoping to switch it to a system where you'll select tiles and then choose what you want to do with them. For now, that'll be restricted to "make floor" or "make wall", but eventually there'll be stuff like "fortify", "decorate", or what have you. I've got other stuff that's higher priority right now.
Also on today's hit list: Moving the mouse cursor to the edge of the window causes the window to scroll in the appropriate direction. For example, moving the mouse to the left edge causes the window to scroll to the left. Not the most exciting thing in the world but it's amazing how much easier it makes it to navigate around.
All in all, that makes this a successful week already. But! I've got more plans. I'm also going to look at a way to navigate by clicking on the minimap. And then I've got some code tweaks to do, which will result in the ability to save and load a map. That one may take until the weekend, or even into next week, since I don't currently have any actual menu, so that'll have to be built too. It's amazing how all these little details add up.
Oh, and make sure to check back later this week! I've got some big news, regarding a downloadable version of the app coming sometime in the next few weeks...
No comments:
Post a Comment