diff --git a/.gitignore b/.gitignore index 2e88287..3fa2a82 100644 --- a/.gitignore +++ b/.gitignore @@ -38,8 +38,7 @@ luac.out *.i*86 *.x86_64 *.hex - -.vscode +*.pdx builds/ diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..43b8162 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "sumneko.lua", + "jep-a.lua-plus", + "midouest.playdate-debug" + ] +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..20c89b4 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,12 @@ +// .vscode/launch.json +{ + "version": "0.2.0", + "configurations": [ + { + "type": "playdate", + "request": "launch", + "name": "Playdate: Debug", + "preLaunchTask": "${defaultBuildTask}" + } + ] + } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..88cbc1a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "Lua.runtime.version": "Lua 5.4", + "Lua.diagnostics.disable": ["undefined-global", "lowercase-global"], + "Lua.diagnostics.globals": ["playdate", "import"], + "Lua.runtime.nonstandardSymbol": ["+=", "-=", "*=", "/="], + "Lua.workspace.library": ["$PLAYDATE_SDK_PATH/CoreLibs"], + "Lua.workspace.preloadFileSize": 1000 +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..0c37713 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,26 @@ +// .vscode/tasks.json +{ + "version": "2.0.0", + "tasks": [ + { + "type": "pdc", + "problemMatcher": ["$pdc-lua", "$pdc-external"], + "label": "Playdate: Build" + }, + { + "type": "playdate-simulator", + "problemMatcher": ["$pdc-external"], + "label": "Playdate: Run" + }, + { + "label": "Playdate: Build and Run", + "dependsOn": ["Playdate: Build", "Playdate: Run"], + "dependsOrder": "sequence", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ] + } \ No newline at end of file diff --git a/NobleEngine-ProjectTemplate.code-workspace b/NobleEngine-ProjectTemplate.code-workspace new file mode 100644 index 0000000..362d7c2 --- /dev/null +++ b/NobleEngine-ProjectTemplate.code-workspace @@ -0,0 +1,7 @@ +{ + "folders": [ + { + "path": "." + } + ] +} \ No newline at end of file