-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c699b88
commit 61fd194
Showing
4 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ on: | |
push: | ||
branches: [ main ] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/node_modules | ||
/.idea/ | ||
/js/ | ||
!/js/index.html | ||
!/js/playground.html | ||
!/js/jagex2/vendor/tinymidipcm/tinymidipcm.wasm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<html> | ||
<head> | ||
<title>RuneScape 2</title> | ||
|
||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> | ||
<meta http-equiv="Pragma" content="no-cache" /> | ||
<meta http-equiv="Expires" content="0" /> | ||
|
||
<style> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
color: #fff; | ||
background-color: #000; | ||
} | ||
|
||
canvas { | ||
/* image-rendering: pixelated; */ | ||
display: block; | ||
margin: 0 auto; | ||
outline: none; | ||
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */ | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<canvas id="canvas" width="789" height="532"></canvas> | ||
|
||
<script type="module" src="jagex2/vendor/midi.js"></script> | ||
<script type="module" src="client.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<html> | ||
<head> | ||
<title>RuneScape 2 Playground</title> | ||
|
||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> | ||
<meta http-equiv="Pragma" content="no-cache" /> | ||
<meta http-equiv="Expires" content="0" /> | ||
|
||
<style> | ||
body { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
color: #fff; | ||
background-color: #000; | ||
} | ||
|
||
canvas { | ||
image-rendering: pixelated; | ||
display: block; | ||
margin: 0 auto; | ||
outline: none; | ||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* mobile webkit */ | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<canvas id="canvas"></canvas> | ||
|
||
<script type="module" src="jagex2/vendor/midi.js"></script> | ||
<script type="module" src="playground.js"></script> | ||
</body> | ||
</html> |