Merge pull request #13 from ValdoTR/new-map

Update map (remove old tilesets)
pull/14/head
David Négrier 2 years ago committed by GitHub
commit 1e1930663d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. BIN
      floortileset.png
  2. 993
      map.json
  3. 8089
      package-lock.json
  4. BIN
      src/assets/ALL.png
  5. BIN
      src/assets/tileset1-repositioning.png
  6. BIN
      src/assets/tileset1.png
  7. BIN
      src/assets/tileset4_export.png
  8. BIN
      src/assets/tileset5_export.png
  9. BIN
      src/assets/tileset6_export.png
  10. 19
      src/index.ts
  11. BIN
      tilesets_deviant_milkian_1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

File diff suppressed because one or more lines are too long

8089
package-lock.json generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

@ -1,7 +1,18 @@
/// <reference path="../node_modules/@workadventure/iframe-api-typings/iframe_api.d.ts" />
// You can write your WorkAdventure script here, if any.
// The "WA" global object is available from anywhere.
let currentPopup: any = undefined;
const today = new Date();
const time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds();
console.log('Script started successfully');
WA.openCoWebSite('https://workadventu.re');
WA.onEnterZone('clock', () => {
currentPopup = WA.openPopup("clockPopup","It's " + time,[]);
})
WA.onLeaveZone('clock', closePopUp)
function closePopUp(){
if (currentPopup !== undefined) {
currentPopup.close();
currentPopup = undefined;
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Loading…
Cancel
Save