Skip to content
Open
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
90 changes: 90 additions & 0 deletions 636/636.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="en">

<style type="text/css">
h1 {
font-family: Arial, Helvetica, sans-serif;
color: #F00;
font-size: x-large;
}
p {
font-family: Arial, Helvetica, sans-serif;
color: #000;
font-size: small;
}
body {
background-color: #FFF;
text-align: center;
margin: 0;
padding: 0;
}
#bloctxt {
border-left-width: 5px;
border-left-style: solid;
border-left-color: #F00;
padding-left: 10px;
position: absolute;
left: 50%%;
width: 600px;
margin-left: -260px
}
</style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<!-- Enables full-screen on iOS devices -->
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="HandheldFriendly" content="true" />
<link rel="icon" href="icon.png">

<title>Ball Dodge</title>


<!-- EXTRASOURCES -->
<!-- Loads the Javascript code...-->
<script src="src/Runtime.js"></script>

<script>

// Detection of when the html file is ran locally.
// You can remove this code for the final version
if (window.location.protocol == "file:")
{
document.write('<div id="bloctxt">');
document.write('<h1>The application cannot be run...</h1>');
document.write('<p>HTML browsers do not allow you to launch data files directly from the file system.<br>');
document.write('A drag & drop of the html file on a web-browser window will not work, on any machine.<br>');
document.write('Please use the Build & Run option (it opens a local web server) to run your application,<br>')
document.write('or upload your application folder to a remote web-server, and start it from there...</p>');
document.write('</div>');
throw new error("Cannot run application");
}
</script>
</head>

<body>

<div style="display: inline-block; -webkit-user-select: none; text-align: left;">
<canvas id="MMFCanvas" width="640" height="480">
Your browser does not support Canvas.
</canvas>
</div>

<script>
// RUNTIMESTART
// This is where the HTML5 runtime is actually started
window.addEventListener("load", windowLoaded, false);
function windowLoaded()
{
// Calls the runtime
// First parameter : name of the canvas element
// Second parameter : path to the cch file. Images and sounds must lay beside this file
new Runtime("MMFCanvas", "resources/Ball Dodge.cch");
}
// RUNTIMESTARTEND
</script>

</body>
</html>
Binary file added 636/636.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 636/resources/9999.mp3
Binary file not shown.
Binary file added 636/resources/Ball Dodge.cc1
Binary file not shown.
Binary file added 636/resources/Ball Dodge.cch
Binary file not shown.
Binary file added 636/resources/M0001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 636/resources/Preloader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
961 changes: 961 additions & 0 deletions 636/src/Runtime.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions zones.json
Original file line number Diff line number Diff line change
Expand Up @@ -5667,5 +5667,13 @@
"url": "{HTML_URL}/635.html",
"author": " nkrapivin",
"authorLink": "https://yancharkin.itch.io/spelunky-classic-hd"
},
{
"id": 636,
"name": "Ball Dodge",
"cover": "{COVER_URL}/636.png",
"url": "{HTML_URL}/636.html",
"author": "Silvereen Games",
"authorLink": "https://silvereen.net"
}
]