Here’s my new game, and why I needed help plotting out circles. It’s called Robin’s Roundabouts.
This is a PADDLE game. Your task is to drive through a never ending succession of roundabouts without crashing into other cars or the curb. When you do, you're going to have repair costs. Press the fire button to step on the gas.
All of my games so far have been about current events in Wisconsin, and this one is no different. Right now in Wisconsin, the big debate is whether we need more funding for roads. Some people believe we’re wasting too much money on roundabouts. Others, like the Assembly Speaker (Robin), say roundabouts are not the problem. However, it sometimes does seem like the state overdoes it with roundabouts. It’s not uncommon to find five in a row.
The code is a little sloppy, but I included a lot of comments to guide you through it. Some things I learned writing it were:
- Usually paddles are used to set sprite positions directly. This program uses the paddle to determine a variable, which is used to calculate the sprite’s position.
- Plotting a circle with an adjustable radius
- How to use icons for lives using the life counter
One thing I still don’t understand is what happens to a temp variable when you define it differently within just a couple lines.
Please play and enjoy. Remember this is a PADDLE game (on Stella: start the game, press tab, click controller, change player0 to paddle, exit, when the game starts back up press ctrl+r).
Feel free to clean up the code or improve it. I’d really appreciate it if you would.
Special thanks to Bogax for teaching me to plot a circle!
Edited by boski, Sat Apr 1, 2017 1:23 PM.