Commit 6c93fbf3 authored by reassembler's avatar reassembler
Browse files

Formatting and logo

parent c82a0eb2
......@@ -14,8 +14,7 @@
<center><img src="cannonball_logo.png"></center>
<center><a href=""><img src="cannonball_logo.png"></a></center>
<div class="emscripten" id="status">Downloading...</div>
<div class="emscripten">
<progress value="0" max="100" id="progress" hidden=1></progress>
......@@ -29,18 +28,38 @@
Select OutRun Rev. B Romset (ZIPPED)
<input type="file" onchange="read_roms(this)" />
<input type="button" id="start" value="Start CannonBall!" onclick="cannonball_main()" />
<input type="button" id="start" value="Start CannonBall!" disabled="true" onclick="cannonball_main()" />
<input type="button" value="Fullscreen" onclick="cannonball_set_screen_mode(0)">
Current fps:
<input type="text" id="fps" size="5"/>
Target fps:
<input type="text" id="framerate" size="20"/>
<input type="button" id="framerate_button" value="+" onclick="inc_fps = true" />
<input type="checkbox" id="sound" onclick="audio_enabled = !audio_enabled; set_audio(audio_enabled)">
<input type="checkbox" id="sound" disabled="true" onclick="audio_enabled = !audio_enabled; set_audio(audio_enabled)">
(Best to enable sound before inserting coin)
<input type="button" value="Fullscreen" onclick="cannonball_set_screen_mode(0)">
<textarea class="emscripten" id="output" rows="8"></textarea>
This is a Javascript port of CannonBall, the open source OutRun engine.
You may need to click in the top panel to gain keyboard focus.<br>
Best results can be achieved with the latest Firefox Nightly browser, or Firefox Beta on Android. This is very very BETA!<br>
<li>Cursor Left/Right = Steering
<li>Z = Accelerate
<li>X = Brake
<li>Space = Gear
<li>5 = Coin
<li>1 = Start
You will need to provide the OutRun Rev. B Romset from MAME.
<!-- Converted CannonBall C++ Code -->
<script type="text/javascript" src="cannonball.html.js" > </script>
......@@ -57,6 +76,7 @@
// Disable Start Button
// Default to 30fps
inc_fps = false
......@@ -223,6 +243,7 @@
frames = 0;
document.getElementById("sound").disabled = false;
last_time = new Date().getTime()
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