Bläddra i källkod

Initial commit

pull/3/head
Heuzef 1 år sedan
committed by GitHub
incheckning
99516d2048
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 4AEE18F83AFDEB23
27 ändrade filer med 5537 tillägg och 0 borttagningar
  1. +40
    -0
      .github/workflows/build-and-deploy.yml
  2. +24
    -0
      .gitignore
  3. +17
    -0
      LICENSE.assets
  4. +12
    -0
      LICENSE.code
  5. +66
    -0
      LICENSE.map
  6. +54
    -0
      README.md
  7. +238
    -0
      index.html
  8. +584
    -0
      maps/map.json
  9. Binär
      maps/map.png
  10. +4376
    -0
      package-lock.json
  11. +21
    -0
      package.json
  12. +3
    -0
      public/README.md
  13. +3
    -0
      src/README.md
  14. +36
    -0
      src/main.ts
  15. +3
    -0
      tilesets/README.md
  16. Binär
      tilesets/WA_Decoration.png
  17. Binär
      tilesets/WA_Exterior.png
  18. Binär
      tilesets/WA_Logo_Long.png
  19. Binär
      tilesets/WA_Miscellaneous.png
  20. Binär
      tilesets/WA_Other_Furniture.png
  21. Binär
      tilesets/WA_Room_Builder.png
  22. Binär
      tilesets/WA_Seats.png
  23. Binär
      tilesets/WA_Special_Zones.png
  24. Binär
      tilesets/WA_Tables.png
  25. Binär
      tilesets/WA_User_Interface.png
  26. +35
    -0
      tsconfig.json
  27. +25
    -0
      vite.config.ts

+ 40
- 0
.github/workflows/build-and-deploy.yml Visa fil

@@ -0,0 +1,40 @@
name: Optimize map and deploy

on: [ push ]

permissions:
contents: write
pages: write
actions: write

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- name: "Install dependencies"
run: npm install

- name: "Build scripts"
run: npm run build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
if: github.ref == 'refs/heads/master'
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: dist/ # The folder the action should deploy.
BASE_BRANCH: master

- name: Bash2
run: |
ls -al

+ 24
- 0
.gitignore Visa fil

@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

+ 17
- 0
LICENSE.assets Visa fil

@@ -0,0 +1,17 @@
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.

+ 12
- 0
LICENSE.code Visa fil

@@ -0,0 +1,12 @@
CODE LICENSE


MIT License

Copyright (c) 2021 TheCodingMachine

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.

+ 66
- 0
LICENSE.map Visa fil

@@ -0,0 +1,66 @@
MAP LICENSE


https://creativecommons.org/licenses/by-sa/3.0/

THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.

BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.

1. Definitions

a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License.
c. "Creative Commons Compatible License" means a license that is listed at https://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License.
d. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
e. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike.
f. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
g. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
h. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
i. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
j. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
k. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.

2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.

3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:

a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
d. to Distribute and Publicly Perform Adaptations.
e. For the avoidance of doubt:
i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.

The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.

4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:

a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested.
b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License.
c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.

5. Representations, Warranties and Disclaimer

UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.

6. Limitation on Liability.

EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. Termination

a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.

8. Miscellaneous

a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.

+ 54
- 0
README.md Visa fil

@@ -0,0 +1,54 @@
# WorkAdventure Map Starter Kit

![map](./maps/map.png)

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

## Structure
* *maps*: Map files
* *map.(json/tmj)*: Map file
* *map.png*: The map thumbnail displayed on the in-game map information
* *public*: Static files like PDFs
* *src*: Source files like scripts or PSDs.
* *tilesets*: All tilesets

If you want to use more than one map file, just add the new map file in the /maps folder.

If you are going to create custom websites to embed in the map, please reference the HTML files in the `input` option in *vite.config.js*.

## Requirements

Node.js version >=16

## 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:

```shell
npm install
npm run dev
```

## Test production map

You can test the optimized map as it will be in production:
```sh
npm run build
npm run preview
```

## Licenses

This project contains multiple licenses as follows:

* [Code license](./LICENSE.code) *(all files except those for other licenses)*
* [Map license](./LICENSE.map) *(`map.json` and the map visual as well)*
* [Assets license](./LICENSE.assets) *(the files inside the `src/assets/` folder)*

### About third party assets

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

