Git Product home page Git Product logo

ld51's Introduction

LD51

Repository for Ludum Dare 51 entry

Quick start guide

Install the necessary requirements:

Build game dependencies

npm install

Test your changes locally by running this command

sh build_dev.sh

You can then visit http://localhost to play the game. Any changes made will be automatically built. Refreshing the browser will sync new changes.

Running with docker

docker image build . --tag ld51

// Windows
docker run --interactive --mount type=bind,source=%cd%,target=/workspace -p 1234:80 ld51

// Macos & Linux
docker run --interactive --mount type=bind,source="$(pwd)",target=/workspace -p 1234:80 ld51

Open the container with vscode remote containers extension:

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers

cd /workspace
npm install
sh build_docker.sh

Then navigate to http://localhost:1234

Folder Structure

  • res
    • graphics - folder containing all the images/animations used by the game. The CompileArt script compiles this into a single png and placed into the site/public/img folder
  • site
    • public
      • audio - Contains all the audio used by the game
        • background - Contains the background song audios
      • img
    • src
      • client - Contains all the code ran on the web page (incl game)
      • server - All the code used to run the test server
      • scripts - Contains script to compile art into one image

ld51's People

Contributors

sanbyb avatar

Watchers

Callum Macmillan avatar

Forkers

sanbyb

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.