parent
7c6618800c
commit
83131b7acc
13 changed files with 156 additions and 33 deletions
@ -0,0 +1,36 @@ |
||||
html { |
||||
background-color: #333; |
||||
color: #bbb; |
||||
font-family: Verdana, "DejaVu Sans"; |
||||
} |
||||
|
||||
body { |
||||
margin: auto; |
||||
width: 514px; |
||||
} |
||||
|
||||
canvas { |
||||
border: 2px solid #444; |
||||
} |
||||
|
||||
h1 { |
||||
color: white; |
||||
text-align: center; |
||||
font-size: 70px; |
||||
margin: 0; |
||||
} |
||||
|
||||
a { |
||||
color: #4f6c19; |
||||
} |
||||
a:hover { |
||||
color: #8fc32e; |
||||
} |
||||
|
||||
span { |
||||
background-color: #444; |
||||
border-radius: 3px; |
||||
padding: 2px 5px; |
||||
font-weight: bold; |
||||
color: white; |
||||
} |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -0,0 +1,24 @@ |
||||
<!doctype html> |
||||
<html lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<title>fuTris -- a js13kGames entry</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
<link rel="stylesheet" href="main.css"> |
||||
</head> |
||||
<body> |
||||
<h1>fuTris</h1> |
||||
<p>A <a href="http://js13kgames.com/">js13kGames 2014</a> entry (<a href="http://github.com/f0086/js13kgames-2014">source</a>) |
||||
by <a href="https://aaron-mueller.de/">Aaron Fischer</a>.</p> |
||||
<canvas id="fuTris"></canvas> |
||||
<p>Use the arrow keys to move (<span>←</span>, <span>→</span>, rotate |
||||
(<span>↑</span>) and drop (<span>↓</span>) stones. Press <span>P</span> for |
||||
pause the game. If you messed up, restart with <span>R</span>. Vim-users |
||||
will also find a way to play :)</p> |
||||
<audio src="assets/rotate.wav" id="rotate-sound" autostart="false"></audio> |
||||
<audio src="assets/drop.wav" id="drop-sound" autostart="false"></audio> |
||||
<audio src="assets/move.wav" id="move-sound" autostart="false"></audio> |
||||
<audio src="assets/point.wav" id="point-sound" autostart="false"></audio> |
||||
<script src="fuTris.js"></script> |
||||
</body> |
||||
</html> |
Binary file not shown.
@ -0,0 +1,36 @@ |
||||
html { |
||||
background-color: #333; |
||||
color: #bbb; |
||||
font-family: Verdana, "DejaVu Sans"; |
||||
} |
||||
|
||||
body { |
||||
margin: auto; |
||||
width: 514px; |
||||
} |
||||
|
||||
canvas { |
||||
border: 2px solid #444; |
||||
} |
||||
|
||||
h1 { |
||||
color: white; |
||||
text-align: center; |
||||
font-size: 70px; |
||||
margin: 0; |
||||
} |
||||
|
||||
a { |
||||
color: #4f6c19; |
||||
} |
||||
a:hover { |
||||
color: #8fc32e; |
||||
} |
||||
|
||||
span { |
||||
background-color: #444; |
||||
border-radius: 3px; |
||||
padding: 2px 5px; |
||||
font-weight: bold; |
||||
color: white; |
||||
} |
Loading…
Reference in new issue