28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<script src="http://play.workadventure.localhost/iframe_api.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<script>
|
||
|
WA.changeTile([
|
||
|
{x: 0, y: 0, tile: 'Red', layer: 'changeTile'},
|
||
|
{x: 0, y: 1, tile: 'Red', layer: 'changeTile'},
|
||
|
{x: 0, y: 2, tile: 34, layer: 'changeTile'},
|
||
|
{x: 0, y: 3, tile: 34, layer: 'changeTile'},
|
||
|
{x: 0, y: 4, tile: 34, layer: 'changeTile'},
|
||
|
{x: 0, y: 5, tile: 34, layer: 'changeTile'},
|
||
|
{x: 0, y: 6, tile: 34, layer: 'changeTile'},
|
||
|
{x: 0, y: 7, tile: 34, layer: 'changeTile'},
|
||
|
{x: 0, y: 8, tile: 34, layer: 'changeTile'},
|
||
|
{x: 0, y: 9, tile: 34, layer: 'changeTile'}
|
||
|
]);
|
||
|
WA.changeTile([
|
||
|
{x: 6, y: 4, tile: 'blue', layer: 'changeTile'},
|
||
|
{x: 7, y: 4, tile: 'blue', layer: 'changeTile'},
|
||
|
{x: 8, y: 4, tile: 'blue', layer: 'changeTile'},
|
||
|
{x: 9, y: 4, tile: 'blue', layer: 'changeTile'}
|
||
|
]);
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|