Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
675 changes: 675 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
630 changes: 320 additions & 310 deletions game.js

Large diffs are not rendered by default.

46 changes: 18 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>html5-goku-en-javascript</title>
<link rel="stylesheet" href="game.css">
</head>
<body onkeydown="keyboard.listenKeydown(event);" onkeyup="keyboard.listenKeyup(event);" oncontextmenu="return false;" onload="gameLoop();">
<audio id="bso" preload><source src="Sonidos/FoxSynergy - Chaos Lily.mp3" type="audio/mpeg" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<audio id="disparoCell" preload><source src="Sonidos/skweak2.ogg" type="audio/ogg" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<audio id="disparoGoku" preload><source src="Sonidos/skweak3.ogg" type="audio/ogg" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<audio id="heridoCell" preload><source src="Sonidos/cut_grunt2.wav" type="audio/wav" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<audio id="heridoGoku" preload><source src="Sonidos/gruntsound.wav" type="audio/wav" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<canvas id="gameScreen">Tu navegador no es compatible con el elemento canvas de html5. Use un navegador compatible.</canvas>
</body>
<script src="stats.min.js"></script>
<script src="game.js"></script>
<script type="text/javascript">
// Google analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-45433616-1', 'binary-sequence.github.io');
ga('send', 'pageview');
</script>
</html>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>html5-goku-en-javascript</title>
<link rel="stylesheet" href="game.css">
</head>
<body onkeydown="keyboard.listenKeydown(event);" onkeyup="keyboard.listenKeyup(event);" oncontextmenu="return false;" onload="gameLoop();">
<audio id="ost" preload><source src="assets/background_music/FoxSynergy - Chaos Lily.mp3" type="audio/mpeg" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<audio id="sound_cpu_shot" preload><source src="assets/characters/dragon_ball_minicell/shot/skweak2.ogg" type="audio/ogg" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<audio id="sound_user_shot" preload><source src="assets/characters/dragon_ball_goku/shot/skweak3.ogg" type="audio/ogg" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<audio id="sound_cpu_hurt" preload><source src="assets/characters/dragon_ball_minicell/hurt/cut_grunt2.wav" type="audio/wav" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<audio id="sound_user_hurt" preload><source src="assets/characters/dragon_ball_goku/hurt/gruntsound.wav" type="audio/wav" />Tu navegador no es compatible con el elemento audio de html5. Use un navegador compatible.</audio>
<canvas id="gameScreen">Tu navegador no es compatible con el elemento canvas de html5. Use un navegador compatible.</canvas>
</body>
<script src="stats.min.js"></script>
<script src="game.js"></script>
</html>