Giter Club home page Giter Club logo

stackz's Introduction

PlaydateCStarterDevcontainerApline

A hello world starter project for Lua Playdate games that uses an light debian devcontainer for the dev environment to stay sleek and small to run performantly anywhere without the need to install dev tools. Getting alpine to build with simulater compatible glibc shared libraries was not worth it compared to the speed of setup of just using a prebuilt deb image.

This assumes you are on some fairly normal distro of linux, you already have the sdk installed and have it located at /etc/PlaydateSDK and docker installed. The point of this starter is it relies on vs code devcontainers.

This is pretty much just for me so I have a repeatable containerized dev environment that will get me off the ground quickly for new projects regardless of what pc I'm on and not having to worry about build tools.

I'm sure if I was smart enough I could get the simulator to run inside the container too and have it route to the host but for now you need the simulator installed locally and for it to be added to you path.

In order to launch the simulator from the container, it uses local ssh and uses a shared volume of your ~/.ssh into the container so as long as you have localhost ssh set up, the container should be able to do so as well. If you have localhost ssh set up then ./run.sh should just "work" and luanch the pdx on your local system's simulator outside the devcontainer. Otherwise, ./build.sh should craft your pdx that you can then do with what you will.

stackz's People

Contributors

gpeye 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.