-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ariel Rey
committed
Aug 13, 2013
1 parent
f1be44c
commit 7c9463a
Showing
13 changed files
with
771 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.