So after reading Part I, you’ve now got all the tools you need to start writing your very own soccer game. But what’s next? Well, here Peter continues the run down of how Awesome Soccer started out way, way back when… (cue those peculiar screen swirls and ‘that’ music)
1. Create some initial Sprites. For me, this involved photographing my son Brandon in his football kit facing in the 8 different (compass) directions, which was very funny for us both. This was followed by lots of image work in Paint Shop Pro and GIMP to cut around our hero to remove the background, and to resize to some appropriate sprite dimensions (although this resize did make him look completely out of proportion). We were finally left with 8 shiny new .png images:
2. Create an Application that loads in these images, and displays our player sprite on the screen. Exciting stuff…
3. Next, Implement control logic to move our player around the screen. This is pretty straight forward stuff; you read the keyboard for designated key presses and then increment the players x and y co-ordinates accordingly. Refine this to change the image displayed to the corresponding compass direction of the key presses.