Skip to content
Snippets Groups Projects
Commit 4b461cd2 authored by Tim Neumann's avatar Tim Neumann
Browse files

initial commit

parents
Branches
No related tags found
No related merge requests found
Pipeline #12515 passed with warnings
pages:
stage: deploy
script:
- mkdir .public
- cp index.html .public
- cp *.json .public
- cp -r assets .public
- mv .public public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
CODE LICENSE
MIT License
Copyright (c) 2021 TheCodingMachine
Copyright (c) 2021 Tim Neumann
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit
http://creativecommons.org/licenses/by-sa/4.0/.
# rc3-2021-map
The virtual loc for the rc3 2021
## Structure
The main map is in main.json
## License
There apply multiple licenses for different files in this repository.
- [The code license](LICENSE.code) for all files that are located outside the folder `assets` and do not end in `.json`(maps).
- e.g. the gitlab-ci definition or the index.html
- [The map license](LICENSE.map) for all `.json` files in the root directory of the repository (maps).
- e.g. the `main.json`
- Various different asset licenses as stated in each subfolder of `assets`
ASSETS LICENSE
(Notice)
Assets distributed with a map are subject to different licenses.
The license attributed to each tileset can be found or have to be added in the "tilesetCopyright" property of each tileset in the map.
In addition, you have to add a section below with the specific license of the asset you want to use.
WORKADVENTURE SPECIFIC RESOURCES LICENSE
The User shall handle assets with the WorkAdventure specific resources license as follows:
1. These Assets may be used only in maps produced for WorkAdventure (SAAS or self-hosted version).
2. These Assets may be modified (colors or size changed, inverted, trimmed, etc.) only for purposes of use in maps produced for WorkAdventure (SAAS or self-hosted version).
3. These Assets or those modified pursuant to the previous item may undergo Distribution, etc. with maps produced for WorkAdventure. Furthermore, the User may not perform Distribution, etc. of individual Assets or those modified, or Distribution, etc. in combination with programs, etc. other than the map. However, the User may duplicate, transfer, publicly transmit, or enable transmission of personally-modified Assets to other Authorized Users free of charge.
assets/workadventure/Special_Zones.png

10.7 KiB

assets/workadventure/tileset1-repositioning.png

24.3 KiB

assets/workadventure/tileset1.png

28.7 KiB

assets/workadventure/tileset5_export.png

22.7 KiB

assets/workadventure/tileset6_export.png

22.8 KiB

<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="https://unpkg.com/nes.css@2.3.0/css/nes.min.css" rel="stylesheet" />
<style>
.useful-width{
/* center the html elements */
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
</style>
<script>
window.onload = function() {
const host = window.location.host;
let path = window.location.pathname;
if (path.endsWith('index.html')) {
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}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+'main.json';
document.getElementById('mapUrl').innerText = mapUrl;
const gettingStartedLink = 'https://workadventu.re/getting-started?name=Map&mapUrl='+mapUrl;
document.getElementById('gettingStartedLink').href = gettingStartedLink;
};
</script>
</head>
<body>
<div class="useful-width">
<div style="text-align: center; margin-top: 3rem">
<img src="https://workadventu.re/img/logo.png" alt=""/>
</div>
<div class="nes-container with-title is-centered" style="margin-top: 3rem">
<p class="title">WorkAdventure map</p>
<p>This website contains a map for <a href="https://workadventu.re">Workadventu.re</a>.</p>
<p>It is built from <a href="https://git.cccv.de/c-tim/rc3-2021-map">https://git.cccv.de/c-tim/rc3-2021-map</a>.</p>
</div>
<div class="nes-container with-title is-centered" style="margin-top: 1rem">
<p class="title">Test this map</p>
<p>You can test this map at <a id="mapLink" href=""></a>.</p>
<p><a id="mapLink2" href="" class="nes-btn is-primary">Test this map</a></p>
</div>
</div>
</body>
</html>
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment