diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts
index 464c3ca4..a1b5e98e 100644
--- a/front/src/Phaser/Game/GameScene.ts
+++ b/front/src/Phaser/Game/GameScene.ts
@@ -86,7 +86,6 @@ import {Subscription} from "rxjs";
import {worldFullMessageStream} from "../../Connexion/WorldFullMessageStream";
import { lazyLoadCompanionResource } from "../Companion/CompanionTexturesLoadingManager";
import {TextUtils} from "../Components/TextUtils";
-import {LayersIterator} from "../Map/LayersIterator";
import {touchScreenManager} from "../../Touch/TouchScreenManager";
import {PinchManager} from "../UserInput/PinchManager";
import {joystickBaseImg, joystickBaseKey, joystickThumbImg, joystickThumbKey} from "../Components/MobileJoystick";
diff --git a/maps/tests/iframe_api.json b/maps/tests/iframe_api.json
index 96d92423..fa138500 100644
--- a/maps/tests/iframe_api.json
+++ b/maps/tests/iframe_api.json
@@ -1,11 +1,4 @@
{ "compressionlevel":-1,
- "editorsettings":
- {
- "export":
- {
- "target":"."
- }
- },
"height":10,
"infinite":false,
"layers":[
@@ -60,7 +53,25 @@
"draworder":"topdown",
"id":3,
"name":"floorLayer",
- "objects":[],
+ "objects":[
+ {
+ "height":141,
+ "id":1,
+ "name":"",
+ "rotation":0,
+ "text":
+ {
+ "fontfamily":"Sans Serif",
+ "pixelsize":11,
+ "text":"Test:\nWalk on carpet, an iframe open, click the \"Send chat message\" button\nResult:\nThe chat opens and a \"Hello world!\" message is displayed.\nTest:\nEnter something in the chat\nResult:\nThe message is displayed in the iframe",
+ "wrap":true
+ },
+ "type":"",
+ "visible":true,
+ "width":316.770833333333,
+ "x":0.28125,
+ "y":187.833333333333
+ }],
"opacity":1,
"type":"objectgroup",
"visible":true,
@@ -68,10 +79,10 @@
"y":0
}],
"nextlayerid":6,
- "nextobjectid":1,
+ "nextobjectid":3,
"orientation":"orthogonal",
"renderorder":"right-down",
- "tiledversion":"1.3.3",
+ "tiledversion":"2021.03.23",
"tileheight":32,
"tilesets":[
{
@@ -89,6 +100,6 @@
}],
"tilewidth":32,
"type":"map",
- "version":1.2,
+ "version":1.5,
"width":10
}
\ No newline at end of file
diff --git a/maps/tests/index.html b/maps/tests/index.html
new file mode 100644
index 00000000..f53bbae9
--- /dev/null
+++ b/maps/tests/index.html
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/maps/tests/jitsi_config.json b/maps/tests/jitsi_config.json
index d806b751..9a812cc8 100644
--- a/maps/tests/jitsi_config.json
+++ b/maps/tests/jitsi_config.json
@@ -1,11 +1,4 @@
{ "compressionlevel":-1,
- "editorsettings":
- {
- "export":
- {
- "target":"."
- }
- },
"height":10,
"infinite":false,
"layers":[
@@ -70,7 +63,25 @@
"draworder":"topdown",
"id":3,
"name":"floorLayer",
- "objects":[],
+ "objects":[
+ {
+ "height":83.6666666666666,
+ "id":1,
+ "name":"",
+ "rotation":0,
+ "text":
+ {
+ "fontfamily":"Sans Serif",
+ "pixelsize":13,
+ "text":"Test:\nWalk on the carpet and press space\nResult:\nJitsi opens, background in green and audio\/video is muted",
+ "wrap":true
+ },
+ "type":"",
+ "visible":true,
+ "width":315.4375,
+ "x":2.28125,
+ "y":235.166666666667
+ }],
"opacity":1,
"type":"objectgroup",
"visible":true,
@@ -78,10 +89,10 @@
"y":0
}],
"nextlayerid":6,
- "nextobjectid":1,
+ "nextobjectid":2,
"orientation":"orthogonal",
"renderorder":"right-down",
- "tiledversion":"1.4.3",
+ "tiledversion":"2021.03.23",
"tileheight":32,
"tilesets":[
{
@@ -99,6 +110,6 @@
}],
"tilewidth":32,
"type":"map",
- "version":1.4,
+ "version":1.5,
"width":10
}
\ No newline at end of file
diff --git a/maps/tests/jitsi_custom_url.json b/maps/tests/jitsi_custom_url.json
index 65e3be9f..637796a1 100644
--- a/maps/tests/jitsi_custom_url.json
+++ b/maps/tests/jitsi_custom_url.json
@@ -1,11 +1,4 @@
{ "compressionlevel":-1,
- "editorsettings":
- {
- "export":
- {
- "target":"."
- }
- },
"height":10,
"infinite":false,
"layers":[
@@ -60,7 +53,25 @@
"draworder":"topdown",
"id":3,
"name":"floorLayer",
- "objects":[],
+ "objects":[
+ {
+ "height":94.6489098314831,
+ "id":1,
+ "name":"",
+ "rotation":0,
+ "text":
+ {
+ "fontfamily":"Sans Serif",
+ "pixelsize":11,
+ "text":"Test:\nWalk on the carpet and press space\nResult:\nJitsi opens on meet.jit.si (check this in the network tab). Note: this test only makes sense if the default configured Jitsi instance is NOT meet.jit.si (check your .env file)",
+ "wrap":true
+ },
+ "type":"",
+ "visible":true,
+ "width":317.361946929159,
+ "x":2.32853056864467,
+ "y":224.602707451482
+ }],
"opacity":1,
"type":"objectgroup",
"visible":true,
@@ -68,10 +79,10 @@
"y":0
}],
"nextlayerid":6,
- "nextobjectid":1,
+ "nextobjectid":2,
"orientation":"orthogonal",
"renderorder":"right-down",
- "tiledversion":"1.3.3",
+ "tiledversion":"2021.03.23",
"tileheight":32,
"tilesets":[
{
@@ -89,6 +100,6 @@
}],
"tilewidth":32,
"type":"map",
- "version":1.2,
+ "version":1.5,
"width":10
}
\ No newline at end of file
diff --git a/maps/tests/script.js b/maps/tests/script.js
index 5c129f1e..25e47249 100644
--- a/maps/tests/script.js
+++ b/maps/tests/script.js
@@ -3,8 +3,8 @@ console.log('SCRIPT LAUNCHED');
var isFirstTimeTuto = false;
var textFirstPopup = 'Hey ! This is how to open start a discussion with someone ! You can be 4 max in a booble';
var textSecondPopup = 'You can also use the chat to communicate ! ';
-var targetObjectTutoBubble ='tutoBobble';
-var targetObjectTutoChat ='tutoChat';
+var targetObjectTutoBubble ='myPopup1';
+var targetObjectTutoChat ='myPopup2';
var popUpExplanation = undefined;
function launchTuto (){
WA.openPopup(targetObjectTutoBubble, textFirstPopup, [
diff --git a/maps/tests/script_api.json b/maps/tests/script_api.json
index 54d93819..73ef9d01 100644
--- a/maps/tests/script_api.json
+++ b/maps/tests/script_api.json
@@ -1,11 +1,4 @@
{ "compressionlevel":-1,
- "editorsettings":
- {
- "export":
- {
- "target":"."
- }
- },
"height":10,
"infinite":false,
"layers":[
@@ -95,6 +88,42 @@
"width":125.735549178518,
"x":13.649632619596,
"y":50.8502491249093
+ },
+ {
+ "height":67,
+ "id":3,
+ "name":"",
+ "rotation":0,
+ "text":
+ {
+ "fontfamily":"Sans Serif",
+ "pixelsize":11,
+ "text":"Test:\nWalk on top carpet\nResult:\nA message \"Don't step on my carpet\" is displayed",
+ "wrap":true
+ },
+ "type":"",
+ "visible":true,
+ "width":252.4375,
+ "x":2.78125,
+ "y":2.5
+ },
+ {
+ "height":67,
+ "id":4,
+ "name":"",
+ "rotation":0,
+ "text":
+ {
+ "fontfamily":"Sans Serif",
+ "pixelsize":11,
+ "text":"Test:\nWalk on bottom carpet\nResult:\nA series of 2 popups open. A bubble opens. The player cannot move until popup closes.\nWhen the player leaves the zone, the bubble closes.",
+ "wrap":true
+ },
+ "type":"",
+ "visible":true,
+ "width":252.438,
+ "x":-1.71899999999999,
+ "y":163.5
}],
"opacity":1,
"type":"objectgroup",
@@ -103,7 +132,7 @@
"y":0
}],
"nextlayerid":8,
- "nextobjectid":3,
+ "nextobjectid":5,
"orientation":"orthogonal",
"properties":[
{
@@ -112,7 +141,7 @@
"value":"script.js"
}],
"renderorder":"right-down",
- "tiledversion":"1.4.3",
+ "tiledversion":"2021.03.23",
"tileheight":32,
"tilesets":[
{
@@ -130,6 +159,6 @@
}],
"tilewidth":32,
"type":"map",
- "version":1.4,
+ "version":1.5,
"width":10
}
\ No newline at end of file