map village + popUp go to page
BIN
maps/Village/ALL.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
maps/Village/Female 02-2.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
maps/Village/Female 18-1.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
maps/Village/Headmaster fmale.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
maps/Village/LPC-submissions-outside.png
Normal file
After Width: | Height: | Size: 192 KiB |
BIN
maps/Village/LPC-terrains-subimissions-outside.png
Normal file
After Width: | Height: | Size: 327 KiB |
BIN
maps/Village/Male 03-3.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
maps/Village/Teacher fmale 02.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
maps/Village/Teacher male 03.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
634
maps/Village/Village.json
Normal file
BIN
maps/Village/demo-tileset-v2.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
maps/Village/fantasy.png
Normal file
After Width: | Height: | Size: 395 KiB |
BIN
maps/Village/logotcm.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
maps/Village/panels.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
73
maps/Village/scriptMapVillage.js
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
var zoneOfficeName = "popupOfficeZone";
|
||||||
|
var zoneEventName = "popupEventZone";
|
||||||
|
var zoneSchoolName = "popupSchoolZone";
|
||||||
|
var zoneTCMName = "popupTCMZone";
|
||||||
|
|
||||||
|
var urlPricing = "https://workadventu.re/pricing";
|
||||||
|
var urlSchoolOffer = "https://workadventu.re/school-offer";
|
||||||
|
var currentPopup = undefined;
|
||||||
|
|
||||||
|
WA.onEnterZone(zoneOfficeName, () => {
|
||||||
|
currentPopup = WA.openPopup("popUpOffice","You can purchase virtual office in WorkAdventure",[
|
||||||
|
{
|
||||||
|
label: "See the pricing",
|
||||||
|
className: "popUpElement",
|
||||||
|
callback: (popup => {
|
||||||
|
WA.openTab(urlPricing);
|
||||||
|
})
|
||||||
|
}]);
|
||||||
|
})
|
||||||
|
|
||||||
|
WA.onEnterZone(zoneEventName, () => {
|
||||||
|
currentPopup = WA.openPopup("popUpEvent","You can create your own Event in WorkAdventure",[
|
||||||
|
{
|
||||||
|
label: "See the pricing",
|
||||||
|
className: "popUpElement",
|
||||||
|
callback: (popup => {
|
||||||
|
WA.openTab(urlPricing);
|
||||||
|
})
|
||||||
|
}]);
|
||||||
|
})
|
||||||
|
|
||||||
|
WA.onEnterZone(zoneTCMName, () => {
|
||||||
|
currentPopup = WA.openPopup("popUpTCM","Come meet the TCM team in our office ! ",[]);
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
WA.onEnterZone(zoneSchoolName, () => {
|
||||||
|
currentPopup = WA.openPopup("popUpSchool","WorkAdventure is free for teachers a the moment ! Take advantage of our offer ",[
|
||||||
|
{
|
||||||
|
label: "See the offer",
|
||||||
|
className: "popUpElement",
|
||||||
|
callback: (popup => {
|
||||||
|
WA.openTab(urlSchoolOffer);
|
||||||
|
})
|
||||||
|
}]);
|
||||||
|
})
|
||||||
|
|
||||||
|
WA.onLeaveZone(zoneSchoolName, () => {
|
||||||
|
if (currentPopup !== undefined) {
|
||||||
|
currentPopup.close();
|
||||||
|
currentPopup = undefined;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
WA.onLeaveZone(zoneTCMName, () => {
|
||||||
|
if (currentPopup !== undefined) {
|
||||||
|
currentPopup.close();
|
||||||
|
currentPopup = undefined;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
WA.onLeaveZone(zoneEventName, () => {
|
||||||
|
if (currentPopup !== undefined) {
|
||||||
|
currentPopup.close();
|
||||||
|
currentPopup = undefined;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
WA.onLeaveZone(zoneOfficeName, () => {
|
||||||
|
if (currentPopup !== undefined) {
|
||||||
|
currentPopup.close();
|
||||||
|
currentPopup = undefined;
|
||||||
|
}
|
||||||
|
})
|
BIN
maps/Village/sol_intérieur.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
maps/Village/su1 Student fmale 03.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
maps/Village/su3 Student fmale 02.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
maps/Village/su3 Student male 02.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
maps/Village/su3 Student male 09.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
maps/Village/su4 Student male 09.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
maps/Village/su4 Student male 13.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
maps/Village/tileset4_export.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
maps/Village/tileset5_export.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
maps/Village/tileset5bis_export.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
maps/Village/tileset6_export.png
Normal file
After Width: | Height: | Size: 23 KiB |