Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.31 KB

File metadata and controls

35 lines (24 loc) · 1.31 KB

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