Commit 30f55301 by christian

update files

parent a5801f57
......@@ -5,13 +5,13 @@
<title>CityGuess alpha</title>
<meta name="description" content="Guess the city by its skyline">
<link rel="stylesheet" href="css/main.css">
<script src="js/lib/modernizr-2.6.2.min.js"></script> <!--normal layout-->
<script src="js/lib/modernizr-2.6.2.min.js"></script>
</head>
<body id="body">
<div id="hint-text"><p></p></div>
<div id="player" class="player">
<img alt="play" id="play" src="http://www.tympanus.net/PausePlay/images/play.png" width="100" height="100" style="display:none;" />
<img alt="pause" id="pause" src="http://www.tympanus.net/PausePlay/images/pause.png" width="100" height="100" style="display:none;" />
<img alt="play" id="play" src="img/play.png" width="100" height="100" style="display:none;" />
<img alt="pause" id="pause" src="img/pause.png" width="100" height="100" style="display:none;" />
</div>
<div id="container"><div class="progress"></div>
<div class="hide-container">
......@@ -20,14 +20,15 @@
<div class="slidebox"></div>
</div>
<div id="status-bar">
<div id="score"></div><div id="best"></div><div id="timer"></div>
<!-- <div id="score"></div><div id="best"></div> -->
<div id="timer"></div>
<div class="player-state"></div><button class="hint"></button>
</div>
</div>
<script src="https://code.jquery.com/jquery-git2.min.js"></script>
<script src="/js/TimeManager.js"></script>
<script src="/js/bind.js"></script>
<script src="/js/main.js"></script>
<script src="http://dev.monkeybiz.at/CityGuess/js/TimeManager.js"></script>
<script src="http://dev.monkeybiz.at/CityGuess/js/bind.js"></script>
<script src="http://dev.monkeybiz.at/CityGuess/js/main.js"></script>
</body>
</html>
\ No newline at end of file
/*global window, body, $, jQuery*/
/*jslint passfail: false, ass: true, nomen: true, sloppy: true, stupid: true, sub: true, vars: true, white: true */
/* ------------------------------------------------------------------------
Use: Main JavaScript file
Author: Christian Weiss
Author URI: www.monkeybiz.at || @eiweiss_online
Version: 0.0.2
------------------------------------------------------------------------- */
/* global window, body, $, jQuery */
/*
* CityGuess
* simple game with Images from Flickr
* Version: 0.0.2
TODO'S:
Score system - LocalStorage-Manager - Levels etc
*/
function db() {
'use strict';
var x = arguments,
......@@ -292,7 +294,7 @@ CityGuess.prototype.createTiles = function (level) {
$(this).css({
width: tileW,
height: tileH,
background: 'url(../img/disto.png) repeat',
background: 'url(http://dev.monkeybiz.at/CityGuess/img/disto.png) repeat',
position: 'absolute',
border: '1px solid rgba(0,0,0, 0.035)',
top: nTop,
......@@ -353,4 +355,4 @@ CityGuess.prototype.togglePlay = function () {
$(document).ready(function () {
var el = document.getElementById('slider');
new CityGuess(el, 'big', TimeManager);
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment