Wireframe Gaming Magazine Coding Ideas – Source Code Edition

Latest Issue Added: Issue 65

This past weekend I decided to go through my Wireframe Gaming Magazine back issues looking for coding ideas.

I put together the below table of all the source code articles across all the issues in case someone out there is also looking for some inspiration.

IssueGameArticle Description
1DefenderHow particle physics turned Defender into a coin-op classic
2GalaxianThe simple yet effective AI behind Galaxian’s angry aliens
3Moon PatrolHow parallax scrolling gives 2D games the illusion of depth
4AsteroidsHow to recreate the thrust motion in Atari’s coin-op classic, Asteroids
5Game FeatureHow to create your own arcade-style high-score table
6R-TypeHow to recreate the whipping alien tail from R-Type
7Super Mario Bros.Recreate the jumping physics from Super Mario Bros.
8Missile CommandThe code behind Missile Command’s unforgettable vapour trails
9Space InvadersRecreating the disintegrating shields from Space Invaders
10PangRecreating Pang’s evil bouncing balloons in Python
11BreakoutRecreate the block-smashing action of Breakout
12BombermanRecreate Bomberman’s four-way explosions
13GyrussRecreate Gyruss’s zooming starfield effect
14Donkey KongMake a Donkey Kong-style animated walk cycle
15Ant AttackAnt Attack-style isometric graphics explained
16GradiusCode your own Gradius-style Option sprites
17LemmingsRecreate the path-following critters from Lemmings
183D Monster MazeCode 3D Monster Maze’s nightmare setting
19Game FeatureMake your own arcade-style continue screen
20Duck HuntMake your own mini shooting gallery in Python
21Super SprintCode your very own top-down racing game
22ScrambleRecreate Scramble’s scrolling landscape
23Daley Thompson’s DecathlonCode your own Daley Thompson’s Decathlon-style minigame
24Donkey KongRecreate Donkey Kong’s deadly rolling barrels
25ColumnsCode your own Columns-style match-three puzzler
26PhoenixRecreate Phoenix’s pioneering mothership boss battle
27FroggerRecreate Konami’s Frogger in just a few lines of code
28Pokemon, Final Fantasy and UndertaleCreate your own turn-based combat system
29Flappy BirdCode your own addictive Flappy Bird homage
30Boulder DashCode your own Boulder Dash homage
31Spy HunterCode your own top-down rolling road
32Kung-Fu MasterCode your own brawler in the Kung-Fu Master mode
33ZaxxonMake a Zaxxon-style isometric scrolling map
34Marble MadnessCode your own version of Marble Madness
35Hyper SportsRemake Hyper Sports’ skeet shooting minigame
36Side PocketMake your own Side Pocket-style pool game
37Lunar LanderCode a modern take on Atari’s Lunar Lander coin-op
38Robotron: 2084Code Robotron: 2084’s twin-stick shooting action
39GauntletCode Gauntlet’s four-player mode in Python
40JetpacRecreate rocket-building action of the classic jetpac
41Time PilotFly through the clouds in an homage to Konami’s Time Pilot
42Q*bertRecreate Q*bert’s bouncy arcade antics in Pygame Zero
43Rally-XCreate a mini-map straight out of Konami’s Rally-X coin-op
44ArtilleryBefore Worms, there was Artillery. Here’s how to recreate it
45Tiger-HeliCode the tank-busting bomb from Toaplan’s Tiger-Heli
46Pipe ManiaMake your own Python take on a Pipe Mania puzzler
47TRONMake a Pyhton homage to TRON’s Light Cycle minigame
48PitfallGet into the swing with our Python homage to 1982’s Pitfall!
49Manic MinerMake some crumbly platforms straight out of Manic Miner
50GalaxianRecreate Galaxian’s iconic swooping alien invaders
51ExerionRemake the eye-popping 3D landscape from Exerion
52GradiusRecreate the blazing space volcanoes from 1985’s Gradius
53PinballHow to recreate Nintendo’s 1984 take on Pinball
54Crazy GolfCode a crazy golf game inspired by the ZX Spectrum
55Tranz AmMake your own top-down racer in Python and Pygame Zero
56Bubble BobbleMake a homage to Bubble Bobble in just a few lines of code
57Lords of MidnightProgram a new take on Lords of Midnight’s landscape engine
58Skate or DieCode a Skate or Die style half-pipe minigame in Python
59Bomb JackCode a homage to the arcade classic, Bomb Jack
60BraidMake a time-rewinding homage to the indie darling, Braid
61Legend of ZeldaMake a top-down homage to The Legend of Zelda
62Guitar HeroMake your own Guitar Hero-style rhythm action game
63Fire (Game & Watch)Make your own homage to Nintendo’s Game & Watch
64Super StardustMake an homage to Super Stardust
65Metal StormMake an homage to the nineties platformer, Metal Storm

