A few weeks back I decided I needed to create a game to delight my kids. That made the problem not technical but one of inspiration. I decided to stew on this for a few days. Then someone showed me 2048. This set me back.
So the exercise is mental – examine what I see in things (games, designs, nature) and think of how they may entertain. In the mean time, I created a simple game to continue to improve my technical skills. It is more complete than my last effort, but still something of a boring idea (moving a little sprite trying to avoid green balls, eat bacon). It was nice to work on it with the kids. Emma spent some real time with me designing the sprite in Inkscape, and Ryan with me on the code.
“Dad – why doesn’t the person fall when they get hit?”
“I think I need to add ‘gravity’ but I need to figure out how to do that”
“I think I saw ‘gravity’ on that page you were looking at [the documentation]. Here [grabs the mouse] I think it was back one page…”
He’s really into it. He also came up with the name – “attack of the green tomatoes”.
It is now posted, as well as the source on github. It is totally too big (didn’t really work to reduce images). I had some fun creating a pattern for “levels”, and parameterized the input to the level class so it could be reused with “harder” arguments as a more advanced level. Maybe I’ll add a few more level types, or perhaps call it quits and move onto something more interesting.