-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
407 lines (237 loc) · 13.6 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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="Access-Control-Allow-Origin" content="Origin">
<meta http-equiv="Content-Security-Policy" content="
base-uri 'self';
default-src 'self';
font-src 'self' https://fonts.gstatic.com;
frame-src 'self' http: https:;
img-src 'self' http: https: data:;
plugin-types application/pdf;
script-src 'self' 'unsafe-inline';
style-src 'self' https://fonts.googleapis.com 'unsafe-inline';
">
<meta http-equiv="X-Content-Type-Options" content="nosniff">
<meta http-equiv="X-XSS-Protection" content="1">
<meta name="referrer" content="never"> <!-- Fallback for IE/Edge/Safari -->
<meta name="referrer" content="no-referrer"> <!-- Fallback for Chrome lt 61 -->
<meta name="referrer" content="same-origin">
<!-- FREE HTML5 TEMPLATE -->
<!-- DESIGNED & DEVELOPED by FREEHTML5.CO -->
<!-- Website: https://freehtml5.co/ -->
<!-- Email: [email protected] -->
<!-- Twitter: https://twitter.com/fh5co -->
<!-- Facebook: https://www.facebook.com/fh5co -->
<!-- HUGO TEMPLATE PORTED BY SteveLane -->
<!-- Website: https://interadata.io/ -->
<!-- LEKTOR THEME PORTED BY Daniel Althviz -->
<!-- Website: https://dalthviz.github.io/ -->
<!-- LEKTOR THEME MAINTAINED AND EXPANED BY Spyder Dev Team -->
<!-- Website: https://github.com/spyder-ide/lektor-icon -->
<!-- Copyright (c) 2016- Lektor-Icon Contributors -->
<!-- Original standalone HTML5 theme distributed under the terms of the -->
<!-- Creative Commons Attribution 3.0 license -->
<!-- https://creativecommons.org/licenses/by/3.0/ -->
<!-- Additions, modifications and porting released under the terms of the -->
<!-- MIT (Expat) License: https://opensource.org/licenses/MIT -->
<!-- See the LICENSE.txt file for more details -->
<!-- https://github.com/spyder-ide/lektor-icon/blob/master/LICENSE.txt -->
<!-- For information on the included third-party assets, see NOTICE.txt -->
<!-- https://github.com/spyder-ide/lektor-icon/blob/master/NOTICE.txt -->
<title>Home — pyglet</title>
<meta name="description" content="Web site of the pyglet project" lang="en-US">
<meta name="keywords" content="website, pyglet, python, gamedev, development" lang="en-US">
<meta name="theme-color" content="#ff6161">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon.ico?h=69f35c0b" type="image/png">
<style>
:root {
--theme-accent-color: #ff6161;
--theme-pipe-color: rgb(255, 76, 82)
}
</style>
<!-- Magnific Popup -->
<link rel="stylesheet" href="static/css/magnific-popup.css?h=82b0bb88" type="text/css">
<style>
.hero-section {
background-image: url("[email protected]")
}
@media ((min-device-width: 1921px) or ((min-device-width: 1281px) and (min-resolution: 102dpi)) or ((min-device-width: 961px) and (min-resolution: 152dpi))) {
.hero-section {
background-image: url("[email protected]")
}
}
@media ((max-device-width: 768px) and (((max-resolution: 100dpi) and (max-device-height: 1400px)) or ((max-device-height: 1050px) and (max-resolution: 150dpi)) or (max-device-height: 700px))) {
.hero-section {
background-image: url("[email protected]")
}
}
</style>
<!-- Google fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Amiri" type="text/css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway" type="text/css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata" type="text/css">
<!-- Theme style -->
<link rel="stylesheet" href="static/css/style.css?h=79956b2c" type="text/css">
<!-- User Custom CSS -->
<link rel="stylesheet" href="static/css/example-custom-styles.css?h=8859e27f" type="text/css">
</head>
<body>
<div class="fh5co-loader"></div>
<div class="fh5co-page">
<div id="fh5co-container">
<div class="js-sticky">
<div class="fh5co-main-nav navbar fixed-top">
<div class="container">
<div class="fh5co-menu-1">
<div class='pull-left'>
<ul class='dropdown menu' data-dropdown-menu>
<li id='menu-logo'>
<p></p>
<a href='./'>
<img alt="Site Logo" src="static/images/pyglet.png?h=fb5623cc">
<span class="logo-text-container">
<span class="logo-text">pyglet </span>
</span>
</a>
<p></p>
</li>
</ul>
</div>
<div class="main-nav-container">
<a href="#section-home" data-nav-section="home">Home</a>
<a href="#section-overview" data-nav-section="overview">About</a>
<a href="#section-features" data-nav-section="features">Features</a>
</div>
</div>
</div>
</div>
</div>
<div id="section-home" class="js-fullheight-home hero-section" data-section="home" data-stellar-background-ratio="0.5">
<div class="container">
<div class="col-md-6">
<div class="js-fullheight-home fh5co-copy">
<div class="js-fullheight-home fh5co-copy-inner">
<h1>pyglet</h1>
<h2>Welcome to the website of the <b>pyglet</b> project!</h2>
</div>
</div>
</div>
</div>
</div> <!-- END hero-section -->
<div id="section-overview" data-section="overview" class="content-section body-section light-bg-section">
<div class="text-center fh5co-heading">
<h2>About</h2>
<p>The cross-platform windowing and multimedia library for Python.</p>
</div>
<div class="center">
<p><strong>pyglet</strong> is a powerful yet easy-to-use Python library for developing games and other visually rich applications on Windows, macOS, and Linux. It supports windowing, mouse and keyboard, controllers, joysticks, displaying images and videos, and playing sounds and music. All of this with a friendly Pythonic API that's simple to learn and doesn't get in your way. For advanced users, OpenGL bindings are directly accessible. User-friendly abstractions for Shaders, FrameBuffers, and other common OpenGL objects are also available.</p>
<p>pyglet is provided under the BSD open-source license, allowing you to use it for both commercial and other open-source projects with very little restriction.</p>
<p>Read the documentation at <a href="https://pyglet.readthedocs.io">https://pyglet.readthedocs.io</a> and visit us on:</p>
</div>
<div class="row">
<a href="https://github.com/pyglet/pyglet" class="content-button text-button" target="_blank" rel="noopener noreferrer">Github</a>
</div>
</div> <!-- END content-section -->
<div id="section-features" data-section="features" class="services-section body-section dark-bg-section">
<div class="text-center fh5co-heading">
<h2>Features</h2>
</div>
<div class="container">
<div class="col-md-4 card-outer">
<div class="card service">
<div class="card-inner">
<div class="icon">
</div>
<h3>No external dependencies</h3>
<p>No external dependencies or installation requirements. For most applications and games, pyglet needs nothing else besides Python, simplifying distribution and installation. This makes it easy to package your project with freezers such as PyInstaller or other popular packaging tools. You can even copy the pyglet package directly into your project folder and make a <a href="https://docs.python.org/3/library/zipapp.html">zipapp</a>.</p>
</div>
<div class="card-spacer"></div>
</div>
</div>
<div class="col-md-4 card-outer">
<div class="card service">
<div class="card-inner">
<div class="icon">
</div>
<h3>Flexible native windowing</h3>
<p>pyglet provides platform native windows, allowing you to take advantage of multiple windows and multi-monitor desktops. You have as much control over how your application or game is displayed as the platform allows. Create multiple floating windows, or single windows with hints over which monitor they appear on, full screen or windowed.</p>
</div>
<div class="card-spacer"></div>
</div>
</div>
<div class="col-md-4 card-outer">
<div class="card service">
<div class="card-inner">
<h3>Built-in support for loading images and audio</h3>
<p>pyglet contains built-in decoders for standard formats such as wav, png, bmp, dds, and others. Platform libraries (MediaFoundation, GStreamer, CoreAudio) are also used to provide support for additional formats, such as mp3, ogg, etc. If that's not sufficient, pyglet can optionally use FFmpeg to play back virtually any audio or video format that it supports.</p>
</div>
<div class="card-spacer"></div>
</div>
</div>
<div class="col-md-4 card-outer">
<div class="card service">
<div class="card-inner">
<h3>Written in pure Python</h3>
<p>pyglet is written entirely in pure Python, and makes use of the ctypes module to directly interface with system libraries. This makes it easy to modify the code-base, or make a contribution without any compilation steps or knowledge of another language. Despite being pure Python, pyglet has excellent performance thanks to advanced batching and GPU rendering. You can easily draw thousands of sprites or animations.</p>
</div>
<div class="card-spacer"></div>
</div>
</div>
<div class="col-md-4 card-outer">
<div class="card service">
<div class="card-inner">
<h3>Extensive input support</h3>
<p>In addition to mouse and keyboard, a variety of general input devices (HID) are supported with an event driven API. This includes devices like joysticks that have arbitrary numbers of buttons and axis, and modern dual-analog stick game controllers. Game controllers support rumble (force feedback), and automatic button mapping. A high level <em>ControllerManager</em> is available that lets you easily support hot-plugging of controllers.</p>
</div>
<div class="card-spacer"></div>
</div>
</div>
</div>
</div> <!-- END services-section -->
<div id="fh5co-footer">
<div class="container">
<div class="row footer-connect-line">
<div class="text-center">
<p>
Connect with us on:
<a href="https://github.com/pyglet/pyglet"> Github </a>
<span class="pipe-colored">|</span>
<a href="https://discord.gg/QXyegWe"> Discord </a>
<span class="pipe-colored">|</span>
<a href="https://groups.google.com/d/forum/pyglet-users"> Google Groups </a>
</p>
</div>
</div>
<div class="row footer-copyright">
<div class="text-center">
<p>
<a href="https://freehtml5.co/icon-free-website-template-using-bootstrap/" target="_blank" rel="noopener noreferrer">Template</a> designed by <a href="https://freehtml5.co/" target="_blank" rel="noopener noreferrer">FreeHTML5.co</a> <span class="pipe-colored"> | </span> Licensed <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank" rel="noopener noreferrer">CC-BY 3.0</a>
<br><a href="https://github.com/SteveLane/hugo-icon" target="_blank" rel="noopener noreferrer">Hugo port</a> by <a href="https://github.com/SteveLane/" target="_blank" rel="noopener noreferrer">SteveLane</a> <span class="pipe-colored">|</span> <a href="https://github.com/spyder-ide/lektor-icon" target="_blank" rel="noopener noreferrer">Lektor port</a> by <a href="https://github.com/dalthviz/" target="_blank" rel="noopener noreferrer">Dalthviz</a> and <a href="https://www.spyder-ide.org/" target="_blank" rel="noopener noreferrer">Spyder</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery -->
<script src="static/js/jquery-3.3.1.min.js?h=0dc32db4" type="application/javascript" charset="UTF-8"></script>
<!-- Waypoints -->
<script src="static/js/jquery.waypoints.min.js?h=a2b72d43" type="application/javascript" charset="UTF-8"></script>
<!-- Main JS -->
<script src="static/js/main.js?h=6653e38d" type="application/javascript" charset="UTF-8"></script>
<!-- jQuery Easing -->
<script src="static/js/jquery.easing.min.js?h=ce3bb198" type="application/javascript" charset="UTF-8"></script>
<!-- Stellar Parallax -->
<script src="static/js/jquery.stellar.min.js?h=ceb5febf" type="application/javascript" charset="UTF-8"></script>
<!-- Magnific Popup -->
<script src="static/js/jquery.magnific-popup.min.js?h=13d72330" type="application/javascript" charset="UTF-8"></script>
<script src="static/js/magnific-popup-options.js?h=79138731" type="application/javascript" charset="UTF-8"></script>
<!-- Main JS -->
<script src="static/js/main-singlelayout.js?h=ce8a7ed8" type="application/javascript" charset="UTF-8"></script>
<!-- <script src="https://code.jquery.com/jquery-migrate-3.0.1.js" type="application/javascript" charset="UTF-8"></script> -->
</body>
</html>