-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
210 lines (186 loc) · 9.7 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html>
<head>
<title>HTML5 - Brass Monkey SDK</title>
<link rel="stylesheet" type="text/css" href="shared/styles/shared.css">
</head>
<body>
<div class="header-wrapper">
<div class="header">
<div class="logo">
<a href="/"><img src="shared/images/logo.png"/></a>
</div>
<div class="tabs">
<a href="/"><img src="shared/images/button-home.png"/></a>
<a href="/about"><img src="shared/images/button-about.png"/></a>
<a href="/developers/"><img src="shared/images/button-developers.png"/></a>
<a href="/team"><img src="shared/images/button-contact.png"/></a>
</div>
</div>
</div>
<div class="cookie-crumbs-wrapper">
<div class="cookie-crumbs">
<span><a href="../">Developer SDKs</a></span> > <span>HTML5</span>
</div>
</div>
<div class="content">
<div class="sub-header">
<img class="logo" src="shared/images/html5-icon.png"/>
<h1>HTML5 SDK</h1>
<h2>Documentation and examples.</h2>
</div>
<img class="separator" src="shared/images/separator.png"/>
<div class="container">
<div class="sdk-intro">
<p>Welcome to the Brass Monkey HTML5 SDK. To get started checkout out our SDK examples projects below. (Full Documentation coming soon.)</p>
<h1>Downloads</h1>
<img class="separator" src="shared/images/separator.png"/>
<a class="download" href="http://files.playbrassmonkey.com/sdks/js/v0-4-0/brassmonkey.js">Download the SDK<img src="shared/images/download-icon.png"/></a>
<a class="download" href="https://github.com/downloads/brassmonkey/brassmonkeyjs/brassmonkeyjs-0.4.0.zip">Download the SDK & Examples <img src="shared/images/download-icon.png"/></a>
<a class="download" href="https://github.com/brassmonkey/brassmonkeyjs">Clone/Fork our repo (Github).<img src="shared/images/download-icon.png"/></a>
<img class="separator" src="shared/images/separator.png"/>
<p>Join the <a href="http://groups.google.com/group/brassmonkey-sdk?hl=en"><strong>Brass Monkey SDK mailing list.</strong></a> to join our community and discuss the SDK and gaming in general.</p>
<p>You must Agree to our Developer Agreement before using Brass Monkey's Platform. (<a class="open-in-same-tab" href="/downloads/developer-contract.html">HTML</a> | <a class="open-in-same-tab" href="/downloads/developer-contract.pdf">PDF</a>)</p>
<h1>Examples</h1>
</div>
<img class="separator" src="shared/images/separator.png"/>
<div class="examples" id="examples">
<a class="example" href="examples/basics/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-basics.png"/>
<div class="example-info">
<h1>Basics</h1>
<p>In this example we show how to include/initialize the Brass Monkey SDK, listen for deviceConnected/deviceDisconnect events, and displaying your app's slot color.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/layouts/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-layouts.png"/>
<div class="example-info">
<h1>Layouts</h1>
<p>We demonstrate laying out background images and buttons in this example.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/buttons/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-buttons.png"/>
<div class="example-info">
<h1>Buttons</h1>
<p>Example of laying out buttons, creating up/down image states, listening for button events, and animating a button in response to those events.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/modes/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-modes.png"/>
<div class="example-info">
<h1>Controller Modes</h1>
<p>The Brass Monkey app comes with some pre-built controllers: one is for keyboard input and the other is a standardized navigation controller. And of course there is the custom controller you provide. In this example we show how you switch between those controller modes.</p>
<p>Coming soon we'll show you how to listen to Keyboard/Navigation controller events.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/touch/">
<div class="wrapper">
<img class="logo" src="images/examples-touch.png"/>
<div class="example-info">
<h1>Touch Events</h1>
<p>This example covers listening for touch events and demonstrates handling multi-touch via a simple drawing application.</p>
<p>Bonus: It supports multiple users simultaneously. Make sure to try drawing with multiple fingers.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/accelerometer/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-accelerometer.png"/>
<div class="example-info">
<h1>Accelerometer</h1>
<p>Demonstrates listening for accelerometer events, setting the frequency of sampling, and visualizing the orientation of the phone.</p>
<p>Note: We currently don't support gyroscope, but this is coming soon. Also we are going to be updating the APIs to match as nearly as possible emerging web standards for accelerometer events (All events for that matter).</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/multiplayer/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-multiplayer.png"/>
<div class="example-info">
<h1>Multiplayer</h1>
<p>This is a simple example of supporting N+ players via a simple pong game.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/the-convergence/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-the-convergence.png"/>
<div class="example-info">
<h1>The Convergence (Advanced)</h1>
<p>A basic platformer integrated with Brass Monkey's tech. Demonstrates using buttons to create D-Pad like UI for platformers. </p><p>Originally made by Currant Cat using Construct 2.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/youtube/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-youtube.png"/>
<div class="example-info">
<h1>Youtube (Advanced)</h1>
<p>In this example we demonstrate a mix of features including: controller modes, button events, and the youtube search/player apis.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
<img class="separator" src="shared/images/separator.png"/>
<a class="example" href="examples/soundcloud/index.html">
<div class="wrapper">
<img class="logo" src="images/examples-soundcloud.png"/>
<div class="example-info">
<h1>Sound Cloud (Advanced)</h1>
<p>Similar features to the youtube example. This time using sound cloud's apis to search and find music. Includes ability to scrub the music time line too.</p>
<img class="launch" src="shared/images/launch-app-button.png"/>
</div>
<div class="clear"></div>
</div>
</a>
</div>
</div>
<img class="separator" src="shared/images/separator.png"/>
</div>
<div class="footer">
<div class="tabs">
<a class="current" href="/">Home</a>
<a href="/about">About</a>
<a href="/developers/">Developers</a>
<a href="/team">Contact</a>
</div>
<div class="copyright">
<p>©2011 Brass Monkey. All Rights Reserved.</p>
</div>
</div>
</body>
</html>