Wireframe

Game Dev Cookbook: from the makers of Wireframe Magazine

By Ryan Lambie. Posted

Replicate mechanics and moments from dozens of classic games with the new, FREE digital book from Wireframe magazine.

In the Game Dev Cookbook you’ll find a curated selection of features from our magazine’s Toolbox section. Using the listings and instructions contained within, you’ll be able to get sprites moving around the screen, create simple physics simulations for everything from spaceships to ricocheting balls to swinging ropes over deadly pits.

Re-create the pioneering boss battle from Phoenix, Boulderdash’s falling rocks, Super Sprint’s top-down racing, and so much more in Python and Pygame Zero. And, thanks to the power of the internet, you’ll find all the code listings and associated assets on our Github – each mini tutorial contains a link to everything you’ll need.

Replicate the physics of Donkey Kong's rolling barrels. Just one of the code samples you'll find in the Game Dev Cookbook.

Once you’re feeling a bit more confident, you could even combine the projects published here to create something entirely new: how about a 2D platformer where you have to jump over pits while shooting away at the waves of enemies spiralling down from above? Or a driving game where you have to knock balls into goals for extra points? Start digging into the wealth of mechanics and snippets in this book, and you may just come up with the next indie hit.

Get your digital book as a free download, right here.

The projects in the Game Dev Cookbook are only a sample of what you’ll find in the Wireframe archives. If you subscribe to the magazine, you’ll find a new entry in the Source Code series every single month.

Make a top-down racer with AI drivers in just a few lines of code. We'll show you how.

Since you're here...

Published every month, Wireframe is the unique magazine that lifts the lid on video games. Aimed at gamers who want to go behind the scenes of their favourite hobby, Wireframe looks at how games are made, who makes them, and – thanks to our unique Toolbox section – shows you how to make games of your own.

WF-68 COVER-STORE

Every issue is packed with in-depth features, news, reviews, and previews, plus lively opinion pieces from developers and key industry figures. Want to know what it’s like to make one of the most reviled games of all time? Keen to find out more about the untold stories behind classics like Monkey Island, Castlevania, or Dead Space? Ever wondered how to make your own racing game? You’ll find all this and more every month in Wireframe magazine.

Buy in paper format or download a free PDF. Or get a subscription and save money on every issue - there really is a deal for every budget.

From Wireframe store

Subscribe