Skip to content

A template for pure C games for the Playdate handheld console, using either CMake or Make (optionally with Nix)

Notifications You must be signed in to change notification settings

renpenguin/PlaydateTemplateForC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playdate C Project Template

A template for pure C games (just as the founding fathers intended) for the Playdate handheld console. This is intended to be used with make or nix develop -c make to automatically build with the arm compiler and playdate SDK installed through Nix. As with all playdate projects, make sure you have the playdate SDK path in your environment variables (guide available in the official Inside Playdate with C document).

This template automatically grabs all the c files in the src directory (and all sub-directories) so you dont have to manually add them to the Makefile. The setup stuff used by all playdate c projects is kept in main.c, so you can focus on making your game in game.c and any included module files.

I used this as the template for my own games, which you can find on my itch.io

About

A template for pure C games for the Playdate handheld console, using either CMake or Make (optionally with Nix)

Topics

Resources

Stars

Watchers

Forks