-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
93 lines (78 loc) · 4.99 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="author" content="Andrew Yolland">
<meta name="description" content="A tool for extending Bitsy games">
<meta name="keywords" content="borksy,bitsy,game,games">
<link rel="shortcut icon" href="borksy.gif">
<link rel="stylesheet" href="style/style.css" type="text/css">
<title>Borksy Game Hacker</title>
</head>
<body>
<div id="preloader">
<img src="borksy.gif" class="preloader_animation">
<p class="preloader_text">Loading...</p>
</div>
<div id="wrapper">
<header>
<div id="mascot"></div>
<h1><strong>Borksy</strong> Game Hacker</h1>
</header>
<section id="about" data-collapsible data-header="About Borksy" class="collapsible open">
<div id="about_content"></div>
</section>
<form>
<section data-collapsible data-header="Page Title / Filename" class="collapsible">
<p>This is what the title of your page (not game) will be:</p>
<label><title><textarea data-save data-borksy-replace-single="TITLE" data-default-type="string" data-default="My Bitsy Game By Me" rows="1" cols="50" wrap="hard" name="title" id="title"></textarea></title></label>
<p>This is the filename that will be downloaded: <em>(only A-z,0-9,-,_ allowed)</em></p>
<label><input data-save data-borksy-replace-single="FILENAME" data-default-type="string" data-default="myBORKSYgame" data-clean-regex="^-|\W" name="filename" id="filename" class="half inline right">.html</label>
</section>
<section data-collapsible data-header="Bitsy Version" class="collapsible">
<p>This is the version of the Bitsy engine you wish to include with your game.</p>
<label id="template-label">
<select data-save name="template" id="template" data-default="" data-default-type="option">
</select>
</label>
</section>
<section data-collapsible data-header="Game Data" class="collapsible">
<p>This is the gamedata from Bitsy:</p>
<label><script type="bitsyGameData" id="exportedGameData"><textarea data-save data-borksy-replace-single="GAMEDATA" data-default-type="textfile" data-default="gamedata.txt" rows="4" cols="50" wrap="hard" name="gamedata" id="gamedata"></textarea></script></label>
</section>
<section data-collapsible data-header="HTML / CSS Theme" class="collapsible">
<p>This is the HTML content of your game's body tag:<br>NOTE: the canvas#game tag is crucial for Bitsy to work.</p>
<label><body><textarea data-save data-borksy-replace-single="MARKUP" data-default-type="textfile" data-default="body.html" rows="4" cols="50" wrap="hard" name="markup" id="markup"></textarea></body></label>
<p>This is the CSS style for your page:</p>
<label><style type="text/css"><textarea data-save data-borksy-replace-single="CSS" data-default-type="textfile" data-default="style.css" rows="4" cols="50" wrap="hard" name="css" id="css"></textarea></style></label>
</section>
<section data-collapsible data-header="Hacks" class="collapsible" id="hacks-section">
<p>These are pre-loaded hacks that modify and extend Bitsy's behavior. Just check the box to include the hack. Hacks with options have a expandable section with a modifiable JavaScript options object. If you need a hack not seen here, use the Additional JavaScript field instead.</p>
</section>
<section data-collapsible data-header="Additional JavaScript" class="collapsible">
<p>This is JavaScript loaded into a script tag after all Bitsy code.<br>Other hacks can go in here (among other things).</p>
<label><script type="text/javascript" id="borksyAdditionalJS"><textarea data-save data-borksy-replace-single="ADDITIONALJS" rows="4" cols="50" wrap="hard" name="additionalJS" id="additionalJS"></textarea></script></label>
</section>
</form>
<div class="button-group">
<label>
<button id="restore-button">Restore Defaults</button>
<span>(Ctl/Cmd D)</span>
</label>
<label>
<button id="download-button">Download File</button>
<span>(Ctl/Cmd S)</span>
</label>
</div>
<footer>
<p>Borksy is built by AYolland: <a href="https://twitter.com/ayolland">Twitter</a> <a href="https://github.com/Ayolland">Github</a> <a href="https://ayolland.itch.io/">Itch.io</a></p>
<p>Bitsy is built by Adam Le Doux: <a href="https://twitter.com/adamledoux">Twitter</a> <a href="https://github.com/le-doux">Github</a> <a href="https://ledoux.itch.io/">Itch.io</a></p>
<p>Bitsy Hack Repo is maintained by Sean S LeBanc: <a href="https://twitter.com/SeanSLeBlanc">Twitter</a> <a href="https://github.com/seleb">Github</a> <a href="https://seansleblanc.itch.io/">Itch.io</a></p>
</footer>
</div>
<script src="scripts/jquery.min.js" type="text/javascript"></script>
<script src="scripts/libs.js" type="text/javascript"></script>
<script src="scripts/borksy.js" type="text/javascript"></script>
</body>
</html>