A downloadable book

Buy Now$9.99 USD or more


Whether you've never coded a game before or have years of experience under your belt, you'll learn the fundamentals of how to make games for Playdate using the Lua programming language. Make Games for Playdate with Lua covers how to program with Lua and the essential Playdate APIs. You'll make a handful of games to get you kickstarted on making your dream game for Playdate.

Have fun learning how to program games from scratch for Playdate!

Written in a fun and accessible style, Make Games for Playdate with Lua is a great way to get started learning game programming. The book is perfect for beginners. And if you've already made some games before, you'll feel right at home as you go through the chapters.

A level from the Sokoban chapter

You'll code a bunch of small games from scratch to learn everything to need to bring your game ideas to reality.

One of the joys of making games for Playdate is how simple it is and how quickly you can test your game on your game console. Playdate's limitations in resolution, input, and color make it perfect for someone just getting started making games.

No worries if you don't have a Playdate yet! You can make games for Playdate without having the console on hand. The Playdate SDK is free and available to download for all major operating systems.

Check out the free sample of the first three chapters to get a preview of the book.

Early access

Make Games for Playdate with Lua is actively being written, with the first draft complete. The book is in Early Access. It has not been thoroughly edited yet. The earlier you buy it, the cheaper it will be. You'll get updates for the book as they're released.

The book is currently about 95% complete, with the first draft done.

I'll send an email via itch.io when I've updated the book. You'll always be able to come back to this page and download the book as well.

What you'll learn

  • Programming basics with Lua—variables, functions, tables, conditionals and more
  • Game programming concepts
  • Handling user input
  • How to build and test your Playdate game
  • The most essential Playdate APIs
  • How to publish your Playdate game online

Table of contents

What's written:

  • Introduction — get yourself and your computer prepared for for making games for Playdate
  • Hello, Playdate! — display text and move it around the screen
  • Tennis — code a single-player Pong clone
  • Clock — make a simple clock using a custom font
  • Snake — learn about saving and loading data from Playdate, loops, and adding a menu option
  • Soaring — an infinite flier controlled with crank
  • Sokoban — building the classic box-pushing puzzler
  • Dungeon Crawler — a turn-based JRPG like Dragon Quest and Final Fantasy

Based on how the book is received, I'd like to continue to expand the content and explore recording video versions of the chapters.

Release log

  • Apr 10, 2026 - added Dungeon Cralwer - Part 2 chapter; first draft complete!
  • Nov 12, 2025 - added Dungeon Crawler - Part 1 chapter
  • Sep 7, 2025 - added Sokoban chapter
  • Feb 18, 2025 - added initial Playdate by Example chapter
  • Dec 16, 2024 - added Soaring chapter
  • Nov 24, 2024 - added Snake chapter
  • Nov 17, 2024 - initial Early Access launch 

Source code & related projects

The source code for the games from each chapter can be viewed online: https://github.com/brettchalupa/playdatebook Each chapter has its own folder, which contains a separate folder for each section to make it easier to follow along.

I also polished up the Snake chapter into its own game called PDSnake, which you can play https://brettchalupa.itch.io/pdsnake and view the source to help you learn https://github.com/brettchalupa/pdsnake/.

Purchase

Buy Now$9.99 USD or more

In order to download this book you must purchase it at or above the minimum price of $9.99 USD. You will get access to the following files:

Make Games for Playdate with Lua - First Draft 2026-04-10.epub 12 MB
Make Games for Playdate with Lua - First Draft 2026-04-10.pdf 6.8 MB

Download demo

Download
[SAMPLE] Make Games for Playdate with Lua - First Draft 2026-04-10.epub 7.6 MB
Download
[SAMPLE] Make Games for Playdate with Lua - First Draft 2026-04-10.pdf 3.9 MB

Development log

Comments

Log in with itch.io to leave a comment.

I'm wondering if this is still being worked on and how complete it is before I give it a shot. Been looking for a course like this!

(+1)

Yes, still working on it! I’ve been writing the final chapter. So the first draft is nearly complete. Then I’ll edit the book and revise it a bit, but I think there’s plenty there to get started.

I’ll pick it up then, thanks for the update and great work!

Thanks! I hope you enjoy it and make some fun games. I am working to try to finish the book completely over the next two months.

(+1)

Thanks a lot, purchased.

Thank you for you support, enjoy!

(2 edits)

Howdy! I’m loving the book so far and can’t wait to see the next update. I have found a few typos and misplaced lines of text. I understand it’s still being written, so I wanted to share that I am very interested in helping you edit the book! Feel free to reach out here on itch or emailing me (ochoa_at_julian8a.com) if you want some help with editing! Keep up the great work, Brett! It’s very inspiring stuff. 

(+1)

Thanks for the support, I really appreciate it! I will reach out via email about the typos. I’ve been a bit slow lately, but I’m back in a groove and have been working on the new chapters.

(+1)

Oh nice, I'd like to read that! Purchased.

Thanks for your support! If you have any feedback or requests, let me know.

(+1)

it's nice to see you're still making stuff!

(+1)

Thanks! Usually dabbling and experimenting but trying to get back in the groove of finishing stuff and sharing it.