Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariel Rey committed Aug 13, 2013
1 parent f1be44c commit 7c9463a
Show file tree
Hide file tree
Showing 13 changed files with 771 additions and 0 deletions.
85 changes: 85 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
/* ------------- In-Game ------------ */
#map-container{
border: 1px solid black;
position: relative;
width: 640px;
height: 480px;
cursor: crosshair;
overflow: hidden;
margin: 0 auto;
}
#map{
position: absolute;
width: 1480px;
height: 1480px;
top: 0px;
left: 0px;
}
#map .mapBlock{
float: left;
width: 40px;
height: 40px;
}
.character{
display: none;
position: absolute;
}
.character .head{
background-image: url('../img/head.png');
width: 16px;
height: 16px;
position: relative;
left: 4px;
top: 8px;
}
.character .body{
background-image: url('../img/body.png');
background-position: 0px 0px;
width: 25px;
height: 45px;
}

/* ------------- Game Engine ------------ */
#debugger{
position: fixed;
background: #9aca27;
bottom: 0px;
right: 20px;
z-index: 99999;
color: white;
font-size: 14px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
font-weight: bold;
text-align: center;
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
border-left: 1px solid #9aca27;
border-right: 1px solid #9aca27;
width: 300px;
}
#debugger .title{
cursor: pointer;
padding: 10px;
}
#debugger .title:hover{
text-decoration: underline;
}
#debugger .debugMessage{
display: none;
width: 290px;
height: 250px;
background-color: #EEFFCF;
color: black;
font-weight: normal;
overflow: auto;
padding: 5px;
}
#debugger .debugMessage span{
display: block;
text-align: left;
}
#uiStats{
position: fixed;
right: 20px;
top: 10px;
}
Binary file added img/backgrounds/0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/backgrounds/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/backgrounds/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/body.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<head>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/stats.min.js"></script>
<script type="text/javascript" src="js/mapDictionary.js"></script>
<script type="text/javascript" src="js/map_1.js"></script>
<script src="http://127.0.0.1:9000/socket.io/socket.io.js"></script>
<script type="text/javascript" src="js/gEngine.js"></script>

<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="map-container">
</div>
</body>
</html>
Loading

0 comments on commit 7c9463a

Please sign in to comment.