Coder Social home page Coder Social logo

improved-waffle-sugar's Introduction

Dendry Starter Pack

This is a starter pack for Dendry games. It includes a basic game structure, a sample story, and a few useful extensions.

Getting Started

First, duplicate (fork) this repository by clicking the "Use this template" button in the top right.
image
and choose "create a new repository".

If you have a working node environment, we recommand running it locally (see below). Otherwise, you can do everything in the browser.

Running on github pages

Activate pages

In your forked repository, click the "Settings" button, then scroll down to the "Pages" section.
In the "Build and deploy" section, select the "Github Actions" option, then click "Save".
image

Edit the story

To open the github development environment by just pressing . in the browser.
image

It will allow you to modify the files in the repository directly from the browser.
Each time you're satisfied with your changes, save (commit) them by clicking the "Commit and push" button in the source control image menu. You'll need to add a "commit message" every time (it'll help you track your changes, but don't sweat it).

image

Publish the game

Each time you commit, it will automatically build the game and publish it on github pages (at the url https://YOURHANDLE.github.io/YOURREPONAME).
If an error occurs (because you made a mistake in your code), you can see the logs in the "Actions" tab.

Running locally

Install dependencies

Run npm install in the repository folder.

Build the game

Run npm run dendry make-html in the repository folder.
This will build the game and put the result in the out/html folder.

improved-waffle-sugar's People

Contributors

smwhr avatar

Watchers

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