Welcome to the third of a multi-part series:
Creating Animation and Games: Chapter 3 Lightcycles
This series will dive into using Propeller microcontroller based systems to create your own graphics, animation, and video games. I'll assume that you only have a very basic knowledge of microcontroller programming and take you step-by-step from beginning with a single dot to the creation of several video games which will provide you great examples for getting started with your own ideas.
If you haven't read the previous chapters, go back and review them first with the links above then continue with this Chapter.
In the last chapters you learned how to interact with game controllers and many basic Spin programming concepts. This time we are going to take everything we've learned so far and create one of my favorite games, the Lightcycles game from Tron. Lightcycles is a fun two player game which will require two controllers (and two players) to play the game.
I recommend the game controller / keyboard combination used with the Pocket Mini Computer/VGAplus boards, but two keyboards plugged into the Human Interface Board (use the mouse jack for the second keyboard) will also work just fine. Remember the MIGS controller driver object we discussed in the last chapter is pretty flexible. Almost any combination of controllers will probably be adaptable to this chapter.
As before, let's go full throttle and start creating the Lightcycles
First download the source code
for this Chapter and extract it to a new empty folder. We'll be working from that folder.