+ 238
- 0
index.html Visa fil

@@ -0,0 +1,238 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="robots" content="noindex">
<meta name="title" content="WorkAdventure Starter Kit">

<link rel="icon" href="https://workadventu.re/favicon-96x96.png">
<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" />
<title>WorkAdventure Starter Kit</title>
<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}maps/map.json`;
document.getElementById('testMapURL').href = url;
document.getElementById('testMapBtnURL').href = url;
document.getElementById('testMapURL').innerText = url;

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

const gettingStartedLink = 'https://workadventu.re/getting-started?name=Map&mapUrl=' + jsonURL;
document.getElementById('gettingStartedLink').href = gettingStartedLink;

};
</script>
<style>
body {
font-size: 16px;
font-family: 'Open Sans', sans-serif;
max-width: 800px;
margin: auto !important;
text-align: center;
}

h1,
h2 {
font-weight: bold;
}

header {
margin: 30px;
}

header .logo {
display: block;
position: relative;
}

header .logo img {
display: block;
width: 500px;
margin: auto;
text-align: center;
}

main {
margin-bottom: 30px;
}

.socials img {
width: 30px;
height: 30px;
}

.socials>a {
display: inline-block;
margin: 20px 5px;
}

.content {
width: 100%;
position: relative;
z-index: 99999;
}

.content>h2 {
padding: 1rem 5vw;
max-width: 1200px;
}

a.button {
display: inline-block;
padding: 13px 20px 12px;
background: rgba(20, 48, 76, 0.9);
color: white;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
text-align: center;
width: auto;
position: relative;
font-size: 1.8em;
margin-top: 2rem;
}

a.button:hover {
top: -3px;
background: rgba(20, 48, 76);
cursor: pointer;
color: white;
}


.maps {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}

.map {
width: 30%;
margin-bottom: 3%;
min-width: 200px;
}

.map a,
.map img {
width: 100%;
display: block;
}

.map a.button {
display: inline-block;
width: auto;
margin: 1rem auto;
}

.url {
font-family: 'Courier New', Courier, monospace;
font-size: 14px;
}

footer {
display: block;
font-size: 1.2em;
padding: 2rem 5vw;
}


/*/ MEDIA QUERIES START HERE /*/
@media (max-width: 768px) {
/* Hand Held Device */

body {
font-size: 13px;
}

.logo img {
width: 60vw;
}

.content {
padding: 1rem;
}

.maps {
gap: 1rem;
}

.map {
width: 47%;
margin-bottom: 3%;
min-width: 200px;
}

}
</style>
</head>

<body>
<header>
<div class="logo">
<a href="https://workadventu.re/" target="_blank" title="Workadventure"><img
src="https://workadventu.re/images/general/logo.svg" alt="WorkAdventure logo" /></a>
</div>
</header>
<main>
<div class="nes-container with-title is-centered" style="margin-top: 3rem">
<p class="title">Useful links</p>
<div class="content">
<div class="socials">
<a href="https://discord.gg/G6Xh9ZM9aR" target="_blank" title="discord">
<img src="https://workadventu.re/images/social/discord.png" alt="discord">
</a>
<a href="https://github.com/thecodingmachine/workadventure" target="_blank" title="github">
<img src="https://workadventu.re/images/social/github.png" alt="github">
</a>
<a href="https://www.youtube.com/channel/UCXJ9igV-kb9gw1ftR33y5tA" target="_blank" title="youtube">
<img src="https://workadventu.re/images/social/youtube.png" alt="youtube">
</a>
<a href="https://twitter.com/Workadventure_" target="_blank" title="twitter">
<img src="https://workadventu.re/images/social/twitter.png" alt="twitter">
</a>
<a href="https://www.instagram.com/workadventure_" target="_blank" title="instagram">
<img src="https://workadventu.re/images/social/instagram.png" alt="instagram">
</a>
<a href="https://www.linkedin.com/company/workadventu-re" target="_blank" title="linkedin">
<img src="https://workadventu.re/images/social/linkedin.png" alt="linkedin">
</a>
</div>

<div class="help">
<a href="https://www.youtube.com/watch?v=lu1IZgBJJD4&list=PL7jmrMKZfjCnz36FvezxJ-Tshuh3Zz-nc&ab_channel=WorkAdventure"
class="nes-btn is-primary" target="_blank">Watch tutorials</a>
<a href="https://discord.gg/G6Xh9ZM9aR" class="nes-btn is-primary" target="_blank">Talk to the
community</a>
</div>
</div>
</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="testMapURL" href="" class="url"></a></p>
<p><a id="testMapBtnURL" href="" class="nes-btn is-primary">Test this map</a></p>
</div>

<div class="nes-container with-title is-centered" style="margin-top: 1rem">
<p class="title">Happy with the result?</p>
<p>Register your room on Workadventu.re</p>
<p><a id="gettingStartedLink" href="" class="nes-btn is-primary">Publish this map</a></p>
<p>or copy and paste the map URL in WorkAdventu.re's administration panel:</p>
<p><span id="jsonURL" class="url"></span></p>
</div>
</main>
<footer><a href="https://workadventu.re/" target="_blank" title="workadventu.re">&copy; WorkAdventure</a></footer>
</body>

</html>

+ 584
- 0
maps/map.json Visa fil

@@ -0,0 +1,584 @@
{ "compressionlevel":-1,
"height":21,
"infinite":false,
"layers":[
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0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, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 735, 735, 735, 735, 735, 735, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 735, 735, 735, 735, 735, 735, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 735, 735, 735, 735, 735, 735, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, 0,
0, 0, 0, 0, 0, 725, 725, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 725, 725, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 725, 725, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461,
2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461,
2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461,
2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461, 2461],
"height":21,
"id":4,
"name":"floor",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":31,
"x":0,
"y":0
},
{
"data":[403, 479, 479, 479, 479, 479, 479, 535, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 535, 479, 479, 479, 479, 479, 479, 479, 404,
477, 578, 578, 578, 578, 578, 578, 477, 578, 578, 578, 578, 578, 578, 578, 578, 578, 578, 578, 578, 578, 578, 477, 578, 578, 578, 578, 578, 578, 578, 477,
477, 603, 603, 603, 603, 603, 603, 477, 603, 603, 603, 603, 603, 603, 603, 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, 0, 0, 0, 0, 0, 0, 477, 0, 0, 0, 0, 0, 0, 0, 477,
428, 479, 479, 479, 438, 0, 0, 440, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 485, 479, 479, 479, 479, 479, 479, 479, 429,
685, 685, 685, 685, 685, 0, 0, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685,
685, 685, 685, 685, 685, 0, 0, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":21,
"id":9,
"name":"walls",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":31,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1827, 1828, 1829, 1830, 1831, 1832, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2847, 2849, 2849, 2849, 2849, 2846, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2339, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2743, 2922, 2926, 2926, 2926, 2926, 2926, 2923, 0, 0, 0, 2339,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2928, 2366, 2367, 0, 2366, 2367, 2929, 2310, 2311, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2928, 2391, 2392, 2417, 2391, 2392, 2929, 0, 0, 0, 0,
2412, 2411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2925, 2927, 2927, 2927, 2927, 2927, 2924, 0, 0, 0, 0],
"height":21,
"id":44,
"name":"belowFurniture",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":31,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1150, 1151, 0, 187, 0, 0, 1150, 1151, 0, 0, 0, 0, 0, 0, 142, 143, 144, 0, 0, 0,
0, 0, 1375, 1376, 1376, 1377, 0, 0, 0, 0, 0, 1175, 1176, 0, 0, 0, 0, 1175, 1176, 0, 0, 0, 0, 0, 0, 152, 153, 154, 0, 0, 0,
0, 1434, 1388, 1389, 1389, 1390, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 162, 163, 164, 0, 0, 0,
0, 1447, 0, 0, 0, 0, 1411, 0, 0, 0, 1494, 1569, 1569, 1495, 0, 0, 1494, 1569, 1569, 1495, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1612, 1613, 0, 1424, 0, 0, 0, 0, 1569, 1569, 0, 0, 0, 0, 1569, 1569, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1494, 1569, 1569, 1495, 0, 0, 1494, 1569, 1569, 1495, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 250, 251, 0, 0, 0, 1579, 1579, 0, 0, 0, 0, 1579, 1579, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1627, 1628, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1494, 1572, 1574, 1495, 0, 0,
0, 1637, 1638, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1496, 1497, 1496, 1497, 1496, 1497, 0, 0, 0, 0, 0, 0, 0, 1494, 2147485222, 1574, 1495, 0, 0,
0, 1647, 1648, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1509, 1510, 1509, 1510, 1509, 1510, 0, 0, 0, 0, 0, 0, 0, 1494, 2147485222, 1574, 1495, 0, 0,
0, 1657, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1567, 1570, 1570, 1570, 1570, 1568, 0, 0, 0, 0, 0, 0, 0, 1494, 2147485222, 1574, 1495, 0, 0,
0, 1667, 1668, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1498, 1499, 1498, 1499, 1498, 1499, 0, 0, 0, 0, 0, 0, 0, 0, 1582, 1584, 0, 0, 0,
0, 171, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1511, 1512, 1511, 1512, 1511, 1512, 0, 2147483795, 2147483794, 2147483793, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1911, 1912, 1913, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1936, 1937, 1938, 0, 0,
0, 1518, 1519, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1518, 1519, 1961, 1962, 1963, 0, 0,
1521, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1525, 0, 1734, 1735, 0, 1525, 0, 0, 0, 0, 0, 0, 0, 0, 1522, 0, 0, 0, 0,
1534, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1525, 0, 1744, 1745, 0, 1525, 0, 0, 0, 0, 0, 0, 0, 0, 1535, 2313, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1836, 1837, 0, 0],
"height":21,
"id":1,
"name":"furniture",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":31,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 167, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1577, 1580, 1580, 1580, 1580, 1578, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 169, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1908, 1909, 1910,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1933, 1934, 1935,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1958, 1959, 1960,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":21,
"id":33,
"name":"aboveFurniture",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":31,
"x":0,
"y":0
},
{
"draworder":"topdown",
"id":2,
"name":"floorLayer",
"objects":[
{
"class":"",
"height":61.6672851518306,
"id":12,
"name":"clockPopup",
"rotation":0,
"visible":true,
"width":93.7162209047986,
"x":483.919325398621,
"y":14.0269116471316
},
{
"class":"area",
"height":128,
"id":13,
"name":"jitsiChillZone",
"properties":[
{
"name":"focusable",
"type":"bool",
"value":true
},
{
"name":"jitsiRoom",
"type":"string",
"value":"ChillZone"
},
{
"name":"jitsiTrigger",
"type":"string",
"value":"onaction"
},
{
"name":"zoom_margin",
"type":"float",
"value":1
}],
"rotation":0,
"visible":true,
"width":192,
"x":32,
"y":96
},
{
"class":"area",
"height":128,
"id":14,
"name":"silentZone",
"properties":[
{
"name":"silent",
"type":"bool",
"value":true
}],
"rotation":0,
"visible":true,
"width":224,
"x":640,
"y":544
},
{
"class":"area",
"height":224,
"id":16,
"name":"jitsiMeetingRoom",
"properties":[
{
"name":"focusable",
"type":"bool",
"value":true
},
{
"name":"jitsiRoom",
"type":"string",
"value":"MeetingRoom"
},
{
"name":"jitsiTrigger",
"type":"string",
"value":"onaction"
},
{
"name":"zoom_margin",
"type":"float",
"value":1
}],
"rotation":0,
"visible":true,
"width":192,
"x":768,
"y":224
},
{
"class":"area",
"height":39.6969696969697,
"id":17,
"name":"clock",
"rotation":0,
"visible":true,
"width":50.2727272727272,
"x":438.484848484849,
"y":96.3333333333333
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1559, 1559, 0, 0, 0, 0, 1559, 1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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":21,
"id":27,
"name":"abovePlayer2",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":31,
"x":0,
"y":0
}],
"nextlayerid":51,
"nextobjectid":18,
"orientation":"orthogonal",
"properties":[
{
"name":"mapCopyright",
"type":"string",
"value":"Credits: WorkAdventure (https:\/\/WorkAdventu.re) \nLicense: CC-BY-SA 3.0 (http:\/\/creativecommons.org\/licenses\/by-sa\/3.0\/)"
},
{
"name":"mapDescription",
"type":"string",
"value":"A perfect virtual office to get started with WorkAdventure!"
},
{
"name":"mapImage",
"type":"string",
"value":"map.png"
},
{
"name":"mapName",
"type":"string",
"value":"Office"
},
{
"name":"script",
"type":"string",
"value":"/src\/main.ts"
}],
"renderorder":"right-down",
"tiledversion":"1.9.2",
"tileheight":32,
"tilesets":[
{
"columns":6,
"firstgid":1,
"image":"..\/tilesets\/WA_Special_Zones.png",
"imageheight":64,
"imagewidth":192,
"margin":0,
"name":"WA_Special_Zones",
"spacing":0,
"tilecount":12,
"tileheight":32,
"tiles":[
{
"id":2,
"properties":[
{
"name":"collides",
"type":"bool",
"value":true
}]
}],
"tilewidth":32
},
{
"columns":12,
"firstgid":13,
"image":"..\/tilesets\/WA_Decoration.png",
"imageheight":256,
"imagewidth":384,
"margin":0,
"name":"WA_Decoration",
"spacing":0,
"tilecount":96,
"tileheight":32,
"tilewidth":32
},
{
"columns":10,
"firstgid":109,
"image":"..\/tilesets\/WA_Miscellaneous.png",
"imageheight":352,
"imagewidth":320,
"margin":0,
"name":"WA_Miscellaneous",
"spacing":0,
"tilecount":110,
"tileheight":32,
"tilewidth":32
},
{
"columns":12,
"firstgid":219,
"image":"..\/tilesets\/WA_Other_Furniture.png",
"imageheight":416,
"imagewidth":384,
"margin":0,
"name":"WA_Other_Furniture",
"spacing":0,
"tilecount":156,
"tileheight":32,
"tilewidth":32
},
{
"columns":25,
"firstgid":375,
"image":"..\/tilesets\/WA_Room_Builder.png",
"imageheight":1280,
"imagewidth":800,
"margin":0,
"name":"WA_Room_Builder",
"spacing":0,
"tilecount":1000,
"tileheight":32,
"tilewidth":32
},
{
"columns":13,
"firstgid":1375,
"image":"..\/tilesets\/WA_Seats.png",
"imageheight":448,
"imagewidth":416,
"margin":0,
"name":"WA_Seats",
"spacing":0,
"tilecount":182,
"tileheight":32,
"tilewidth":32
},
{
"columns":10,
"firstgid":1557,
"image":"..\/tilesets\/WA_Tables.png",
"imageheight":864,
"imagewidth":320,
"margin":0,
"name":"WA_Tables",
"spacing":0,
"tilecount":270,
"tileheight":32,
"tilewidth":32
},
{
"columns":6,
"firstgid":1827,
"image":"..\/tilesets\/WA_Logo_Long.png",
"imageheight":32,
"imagewidth":192,
"margin":0,
"name":"WA_Logo_Long",
"spacing":0,
"tilecount":6,
"tileheight":32,
"tilewidth":32
},
{
"columns":25,
"firstgid":1833,
"image":"..\/tilesets\/WA_Exterior.png",
"imageheight":1088,
"imagewidth":800,
"margin":0,
"name":"WA_Exterior",
"spacing":0,
"tilecount":850,
"tileheight":32,
"tilewidth":32
},
{
"columns":13,
"firstgid":2683,
"image":"..\/tilesets\/WA_User_Interface.png",
"imageheight":672,
"imagewidth":416,
"margin":0,
"name":"WA_User_Interface",
"spacing":0,
"tilecount":273,
"tileheight":32,
"tilewidth":32
}],
"tilewidth":32,
"type":"map",
"version":"1.9",
"width":31
}

Binär
maps/map.png Visa fil

Före Efter
Bredd: 500  |  Höjd: 339  |  Storlek: 130 KiB

+ 4376
- 0
package-lock.json
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 21
- 0
package.json Visa fil

@@ -0,0 +1,21 @@
{
"name": "workadventure-map-starter-kit",
"version": "3.2.1",
"license": "MIT",
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"devDependencies": {
"@types/node": "^18.11.18",
"typescript": "^4.9.4",
"vite": "^4.0.3",
"wa-map-optimizer-vite": "^1.1.10"
},
"dependencies": {
"@workadventure/iframe-api-typings": "^1.14.8",
"@workadventure/scripting-api-extra": "^1.4.6"
}
}

+ 3
- 0
public/README.md Visa fil

@@ -0,0 +1,3 @@
# WorkAdventure Map Starter Kit - Public Folder

In this directory you can put static files (audio files, PDFs, videos, images except tileset...) that you want to be present to the players.

+ 3
- 0
src/README.md Visa fil

@@ -0,0 +1,3 @@
# WorkAdventure Map Starter Kit - Src Folder

In this directory you can put your scripts and other source code files.

+ 36
- 0
src/main.ts Visa fil

@@ -0,0 +1,36 @@
/// <reference types="@workadventure/iframe-api-typings" />

import { bootstrapExtra } from "@workadventure/scripting-api-extra";

console.log('Script started successfully');

let currentPopup: any = undefined;

// Waiting for the API to be ready
WA.onInit().then(() => {
console.log('Scripting API ready');
console.log('Player tags: ',WA.player.tags)

WA.room.area.onEnter('clock').subscribe(() => {
const today = new Date();
const time = today.getHours() + ":" + today.getMinutes();
currentPopup = WA.ui.openPopup("clockPopup", "It's " + time, []);
})

WA.room.area.onLeave('clock').subscribe(closePopup)

// The line below bootstraps the Scripting API Extra library that adds a number of advanced properties/features to WorkAdventure
bootstrapExtra().then(() => {
console.log('Scripting API Extra ready');
}).catch(e => console.error(e));

}).catch(e => console.error(e));

function closePopup(){
if (currentPopup !== undefined) {
currentPopup.close();
currentPopup = undefined;
}
}

export {};

+ 3
- 0
tilesets/README.md Visa fil

@@ -0,0 +1,3 @@
# WorkAdventure Map Starter Kit - Tilesets Folder

In this directory you should place the tileset files (PNGs) used to create your maps.

Binär
tilesets/WA_Decoration.png Visa fil

Före Efter
Bredd: 384  |  Höjd: 256  |  Storlek: 21 KiB

Binär
tilesets/WA_Exterior.png Visa fil

Före Efter
Bredd: 800  |  Höjd: 1088  |  Storlek: 355 KiB

Binär
tilesets/WA_Logo_Long.png Visa fil

Före Efter
Bredd: 192  |  Höjd: 32  |  Storlek: 25 KiB

Binär
tilesets/WA_Miscellaneous.png Visa fil

Före Efter
Bredd: 320  |  Höjd: 352  |  Storlek: 19 KiB

Binär
tilesets/WA_Other_Furniture.png Visa fil

Före Efter
Bredd: 384  |  Höjd: 416  |  Storlek: 44 KiB

Binär
tilesets/WA_Room_Builder.png Visa fil

Före Efter
Bredd: 800  |  Höjd: 1280  |  Storlek: 44 KiB

Binär
tilesets/WA_Seats.png Visa fil

Före Efter
Bredd: 416  |  Höjd: 448  |  Storlek: 24 KiB

Binär
tilesets/WA_Special_Zones.png Visa fil

Före Efter
Bredd: 192  |  Höjd: 64  |  Storlek: 57 KiB

Binär
tilesets/WA_Tables.png Visa fil

Före Efter
Bredd: 320  |  Höjd: 864  |  Storlek: 37 KiB

Binär
tilesets/WA_User_Interface.png Visa fil

Före Efter
Bredd: 416  |  Höjd: 672  |  Storlek: 13 KiB

+ 35
- 0
tsconfig.json Visa fil

@@ -0,0 +1,35 @@
{
"compilerOptions": {
"outDir": "./dist/",
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": [
"ESNext",
"DOM"
],
"allowJs": true,
"moduleResolution": "Node",
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"noEmit": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"skipLibCheck": true
},
"include": [
"src"
]
}

+ 25
- 0
vite.config.ts Visa fil

@@ -0,0 +1,25 @@
import { defineConfig } from "vite";
import { getMapsOptimizers, getMapsScripts } from "wa-map-optimizer-vite";

export default defineConfig({
base: "./",
build: {
rollupOptions: {
input: {
index: "./index.html",
...getMapsScripts("./maps"),
},
},
},
plugins: [...getMapsOptimizers(undefined, "./maps")],
server: {
host: "localhost",
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, PATCH, OPTIONS",
"Access-Control-Allow-Headers": "X-Requested-With, content-type, Authorization",
"Cache-Control": "no-cache, no-store, must-revalidate",
},
open: "/",
},
});

Laddar…
Avbryt
Spara