Thursday, October 2, 2008

Java-foo

I'm not much of a do-it-yourself kind of guy, but from time to time over the course of this project I've jumped online and attempted to figure out how to improve the game with javascript. In the past these efforts have been fruitless, but late last week I gave it another shot and things just worked out. I've discovered a way to randomly call up animated gif's everytime the game's player moves their mouse over a hotspot. And just yesterday I got a 'page loading' gif working (sort of - currently it cancels out other parts of the onLoad event, so it's kind of like taking one step forward and two steps back).
I bring all this up because I'm not a code guy. I have no real idea what I'm doing, and by all rights should not be allowed anywhere near HTML. But eventualy, with enough tinkering, things just started working. 'Code people' reading this are likely to be rolling their eyes, because yes, it's not that hard once you understand what you're doing. And while I have a much better understanding of how it all works now, I can clearly remember two weeks ago when I didn't have the foggiest idea of how an array functioned. For me the experience has reminded me why I love making these training games; if you set your sights high there will always be new hurdles to jump over, and getting over those hurdles can be a hell of a lot of fun.

No comments: