Permalink
Browse files

forgot to include font, tweaked tips and new audio icon for #11 in th…

…e gc-onslaught repo
  • Loading branch information...
1 parent fe3cd49 commit b111e43dfb09ae45e4ec1fbbb3b0f169255e1ceb @matthackedit matthackedit committed May 13, 2011
View
@@ -86,7 +86,7 @@ canvas {
padding: 5px;
- color: #faa61a;
+ color: #f1f1f2;
font-family: Tahoma, Arial, Sans;
font-size: 14px;
font-weight: bold;
@@ -128,16 +128,16 @@ canvas {
}
#tip span {
- color: #f1f1f2;
+ font-style: italic;
}
#tip a {
- color: #f1f1f2;
- text-decoration: none;
+ color: #faa61a;
+ text-decoration: underline;
}
#tip a:hover {
- text-decoration: underline;
+ text-decoration: none;
}
.ad.leaderboard {
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -18,7 +18,15 @@
<div id="stage">
<div id="tip">
- <div id="tip_message">Hate ads? Love indie games? <a href="http://goo.gl/COiGK" target="_blank">Buy the full version on the Chrome Web Store!</a></div>
+ <div id="tip_message">
+ <span>Enjoy the demo!</span>
+ Buy the full version on the
+ <a href="http://goo.gl/COiGK" target="_blank">Chrome Web Store</a>
+ or
+ <a href="itunes.apple.com/us/app/onslaught-arena/id418268106" target="_blank">Mac App Store</a>
+ !
+ </div>
+
</div>
</div>
@@ -39,7 +47,7 @@
<!--
<script src="js/waves_demo.js"></script>
-->
- <script src="js/engine.js"></script>
+ <script src="js/engine.js?yes"></script>
<script src="js/object.js"></script>
<script src="js/object_types.js"></script>
<script src="js/image_loader.js"></script>
View
@@ -2606,7 +2606,7 @@ proto.handleInput = function horde_Engine_proto_handleInput () {
} else if (
mouseV.x >= 604
&& mouseV.x <= 636
- && mouseV.y >= 443
+ && mouseV.y >= 442
&& mouseV.y <= 475
) {
if (this.canFullscreen) {
@@ -2617,8 +2617,8 @@ proto.handleInput = function horde_Engine_proto_handleInput () {
}
} else if (
this.canMute
- && ((mouseV.x >= 506) && (mouseV.x <= 602))
- && ((mouseV.y >= 416) && (mouseV.y <= 474))
+ && ((mouseV.x >= 570) && (mouseV.x <= 602))
+ && ((mouseV.y >= 442) && (mouseV.y <= 484))
) {
// Toggle mute
horde.sound.toggleMuted();
@@ -3607,7 +3607,7 @@ proto.drawUI = function horde_Engine_proto_drawUI (ctx) {
ctx.drawImage(
this.images.getImage("objects"),
32, 32, 32, 32,
- 4, 443, 32, 32
+ 4, 442, 32, 32
);
// Draw gold amount and weapon count
@@ -3685,9 +3685,9 @@ proto.drawUI = function horde_Engine_proto_drawUI (ctx) {
// Mute button
if (this.canMute) {
ctx.drawImage(
- this.images.getImage("objects"),
- (horde.sound.isMuted() ? 96 : 0), 96, 96, 58,
- 506, 416, 96, 58
+ this.preloader.getImage("ui"),
+ (horde.sound.isMuted() ? 692 : 660), 910, 32, 32,
+ 570, 442, 32, 32
);
}
@@ -3697,13 +3697,13 @@ proto.drawUI = function horde_Engine_proto_drawUI (ctx) {
ctx.drawImage(
this.preloader.getImage("ui"),
spriteX, 910, 32, 32,
- 604, 443, 32, 32
+ 604, 442, 32, 32
);
} else {
ctx.drawImage(
this.preloader.getImage("ui"),
596+32, 910, 32, 32,
- 604, 443, 32, 32
+ 604, 442, 32, 32
);
}
@@ -33,7 +33,14 @@
<div id="stage">
<div id="tip">
- <div id="tip_message">Hate ads? Love indie games? <a href="http://goo.gl/COiGK" target="_blank">Buy the full version on the Chrome Web Store!</a></div>
+ <div id="tip_message">
+ <span>Enjoy the demo!</span>
+ Buy the full version on the
+ <a href="http://goo.gl/COiGK" target="_blank">Chrome Web Store</a>
+ or
+ <a href="itunes.apple.com/us/app/onslaught-arena/id418268106" target="_blank">Mac App Store</a>
+ !
+ </div>
</div>
</div>

0 comments on commit b111e43

Please sign in to comment.