Merge branch 'master' of http://github.com/teamsnowman/hextris
This commit is contained in:
commit
ae13307b64
2 changed files with 5 additions and 5 deletions
|
@ -15,7 +15,7 @@
|
|||
body {
|
||||
color: #ecf0f1;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
background-color:#ecf0f1;
|
||||
background-color:#ecf0f1;
|
||||
}
|
||||
|
||||
#clickToExit {
|
||||
|
@ -27,14 +27,14 @@
|
|||
left: calc(50% - 80vmin / 2);
|
||||
height: 80vmin;
|
||||
width: 80vmin;
|
||||
background-color:#ecf0f1;
|
||||
background-color:#ecf0f1;
|
||||
z-index:3;
|
||||
}
|
||||
|
||||
#title {
|
||||
z-index:99999;
|
||||
margin-top:20px;
|
||||
color:#2c3e50;
|
||||
color:#2c3e50;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -197,10 +197,10 @@ function render() {
|
|||
|
||||
function stepInitialLoad() {
|
||||
var dur = 1300;
|
||||
var dy = getStepDY(Date.now() - startTime, 0, 100 + canvas.height/2, dur);
|
||||
var dy = getStepDY(Date.now() - startTime, 0, 100 + canvas.originalHeight/2, dur);
|
||||
if (Date.now() - startTime > dur) {
|
||||
MainClock.dy = 0;
|
||||
MainClock.y = canvas.height/2;
|
||||
MainClock.y = canvas.originalHeight/2;
|
||||
gameState = 1;
|
||||
} else {
|
||||
MainClock.dy = dy;
|
||||
|
|
Loading…
Reference in a new issue