Setting up Mission Python – Monterey Edition

When Sean McManus’s – Mission Python: Code a Space Adventure Game was first released I wrote a blog post on how to setup macOS to use the book.

Below are the updated steps for macOS 12.0 (Monterey) and the latest version on Python and Pygame Zero.

macOS 12.0 (Monterey) ships with Python3 but I would still recommend installing a second version as not to “upset” the OS native shipped version.

The book recommends Python 3.6.6 (at time of writing), I have based this post on Python 3.10.0 (which is the latest version at the time of me writing this).

Install Python 3.10.0

Download Python 3.10.0 from https://www.python.org/downloads/mac-osx/

Double click the installer and follow the on-screen instructions.

Once installed Open Terminal (Cmd+Spacebar, type Terminal, press Enter).

- Type which python3, at the prompt

You should get the below result-

/Library/Frameworks/Python.framework/Versions/3.10/bin/python

Install pip3

pip3 is installed with python, I would recommend updating it to the latest version (21.3.1) at the time of this writing, in Terminal>

- Type pip3 install --upgrade pip

- Type pip3 --version

You should get the below result-

pip 21.3.1 from /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip (python 3.10)

Install Pygame Zero

In Terminal>

- Type pip3 install pgzero

- Type pip3 show pgzero

You should see the below in the results-

Name: pgzero

Version: 1.2

Once the above has been completed, you are ready to test Mission Python on your Mac.

Download the Mission Code file from https://www.sean.co.uk/books/mission-python/index.shtm

Once the file has downloaded and unzipped from within Terminal move to the escape folder (I unzipped the into my Downloads folder to test).

- Open Terminal (Cmd+Spacebar, type Terminal, press Enter).
- Type cd Downloads
- Type cd escape
- Type pgzrun escape.py

Once you have done the above the game should start. You are now ready to begin your adventure with Mission Python.

Setting up Mission Python – Catalina Edition

A couple of years ago I picked up a copy of Sean McManus’s – Mission Python: Code a Space Adventure Game from No Starch Press.

In my opinion, it’s still a great book to get into coding a game in Python using Pygame Zero.

The book explains how to set up your adventure on a Windows PC and Raspberry Pi, but been a macOS user, I decided to post the steps below on to set up your adventure on a Mac.

Note – If you are using macOS 12.0 (Monterey), see my updated post here.

macOS 10.15 (Catalina) now ships with Python3 but I would recommend installing a second version as not to “upset” the OS native shipped version.

The book recommends Python 3.6.6 (at time of writing), I have based this post on Python 3.7.7 (I recommend not going to a higher version as Pygame Zero still has some install issues on the latest Python version 3.8.2).

Install Python 3.7.7

Download Python 3.7.7 from https://www.python.org/downloads/mac-osx/

Double click the installer and follow the on-screen instructions.

Once installed Open Terminal (Cmd+Spacebar, type Terminal, press Enter).

- Type which python3, at the prompt

You should get the below result-

/Library/Frameworks/Python.framework/Versions/3.7/bin/python

Install pip3

pip3 (19.2.3) is automatically installed with Python3 (3.7.7), I would recommend updating it to the latest, in Terminal>

- Type pip3 install --upgrade pip

- Type pip3 --version

You should get the below result-

pip 20.0.2 from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip (python 3.7)

Install Pygame Zero

In Terminal>

- Type pip3 install pgzero

- Type pip3 show pgzero

You should see the below in the results-

Name: pgzero

Version: 1.2

Once the above has been completed, you are ready to test Mission Python on your Mac.

Download the Mission Code file from https://www.sean.co.uk/books/mission-python/index.shtm

Once the file has downloaded and unzipped from within Terminal move to the escape folder (I unzipped the into my Downloads folder to test).

- Open Terminal (Cmd+Spacebar, type Terminal, press Enter).
- Type cd Downloads
- Type cd escape
- Type pgzrun escape.py

Once you have done the above the game should start. You are now ready to begin your adventure with Mission Python.