Skip to content
Snippets Groups Projects
Commit cc8a3933 authored by kinsky's avatar kinsky
Browse files

start

parents
Branches main
No related tags found
No related merge requests found
Showing
with 117 additions and 0 deletions
node_modules
dist
*~
*.tiled-project
*.tiled-session
*.kra
src/assets/slub
\ No newline at end of file
src/assets/christmastree.png by yd CC-BY 3.0 https://opengameart.org/content/snow (changed)
src/assets/df_dk_0000787_32e.png Public Domain http://www.deutschefotothek.de/documents/obj/70301690
src/assets/df_single.png Public Domain http://www.deutschefotothek.de/documents/obj/70301690
Foto: SLUB Dresden / Henrik Ahlers CC-BY-SA https://de.m.wikipedia.org/wiki/Datei:Aussenaufnahme_der_SLUB_Dresden_(17932774691)_(2).jpg
src/assets/snow_on_stones.png by yd CC-BY 3.0 https://opengameart.org/content/snow
src/assets/SnowyTrees.png by yd CC-BY 3.0 https://opengameart.org/content/snow
src/assets/snowman.png by Azzarc CC0 https://opengameart.org/content/snowman-2
src/assets/WinterDeko2.png: blankhouse3x2 by Shepardskin CC0 https://opengameart.org/content/house-sets
logo candy by Melle CC0 https://opengameart.org/node/108667
holiday-pack 2016 by Kenney CC0 https://opengameart.org/content/holiday-pack-2016
Cainos asset pack:
src/assets/TX Tileset Grass.png by cainos https://cainos.itch.io/pixel-art-top-down-basic
src/assets/TX Shadow Plant_grey51.png by cainos https://cainos.itch.io/pixel-art-top-down-basic (changed)
src/assets/TX Plant.png by cainos https://cainos.itch.io/pixel-art-top-down-basic
src/assets/TX Probs.png by cainos https://cainos.itch.io/pixel-art-top-down-basic
cainos asset pack can be used in both free and commercial projects. You can modify it to suit your own needs. Credit is not needed but appreciated. You may not redistribute it or resell it.
<!doctype html>
<html lang="en">
<head>
<script src="https://play.workadventu.re/iframe_api.js"></script>
</head>
<body>
<p>Anleitung<br>
Anleitung<br>
</p>
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<script src="https://play.workadventu.re/iframe_api.js"></script>
</head>
<body>
testseite iframe mit Chat Robot
</body>
</html>
<script>
WA.chat.sendChatMessage('Hello world', 'Chat Robot');
WA.chat.sendChatMessage('Hi', 'Chat Robot');
</script>
<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}showroom.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';
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>
</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 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">Create a new room</a></p>
<p>or copy and paste the map URL in WorkAdventu.re's administration panel:</p>
<p><span id="mapUrl" style="color: gray" /></p>
</div>
</div>
</body>
</html>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/assets/SnowyTrees.png

104 KiB

src/assets/TX Plant.png

63.7 KiB

src/assets/TX Props.png

84.5 KiB

src/assets/TX Shadow Plant_grey51.png

7.47 KiB

src/assets/TX Tileset Grass.png

10.8 KiB

src/assets/WinterDeko2.png

121 KiB

src/assets/df_dk_0000787_32b.jpg

344 KiB

src/assets/df_dk_0000787_32e.png

1.35 MiB

src/assets/df_single.png

77.9 KiB

src/assets/magecity_Hyptosis.png

163 KiB

src/assets/pipo.png

395 KiB

src/assets/showroom.png

52.6 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment