Code Monkey home page Code Monkey logo

playdate-test-2's Introduction

Installation:

  1. Unlock Build and Run (Simulator).ps1 file if it's locked: open properties and click unlock in the bottom of the window.

  2. If you've installed Playdate SDK to the default path (Documents folder) then just run ADD_ENV_VARIABLE.cmd to add env variables:

    • PLAYDATE_SDK_PATH to Playdate SDK
    • Adds Playdate SDK's bin folder to PATH (if it is not already added) to create pdc shortcut

    !!! If you've changed default path - edit 6th line in ADD_ENV_VARIABLE.cmd, then run it.
    set SDKPATH="YOUR CUSTOM SDK PATH HERE"

    This should be done only once, you need to restart VSCode after this.

  3. Edit your Code.exe execatable (VSCode) to run with admin rights by default. You can find this file if you input this path to your explorer: %appdata%\..\Local\Programs\Microsoft VS Code
    Open PowerShell and change execution policy to RemoteSigned, so you can run closeSim.ps1 without admin rights:
    Enter Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser into PowerShell then hit Y.

  4. Open template folder with VSCode, install recomended extensions (popup will show in the lower right corner): Lua, Lua Plus. Then restart VSCode.

  5. If you want to change "build and run" key (default is Ctrl+Shift+B):

    • Ctrl + K, Ctrl + S
    • Change keybind for Tasks: Run Build Task (I've changed to F5)
  6. Your can find your main.lua file inside source folder. Press your "Run Build Task" button, you should see "Template" text in playdate simulator.

  7. Feel free to delete dvd.lua and all dvd-related lines from main.lua (marked -- DEMOO)

playdate-test-2's People

Contributors

shiul93 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.