2d game with map data https://luna-development.net/2dgame/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

58 lines
854 B

body {
background: darkslategray;
}
#map {
border: 1px solid black;
margin: 1em;
background: black;
}
.map-row {
margin: 0;
padding: 0;
height: 32px;
}
.map-tile {
margin: 0;
padding: 0;
width: 32px;
height: 32px;
display: inline-block;
background-size: 32px 32px;
}
#player {
margin: 0;
width: 32px;
height: 32px;
vertical-align: baseline;
}
.npc {
margin: 0;
width: 32px;
height: 32px;
vertical-align: baseline;
}
#text-container {
opacity: 0.7;
position: absolute;
bottom: 10em;
left: 33px;
height: 150px;
border: 10px solid grey;
border-radius: 5px;
background: white;
box-shadow: black 3px 5px;
padding: 1em;
z-index: 100;
}
.hidden {
display: none;
}