Skip to content

loopernow/dendry-starter-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

First of all, clone your forked repository.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published