Added the new game background (HTML/CSS)

This commit is contained in:
Ruben Müller 2013-04-03 21:50:28 +02:00
parent 4866476fe9
commit 717b06e612
9 changed files with 67 additions and 18 deletions

View file

@ -1,25 +1,60 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Impact Game</title> <meta charset="utf-8" />
<title>UberPong proudly presented by Team ARG</title>
<link rel="shortcut icon" href="media/favicon.ico" type="image/x-icon" >
<style type="text/css"> <style type="text/css">
html,body { html {
background-color: #000; background: #070707 url(media/layout-background.jpg) no-repeat;
color: #fff; font-family: Arial;
font-family: helvetica, arial, sans-serif; font-size: 13px;
margin: 0; line-height: 13px;
padding: 0; }
font-size: 12pt;
#header {
width: 800px;
margin: 0 auto 0 auto;
}
#header img {
} }
#canvas { #canvas {
position: absolute; width: 624px;
left: 0; height: 383px;
right: 0;
top: 0; display: block;
bottom: 0;
margin: auto; margin: -170px auto 0 auto;
border: 1px solid #555; }
#footer {
text-align: center;
color: #bebebe;
margin: 50px 0 0 0;
}
#footer div.acknowledgement {
}
#footer div.acknowledgement img {
vertical-align: text-bottom;
margin: 0 10px 0 10px;
display: inline-block;
}
#footer a.website {
display: inline-block;
margin: 30px 0 30px 0;
color: #0692d2;
text-decoration: none;
font-size: 15px;
} }
</style> </style>
@ -27,6 +62,21 @@
<script type="text/javascript" src="lib/game/main.js"></script> <script type="text/javascript" src="lib/game/main.js"></script>
</head> </head>
<body> <body>
<div id="header">
<img src="media/layout-gamelogo.png">
</div>
<canvas id="canvas"></canvas> <canvas id="canvas"></canvas>
<div id="footer">
<div class="acknowledgement">
<img src="media/logo-teamarg-s.png">
used
<img src="media/logo-impact-s.png">
for this awesome game.
</div>
<a class="website" href="http://teamarg.com"><strong>teamarg</strong>.com</a>
</div>
</body> </body>
</html> </html>

View file

@ -1,8 +1,8 @@
ig.module( ig.module(
'game.main' 'game.main'
) )
.requires( .requires(
'impact.debug.menu', //'impact.debug.menu',
'impact.game', 'impact.game',
'impact.font', 'impact.font',

BIN
dev/media/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 KiB

BIN
dev/media/logo-impact-s.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
dev/media/tileset-bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

View file

@ -2,7 +2,6 @@ Initial release
## GFX ## GFX
* Title Screen * Title Screen
* Main background screen (CSS/HTML Canvas)
* Game over screen (change main background) * Game over screen (change main background)
* Highscore-Screen * Highscore-Screen
* Font for score (search fo a tool and make it fancy) * Font for score (search fo a tool and make it fancy)