Disable DPR != 1 on Safari.
[yuu.git] / src / index.html
1 <!DOCTYPE html>
2 <html data-appid=com.yukkurigames.yuu>
3 <head>
4 <title>Yuu ~ Yukkuri Games</title>
5 <meta charset=utf-8>
6 <meta name=viewport
7 content='user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1, minimal-ui'>
8 <meta name=apple-mobile-web-app-capable content=yes>
9 <meta name=apple-mobile-web-app-status-bar-style
10 content=black-translucent />
11 <link rel=icon href='data/images/icons.ico'
12 sizes='32x32 64x64 256x256'>
13 <link rel=icon href='data/images/icons.icns'
14 sizes='32x32 64x64 256x256'>
15 <link rel=stylesheet href='yuu/data/yuu.css'>
16 <link rel=stylesheet href='main.css'>
17 <script src='ext/gl-matrix.js'></script>
18 <script src='ext/hammer.js'></script>
19 <script src='yuu/pre.js'></script>
20 <script src='yuu/yf.js'></script>
21 <script src='yuu/yT.js'></script>
22 <script src='yuu/core.js'></script>
23 <script src='yuu/input.js'></script>
24 <script src='yuu/ce.js'></script>
25 <script src='yuu/gfx.js'></script>
26 <script src='yuu/rdr.js'></script>
27 <script src='yuu/director.js'></script>
28 <script src='main.js'></script>
29 </head>
30
31 <body>
32 <header>
33 <a href="/">
34 <img src="data/images/logotype_horizontal_1.png"
35 class=logo alt="(◕ ヮ ◕)">
36 <img src="data/images/logotype_horizontal_2.png"
37 class=optional alt="Yukkuri Games">
38 </a>
39 <h1>Yuu</h1>
40 </header>
41 <main>
42 <noscript>
43 <p>
44 Games made with Yuu require JavaScript to play. We don't use
45 any remote tracking cookies, load any external scripts, or
46 do any of the things you've probably disabled JavaScript to
47 avoid.
48 <a href="https://yukkurigames.com/privacy.html">Check our
49 privacy policy for more details.</a>
50 </p>
51 </noscript>
52 <canvas id=yuu-canvas data-yuu-resize>
53 Yuu requires JavaScript, canvas, and WebGL support. Your
54 browser seems to lack canvas support.
55 </canvas>
56 <div id=yuu-error class=yuu-overlay>
57 <div data-yuu-command=dismiss tabindex=0></div>
58 <p>There was a problem. Sorry about that.</p>
59 <p id=yuu-error-message></p>
60 <h2>Error Log</h2>
61 <pre id=yuu-error-stack>
62 </pre>
63 </div>
64 <div id=yuu-fatal-error class=yuu-overlay>
65 <p>
66 There was a serious problem. You'll have to restart. Sorry
67 about that.
68 </p>
69 <p id=yuu-fatal-error-message></p>
70 <p class=standalone>
71 If this problem continues,
72 <a target=_blank href='https://yukkurigames.com/support.html'>check our
73 support page</a>. If it doesn't help,
74 <a href='mailto:yuuSPAM@MAPSyukkurigames.com'
75 onclick='this.href=this.href.replace(/[A-Z]/g, "")'>email us</a>.
76 Please include the rest of the text in this error message and
77 <a target=_blank href='chrome://gpu'>information about your
78 system's GPU</a>.
79 </p>
80 <p class=browser>
81 Supported browsers include recent versions of
82 <a target=_blank href='http://www.mozilla.org/firefox/'>Mozilla Firefox</a>
83 and <a target=_blank href='http://www.google.com/chrome/'>Google Chrome</a>
84 on most desktop computers,
85 and <a target=_blank href='https://www.google.com/intl/en/chrome/browser/mobile/android.html'>Chrome
86 for Android</a>
87 </p>
88 <p class=browser>
89 If you are running one of these browsers and still have a problem,
90 <a target=_blank href='https://yukkurigames.com/support.html'>check our
91 support page</a>. If it doesn't help,
92 <a href='mailto:yuuSPAM@MAPSyukkurigames.com'
93 onclick='this.href=this.href.replace(/[A-Z]/g, "")'>email us</a>.
94 Please include the rest of the text in this error message and
95 as much information as you can about your operating system,
96 computer, and especially GPU.
97 </p>
98 <h2>Error Log</h2>
99 <pre id=yuu-fatal-error-stack>
100 </pre>
101 </div>
102 <p>
103 Yuu is our JavaScript/<a href="http://get.webgl.org/">WebGL</a> game
104 engine. It is currently being used in
105 <a href="http://yukkuri.itch.io/pwl6"><em>Pixel Witch Lesson #6</em></a>
106 and other games in development, as well as the live demo
107 below. (In other words, if you can see the demo you can play
108 our games &mdash; and if there's an error, please
109 <a href='mailto:yuuSPAM@MAPSyukkurigames.com'
110 onclick='this.href=this.href.replace(/[A-Z]/g, "")'>let us know</a>.)
111 </p>
112 <p>
113 Games made with Yuu run in Chromium and Firefox, and can also
114 be automatically packaged with
115 <a href="https://github.com/rogerwang/node-webkit">node-webkit</a>
116 for Windows, Mac OS X, and GNU/Linux. It exclusively targets
117 "modern" JavaScript implementations because there's already a
118 hard requirement on WebGL.
119 </p>
120 <p>
121 Because it's based on WebGL it <em>theoretically</em> supports
122 any platform implementing HTML5, ES5, and WebGL. In practice,
123 many such implementations are buggy and idiosyncratic. Android
124 4.4 support is good on several phone lines; iOS 8 (and Safari
125 on OS X) support is not.
126 </p>
127 <h2>Getting It &amp; Using It</h2>
128 <p>
129 Yuu provides <em>no</em> stability guarantees. It's an
130 immature library and likely to see major breaking changes
131 regularly. It is a relatively low-level library, and there is
132 little documentation. (Hopefully, these issues are going to
133 shake out as we make more games.)
134 </p>
135 <p>
136 Because of this, it's currently only distributed with games
137 using it, or from our Git repository:
138 </p>
139 <ul class=download>
140 <li class=sh><span data-optional>git clone
141 </span><a href="http://git.yukkurigames.com/yuu.git">http://git.yukkurigames.com/yuu.git</a>
142 </ul>
143 <p>
144 Yuu is free software. You can redistribute it and/or
145 modify it under the terms of the GNU General Public License
146 as published by the Free Software Foundation;
147 either <a href="http://www.gnu.org/licenses/gpl-2.0.html">version
148 2 of the License</a>, or (at your
149 option) <a href="http://www.gnu.org/licenses/gpl.html">any
150 later version</a>.
151 </p>
152 <p>
153 Yuu also contains code from other projects, all of which is
154 licensed under GPL-compatible terms. If you're having trouble
155 sleeping, it includes
156 <a href="yuu/data/license.txt">complete license text</a>.
157 </p>
158 </main>
159 </body>
160 </html>