Project Status: Green, with a hint of Yellow
When I started this blog, I always had this unrealistic expectation that I would try to make every post about something really interesting – absolutely no filler posts. Silence is better than noise. Alas, real life tends to shake you out of such dreams by kicking you in the balls when you least expect it. And so it has been with me. My little side project (AKA The Dungeon Editor) is taking longer than expected. Surprised? I shouldn’t be, as I’m old enough to know better. So I thought, what the hell, I’ll show you what I’ve got so far. A day in the life of a hobbyist game developer…
Headache Number One – Construction by Committee
I have several different Dart libraries – UI, model, view, and editor – and getting relative paths to work (e.g. <img src=“image/sword.png”/>) when each is imported into another library has been…interesting. Some ant script jujitsu has been required to get around this. Not happy with the result – this baby is just too damn ugly to love.
Headache Number Two – A Rodent Problem
Mouse Events in Dart are easy to use and generally work well – until they don’t. I am currently ‘enjoying’ the experience of dragging the mouse around and trying to figure out when it’s dragged somewhere it’s not supposed to. Sounds simple. A few minutes work for an experienced web developer. And just a few more minutes for me, before I am done.
Stop Whining and Give us a Screen Shot
Here is a screen shot of the editor as it currently stands…
- My Eyes! The goggles do nothing! Yeah, yeah. I use crazy colours so I can see what the browser is doing to the site layout. I never go anywhere without my ‘Fruit Salad With A Little Vomit’ colour scheme.
- The fonts are all wrong Yep. For some reason that I have not gone around to, the nice fonts I picked are not working, or are not nice at the sizes I am using.
- You Can’t See this One To create walls, I follow the dragged mouse position to make long walls really easy to do. Currently having issues on how to stop making walls when I get to the edge of the ‘map’. Please refer to “Headache Number Two” above.
- The palette on the right works. Click on the wall icon and you can add walls. Same for the ‘sword’ item button.
- My homemade menus and dialogs work. A small victory dance is in order here.
- Things resize correctly and different browsers.