Adding property tile "inGameConsoleMessage", open a popup when user walk on a tile with this property

Adding map "Tuto2", the FTUE map
This commit is contained in:
DESKTOP-FMM8UI0\CLV 2021-03-08 09:28:15 +01:00
parent e0540790e1
commit 858bf0b384
5 changed files with 707 additions and 1 deletions

View file

@ -29,7 +29,15 @@
<base href="/">
<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" />
<link rel="stylesheet" href="/resources/style/style.css">
<style>
html, body, pre, code, kbd, samp, button,p {
font-family: "Press Start 2P";
}
</style>
<title>WorkAdventure</title>
</head>
<body id="body" style="margin: 0; background-color: #000">

View file

@ -1175,6 +1175,29 @@ div.action p.action-body{
margin-left: calc(50% - 75px);
border-radius: 15px;
}
.popUpElement{
animation-duration: 1s;
animation-delay: 3s;
animation-name: slidein;
}
.popUpElement p {
text-align: left;
font-size: 10px;
background-color: #727678;
color: white;
}
.popUpElement div {
width: 300px;
height: 120px;
background-color: #727678;
}
.popUpElement button {
position: center;
font-size: 10px;
}
@keyframes mymove {
0% {bottom: 40px;}
50% {bottom: 30px;}