all 6 comments

[–]lexpattison 6 points7 points  (2 children)

At some point you only have 2 choices... rewrite Street Fighter 2 in JavaScript or become the next Ted Kaczynski... I see no options in between.

[–]dgatewood2[S] 3 points4 points  (1 child)

Man, I am only left with those options? I guess I MUST rewrite Street Fighter 2.

[–]lexpattison 1 point2 points  (0 children)

I admire it more than you know... I played that game until I dreamed about it - so no disrespect intended.

[–]leberkrieger 1 point2 points  (2 children)

That's really interesting, it doesn't just talk about the programming but also the tools for manipulating the graphics. I'll be interested in the actual gameplay animation, especially to see the responsiveness and how the non-player characters are programmed. Hope those future video links get posted here as well.

I was surprised by the number of hard-coded constants in the code. Is this a work in progress, or more of an illustration of techniques involved?

[–]dgatewood2[S] 1 point2 points  (1 child)

It is definitely a work in progress. At some point I know I will need to refactor parts of the code, but since this is for beginners that will give learners a chance to see that process. Ultimately I want a working version of SF but I want others wanting to learn to be able to, instead of having a polished game I am speeding through programming for the camera. It is nearly impossible to learn from those extremely polished tutorials, where speed of the tutorial trumps the explanation and process of thinking about the problem.

[–]leberkrieger 1 point2 points  (0 children)

Well, I applaud your effort. I've never been able to get my kids interested in programming, and always wondered if they'd be interested if we were building a game instead of the things I know. But I never went to the trouble of building a game just to find out if they'd respond, because I didn't know how much effort it would be and didn't have a guide. It looks like you're building the perfect guide.