As you all should know by now, my favorite animal is the raccoon. So, when I decided a few nights ago to make a browser version of "Mario Teaches Typing", I wanted to give the Raccoon a shot. You can play the game here
. Its a pretty poor reincarnation of the game, and I hurt a little bit when I think that I built a poor version of a game from over 20 years ago, but it was fun and I felt like I had to share it. You'll also see that it was noticeably my first usage of the Canvas (and quite possibly Photoshop). But I hope you can have some fun with it.
Here is what I learned along the way:
- Scope in Games is difficult. To ensure that people play fair on a serious game, JS programmers must be very conscious on window variables, and probably need to make excessive AJAX calls to make for better security.
- Browsers sucks. I dare to say that nobody uses the delete button to traverse back a page, and its very inconvenient when you're trying to intercept keypress events on the window. I know I should have just used a textbox.
- The Canvas does not allow an image to be moved, without being cleared and redrawn to the screen. It's a real pity and I would hope that will change very soon.
- If you want to be a raccoon owner in Austria or Germany, you must have at least two to avoid loneliness.
Project Github: RaccoonType