Skip to content

Remove some files left-over from the template. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# WorkAdventure Map Starter Kit

This is a starter kit to help you build your own map for [WorkAdventure](https://workadventu.re).
~~This is a starter kit to help you build your own map for [WorkAdventure](https://workadventu.re).~~

To understand how to use this starter kit, follow the tutorial at [https://workadventu.re/map-building](https://workadventu.re/map-building).
This is the rc3/2021 map for the [c-hack](https://c-hack.de)

![map](./map.png)

## Installation
## Using
### Local Installation

With npm installed (comes with [node](https://nodejs.org/en/)), run the following commands into a terminal in the root directory of this project:

Expand All @@ -17,6 +16,9 @@ npm run start

The project will run at http://localhost:8080/

### Deployed version from main branch

See https://c-hack.github.io/c-hack-hq/
## Licenses

This project contains multiple licenses:
Expand All @@ -29,4 +31,4 @@ This project contains multiple licenses:

If you add third party assets in your map, do not forget to:
1. Credit the author and license with the "tilesetCopyright" property present in the properties of each tilesets in the `map.json` file
2. Add the license text in LICENSE.assets
2. Add the license text in LICENSE.assets
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
path = path.substr(path, path.length - 'index.html'.length);
}
const instanceId = Math.random().toString(36).substring(2, 15);
const url = `https://play.workadventu.re/_/${instanceId}/${host}${path}map.json`;
const url = `https://play.workadventu.re/_/${instanceId}/${host}${path}main.json`;
document.getElementById('mapLink').href = url;
document.getElementById('mapLink2').href = url;
document.getElementById('mapLink').innerText = url;

const mapUrl = window.location.protocol+'//'+window.location.host+path+'map.json';
const mapUrl = window.location.protocol+'//'+window.location.host+path+'main.json';
document.getElementById('mapUrl').innerText = mapUrl;

const gettingStartedLink = 'https://workadventu.re/getting-started?name=Map&mapUrl='+mapUrl;
Expand Down
Loading