Flash Game Progress

I’ve been working on the winter game again, putting in the screen logic. My initial “elegant” design has been crumbled into a spaghetti-like mess, with meatball-like moments of clarity. This is largely because I wasn’t quite sure how to handle chained sprite sequences. For example, saw a bear needs to throw a rock at the screen. There are several animation sequences associated with the throw, each of which can be considered a state in itself. I’m coding it all manually with a series of ugly switch statements to just get it working. After I get the body of the program working, I’ll review it and derive a new set of animation classes, with behaviors implemented using the Strategy Pattern.

Share 'Flash Game Progress' on Email Share 'Flash Game Progress' on Facebook Share 'Flash Game Progress' on Twitter Share 'Flash Game Progress' on Google+ Share 'Flash Game Progress' on Delicious Share 'Flash Game Progress' on Digg Share 'Flash Game Progress' on reddit Share 'Flash Game Progress' on StumbleUpon Share 'Flash Game Progress' on Wordpress Share 'Flash Game Progress' on Instapaper
Posted in Computers and tagged . Bookmark the permalink.

Comments are closed.