Initial commit

This commit is contained in:
2023-09-29 19:07:15 +00:00
commit 2341e8711f
6 changed files with 70 additions and 0 deletions

10
src/Makefile Normal file
View File

@ -0,0 +1,10 @@
PLAYDATE_SDK_PATH := ~/playdate
GAME := Crong
all: build
build: clean
PLAYDATE_SDK_PATH=$(PLAYDATE_SDK_PATH) $(PLAYDATE_SDK_PATH)/bin/pdc -k main.lua ../$(GAME).pdx
clean:
rm -rf ../$(GAME).pdx

19
src/main.lua Normal file
View File

@ -0,0 +1,19 @@
import "CoreLibs/object"
import "CoreLibs/graphics"
import "CoreLibs/sprite"
import "CoreLibs/timer"
local gfx <const> = playdate.graphics
function setup()
end
function playdate.update()
playdate.timer.updateTimers()
gfx.sprite.update()
end
setup()