Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
eguneys committed Dec 20, 2018
1 parent b365487 commit 1e379e6
Show file tree
Hide file tree
Showing 21 changed files with 151 additions and 3 deletions.
1 change: 1 addition & 0 deletions build/levels.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

body {
font-family: 'Noto Sans', sans-serif;
margin: 0;
}

section {
background: #222;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 0 0 2em 0;
}

h1 {
font-size: 3em;
color: white;
text-align: center;
}

.game_area {
align-self: center;
margin: 1em;
cursor: none;
}

.social {
align-self: center;
display: flex;
}
Binary file added images/Supaplex32.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 images/SupaplexBorder.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 images/SupaplexSprites.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 images/button_down21.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 images/button_up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@font-face {
font-family: 'thin_pixel';
src: url('thin_pixel-7.ttf');
}
Binary file added images/hud.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 images/main_menu1.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 images/main_menu2.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 images/main_menu21.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 images/pointer.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 images/pointer2.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 images/thin_pixel-7.ttf
Binary file not shown.
45 changes: 42 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,60 @@
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link href="https://fonts.googleapis.com/css?family=Noto+Sans" rel="stylesheet">

<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->

<link rel="stylesheet" href="css/normalize.css">
<!-- <link rel="stylesheet" href="css/normalize.css"> -->
<link rel="stylesheet" href="css/main.css">
<script src="js/supaxl/main.js"></script>
</head>

<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<p class="browserupgrade">You are using an <strong>otudated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->

<!-- Add your site or application content here -->
<p>Hello world! This is HTML5 Boilerplate.</p>


<section>
<a href="https://github.com/eguneys/supaxl"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>


<h1>Play Supaplex</h1>
<div class="game_area" id="elSupaplex"></div>
<div class="social">
<a class="twitter-share-button"
href="https://twitter.com/intent/tweet?text=Play Supaplex Online!"
data-size="large">
Tweet</a>
</div>
</section>

<script>window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);

t._e = [];
t.ready = function(f) {
t._e.push(f);
};

return t;
}(document, "script", "twitter-wjs"));</script>


<script>
Supaplex(document.getElementById('elSupaplex'));
</script>
<!-- <script src="js/vendor/modernizr-{{MODERNIZR_VERSION}}.min.js"></script> -->
<!-- <script src="https://code.jquery.com/jquery-{{JQUERY_VERSION}}.min.js" integrity="{{JQUERY_SRI_HASH}}" crossorigin="anonymous"></script> -->
<!-- <script>window.jQuery || document.write('<script src="js/vendor/jquery-{{JQUERY_VERSION}}.min.js"><\/script>')</script> -->
Expand Down
21 changes: 21 additions & 0 deletions js/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>webpack-minimal</title>
<style>
.canvas {
cursor: none;
}
</style>
<script type="text/javascript" src="main.js"></script></head>
<body>
<section>
<div id="elCanvas" class="canvas"></div>
</section>

<script>
Supaplex(document.getElementById('elCanvas'));
</script>
</body>
</html>
1 change: 1 addition & 0 deletions js/main.js.map

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions js/supaxl/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>webpack-minimal</title>
<style>
.canvas {
cursor: none;
}
</style>
<script type="text/javascript" src="main.js"></script></head>
<body>
<section>
<div id="elCanvas" class="canvas"></div>
</section>

<script>
Supaplex(document.getElementById('elCanvas'));
</script>
</body>
</html>
30 changes: 30 additions & 0 deletions js/supaxl/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/supaxl/main.js.map

Large diffs are not rendered by default.

0 comments on commit 1e379e6

Please sign in to comment.