Linux Format

Set up a game development system

This is very much a learning process. Once you’ve created your first game, it gets a lot easier to do your second and third. We’re creating a simplified version of Atari’s classic arcade game Missile Command.

You have to defend six cities from incoming missiles with your batteries of ABMs (anti-ballistic missiles). Using the mouse, you click a point to intercept a missile and fire an ABM. Once the ABM reaches that point, it explodes, and if the explosion hits the incoming missile, it is destroyed.

As it stands, the game could be expanded on. Here are some ideas of how you could enhance it. For instance, you might give it difficulty levels. Maybe when you start the game the first level only has five missiles. After those are fired, you’re on level two and have more missiles. Also, you could increase the difficulty by making the missiles faster. You could have a difficulty multiplier that goes from 1.0 to 2.5 by 0.1 per level. Multiply xvel

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format4 min read
Linux
The #1 open source mag Future Publishing Limited, Quay House, The Ambury, Bath, BA1 1UA Email contact@linuxformat.com EDITORIAL Editor-in-chief Neil Mohr Art editor Fraser McDermott Production editor Katharine Davies Group editor-in-chief Graham Bar
Linux Format3 min read
Kernel Watch
Linus Torvalds announced the fourth RC (Release Candidate) for what will become Linux 6.9 in another few weeks. In his announcement, he noted that there was “Nothing particularly unusual going on this week – some new hardware mitigations may stand o
Linux Format1 min read
Sql At Fifty
Structured Query Language (SQL) is 50 years old. It is the only programming language from the ’70s that is still around and – unlike COBOL and Fortran, which are confined to limited niche roles – still thriving and expanding. In 2023, the IEEE declar

Related