-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
UnbelievableFlavour edited this page Sep 5, 2022
·
2 revisions
Q: Im getting the following error during compiling. What do I do?
> Executing task: Playdate: Build <
Command failed: pdc "c:\Playdate Dev\Cotton-master\source" "c:\Playdate Dev\Cotton-master\Cotton"
'pdc' is not recognized as an internal or external command,
operable program or batch file.
The terminal process failed to launch (exit code: 1).
A: This means the environment variables have not been set OR the SDK has not been installed correctly.
Q: Why is my map rendered very big or small when I didn't set the renderScale
? ?
A: Make sure you didn't name the tilesets the same but with different size. They are cached in the .pdx
file.
Example:
If you have a tileset bw_table-16-16.png
, then DONT add a bw_table-8-8.png
.
To fix:
- Rename the image
- Correct the image paths in
LDtk
, - Throw away the
.pdx
file. - Build again.
Q: Game crashes on start on actual device. Following error occurs:
stack traceback:
core/CoreGame.lua:215: in local 'fn'
core/lieb/call.lua:10 in function 'call'
core/lieb/scene.lua:119: in field 'update'
main.lua:31: in function main.lua:28
A: Using the fast loader is required on actual devices. Go to Source/config.lua and make sure useFastLoader = true
.