You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-17Lines changed: 35 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,8 @@
20
20
-[Bugs?](#bugs)
21
21
-[License](#license)
22
22
23
-
# Phaser 2.1.0 <aname="about"></a>
23
+
<aname="about"></a>
24
+
# Phaser 2.1.0
24
25
25
26
Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses [Pixi.js](https://github.com/GoodBoyDigital/pixi.js/) internally for fast 2D Canvas and WebGL rendering.
26
27
@@ -41,7 +42,8 @@ By Richard Davey, [Photon Storm](http://www.photonstorm.com)
41
42
42
43

43
44
44
-
## Welcome to Phaser and What's new in 2.1.0? <aname="whats-new"></a>
45
+
<aname="whats-new"></a>
46
+
## Welcome to Phaser and What's new in 2.1.0?
45
47
46
48
Phaser 2.1 is a significant update, bringing literally hundreds of features, fixes and updates to the core framework. It's the result of months of hard work from both the Phaser team and the wonderful community on github and the forums.
47
49
@@ -59,7 +61,8 @@ Until then happy coding everyone! And we hope to see you on the forums.
59
61
60
62

61
63
62
-
## Getting Started Guides <aname="getting-started"></a>
64
+
<aname="getting-started"></a>
65
+
## Getting Started Guides
63
66
64
67
We have a [Getting Started Guide](http://phaser.io/getting-started-js.php) which covers all you need to begin developing games with Phaser. From setting up a web server to picking an IDE. If you're new to HTML5 game development, or are coming from another language like AS3, then we recommend starting there.
65
68
@@ -73,7 +76,8 @@ Finally the list of [community authored Phaser Tutorials](http://www.lessmilk.co
73
76
74
77

75
78
76
-
## Change Log <aname="change-log"></a>
79
+
<aname="change-log"></a>
80
+
## Change Log
77
81
78
82
Version 2.1.0 - "Cairhien" - 9th September 2014
79
83
@@ -206,6 +210,7 @@ Version 2.1.0 - "Cairhien" - 9th September 2014
206
210
* Phaser.Text wouldn't render the text to its local canvas if you passed the text on the constructor and didn't add it to the display list. If a string is given it now updates the local canvas on creation.
207
211
* Signal.removeAll would ignore the context parameter and remove all bindings regardless (thanks @alect#1168)
208
212
* P2.Body.addCapsule didn't use to pass the radius value through pxm, but now does so you have to specify it in pixels, not meters.
213
+
* The Debug canvas is now cleared on State swap.
209
214
210
215
### p2.js 0.6.0 Changes and New Features
211
216
@@ -249,7 +254,8 @@ For details about changes made in previous versions of Phaser see the full Chang
249
254
250
255

251
256
252
-
## How to Build <aname="how-to-build"></a>
257
+
<aname="how-to-build"></a>
258
+
## How to Build
253
259
254
260
We provide a fully compiled version of Phaser in the `build` folder, in both plain and minified formats.
255
261
@@ -265,13 +271,15 @@ Note: Some of you may not be aware, but the `phaser.min.js` file in the build fo
265
271
266
272

267
273
268
-
## Koding <aname="koding"></a>
274
+
<aname="koding"></a>
275
+
## Koding
269
276
270
277
You can [clone the Phaser repo in Koding](https://koding.com/Teamwork?import=https://github.com/photonstorm/phaser/archive/master.zip&c=git1) and then start editing and previewing code right away using their web based VM development system.
271
278
272
279

273
280
274
-
## Bower / NPM <aname="bower"></a>
281
+
<aname="bower"></a>
282
+
## Bower / NPM
275
283
276
284
If you use bower you can install phaser with:
277
285
@@ -287,7 +295,8 @@ Nice and easy :)
287
295
288
296

289
297
290
-
## CDNJS <aname="cdnjs"></a>
298
+
<aname="cdnjs"></a>
299
+
## CDNJS
291
300
292
301
Phaser is now available on [CDNJS](http://cdnjs.com). You can include the following in your html:
293
302
@@ -299,7 +308,8 @@ Or if you prefer you can leave the protocol off, so it works via http and https:
299
308
300
309

301
310
302
-
## Requirements <aname="requirements"></a>
311
+
<aname="requirements"></a>
312
+
## Requirements
303
313
304
314
Games created with Phaser require a modern web browser that supports the canvas tag. This includes Internet Explorer 9+, Firefox, Chrome, Safari and Opera. It also works on mobile web browsers including stock Android 2.x browser and above and iOS5 Mobile Safari and above. But as always be aware of browser limitations. Not all features of Phaser work on all browsers.
305
315
@@ -313,7 +323,8 @@ Phaser is developed in JavaScript. We've made no assumptions about how you like
313
323
314
324
If you code with [TypeScript](http://www.typescriptlang.org/) you'll find a comprehensive definitions file inside the `build` folder and tutorials on getting started.
315
325
316
-
### Build Files and Custom Builds <aname="build-files"></a>
326
+
<aname="build-files"></a>
327
+
### Build Files and Custom Builds
317
328
318
329
The `build` folder contains the pre-built packaged versions of Phaser.
319
330
@@ -327,7 +338,8 @@ You can create your own custom build of Phaser by looking at the grunt options a
327
338
328
339

329
340
330
-
## Learn By Example <aname="example"></a>
341
+
<aname="example"></a>
342
+
## Learn By Example
331
343
332
344
Ever since we started Phaser we've been growing and expanding our extensive set of Examples. Currently over 320 of them!
333
345
@@ -351,7 +363,8 @@ You can also browse all [Phaser Examples](http://examples.phaser.io) online.
351
363
352
364

353
365
354
-
## Features <aname="features"></a>
366
+
<aname="features"></a>
367
+
## Features
355
368
356
369
**WebGL & Canvas**
357
370
@@ -422,7 +435,8 @@ Phaser has been used to create hundreds of games, which receive millions of play
422
435
423
436

424
437
425
-
## Road Map <aname="road-map"></a>
438
+
<aname="road-map"></a>
439
+
## Road Map
426
440
427
441
Here are some of the features planned for future releases:
428
442
@@ -461,13 +475,15 @@ Phaser 3 has entered the planning stages. Development will not begin until early
461
475
462
476

463
477
464
-
## Mighty Editor - A Visual Phaser Game Editor <aname="mighty-editor"></a>
478
+
<aname="mighty-editor"></a>
479
+
## Mighty Editor - A Visual Phaser Game Editor
465
480
466
481
[MightyEditor](http://mightyfingers.com/) is a browser-based visual Phaser game editor. Create your maps with ease, position objects and share them in seconds. It also exports to native Phaser code. Excellent for quickly setting-up levels and scenes.
467
482
468
483

469
484
470
-
## Contributing <aname="contributing"></a>
485
+
<aname="contributing"></a>
486
+
## Contributing
471
487
472
488
We now have a full [Contributors Guide][contribute] which goes into the process in more detail, but here are the headlines:
473
489
@@ -483,7 +499,8 @@ We now have a full [Contributors Guide][contribute] which goes into the process
483
499
484
500

485
501
486
-
## Bugs? <aname="bugs"></a>
502
+
<aname="bugs"></a>
503
+
## Bugs?
487
504
488
505
Please add them to the [Issue Tracker][issues] with as much info as possible, especially source code demonstrating the issue.
489
506
@@ -493,7 +510,8 @@ Please add them to the [Issue Tracker][issues] with as much info as possible, es
493
510
494
511

495
512
496
-
## License <aname="license"></a>
513
+
<aname="license"></a>
514
+
## License
497
515
498
516
Phaser is released under the [MIT License](http://opensource.org/licenses/MIT).
0 commit comments