Skip to content

bcomb/playdate-cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playdate Cpp template

Fork from https://github.com/nstbayless/playdate-cpp

Prerequisite

Generate Solution

Generate msvc solution

cmake -S . -B build_sim -DPDCPP_BUILD_EXAMPLES=ON

Generate for the Playdate

From the x64 Native Tools Command Prompt for VS 2022

cmake -S . -B build_pd -DPDCPP_BUILD_EXAMPLES=ON -G "NMake Makefiles"--toolchain=%PLAYDATE_SDK_PATH%/C_API/buildsupport/arm.cmake -DCMAKE_BUILD_TYPE=Release`

cd build_pd

nmake clean && nmake && PlaydateSimulator ..\examples\application\Application.pdx

Deploy

From the emulator and only with the Playdate build do Upload Game To Device
Run Game On Device crash dunno why

Some examples

ShaderToy

Play with "shader", try to copy paste "as it" some incredible shader from awesome Shader Toy community

Use a blue noise dithering technique from Aras Pranckevičius

Rubic's cube, remote

About

C++ on playdate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 46.5%
  • C 40.5%
  • Linker Script 7.6%
  • Batchfile 4.2%
  • C++ 1.2%