Skip to content

Commit 7b2c3e8

Browse files
committed
Updated header styles in readme.
1 parent 4cea8d7 commit 7b2c3e8

1 file changed

Lines changed: 25 additions & 45 deletions

File tree

README.md

Lines changed: 25 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
![Phaser 2.0](http://www.phaser.io/images/phaser2-github.png)
22

3-
Phaser 2.0.3
4-
============
3+
# Phaser 2.0.3
54

65
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.
76

@@ -23,8 +22,7 @@ By Richard Davey, [Photon Storm](http://www.photonstorm.com)
2322
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/photonstorm/phaser/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
2423

2524

26-
What's new in 2.0.3?
27-
--------------------
25+
## What's new in 2.0.3?
2826

2927
In this release we have upgraded both pixi.js to v1.5.2 and p2.js to v0.5.0. This improves features and stability across the whole framework, and as always you'll find the complete list of improvements below.
3028

@@ -39,8 +37,7 @@ As promised with the 2.0.0 release we have done all of this without changing exi
3937
Some of you may not be aware, but the `phaser.min.js` file in the build folder contains all 3 physics systems bundled in. We've refined our build process so that it's easy for you to create custom builds now via grunt, but if you know you only need Arcade Physics (and not P2 or Ninja) then you can use `phaser-arcade-physics.min.js` which is found in the `build/custom` folder. This will save you 180KB from the minified file size, so please use it if you can.
4038

4139

42-
Welcome to Phaser
43-
-----------------
40+
## Welcome to Phaser
4441

4542
6 months ago we released Phaser 1.0 into the world. Suffice to say that since then we've been overwhelmed at the huge surge of developers taking to it! Our github repository is consistently in the top JavaScript lists, we've over 3200 stars at the time of writing, and a wonderful, vibrant and friendly community. Phaser 2 is a natural evolution of what we started. We've focused specifically on performance and expansion with this release. Lots of developers have already reported to us considerably speed increases just by swapping to Phaser 2 (reports of 200% faster speeds on mobile aren't unheard of!). There's also a full-body physics system available now, in the form of the excellent p2.js. The upgrade to Pixi 1.5 under the hood bought lots of new visual effects in, including blend modes and tints.
4643

@@ -55,24 +52,22 @@ Happy coding everyone! See you on the forums.
5552
![boogie](http://www.phaser.io/images/spacedancer.gif)
5653

5754

58-
Getting Started Guides
59-
----------------------
55+
## Getting Started Guides
6056

6157
We have a new [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.
6258

6359
There is a comprehensive [How to Learn Phaser](http://gamedevelopment.tutsplus.com/articles/how-to-learn-the-phaser-html5-game-engine--gamedev-13643) guide on the GameDevTuts+ site which is a great place to learn where to find tutorials, examples and support.
6460

6561
There is also an [un-official Getting Started Guide](http://www.antonoffplus.com/coding-an-html5-game-for-30-minutes-or-an-introduction-to-the-phaser-framework).
6662

67-
6863
![Phaser Logo](http://www.photonstorm.com/wp-content/uploads/2013/09/phaser_10_release.jpg)
6964

70-
Change Log
71-
----------
65+
66+
## Change Log
7267

7368
Version 2.0.3 - "Allorallen" - 11th April 2014
7469

75-
Updates
70+
### Updates
7671

7772
* Updated to [Pixi.js 1.5.2](https://github.com/GoodBoyDigital/pixi.js/releases/tag/v1.5.2)
7873
* Updated to [p2.js 0.5.0](https://github.com/schteppe/p2.js/releases/tag/v0.5.0)
@@ -99,8 +94,7 @@ Updates
9994
* p2.World bounds are now included in the callback events such as beginContact and impact events.
10095
* Thanks to @STuFF the Classes drop-down list in the API docs now indents the sub-classes.
10196

102-
103-
New Features
97+
### New Features
10498

10599
* Added ability to retrieve a single p2 fixture from the cache (thanks @georgiee, #674)
106100
* Timers can now have a start delay value (thanks @georgiee, #660)
@@ -146,8 +140,7 @@ Use cases:
146140
* Place a sensor in your fixture and access this single fixture later (to disable temporarily)
147141
* Create a small body with threes fixtures (circle, circle + polygon/convex). Now you want that the polygon part to behave like rubber and assign a bouncing (restitution > 1) material. Assign a fixture key in PhysicsEditor and access the fixture like this. (see the image for the fixture I described)
148142

149-
150-
Bug Fixes
143+
### Bug Fixes
151144

152145
* If you inputEnable = false a gameobject you couldn't re-enable it again using inputEnable = true, only directly via the handler (thanks @nickrall, fix #673)
153146
* Fixed setTexture bug with TilingSprite (pixi.js 1.5.2 bug fix)
@@ -168,8 +161,7 @@ Bug Fixes
168161
* Objects with an InputHandler now deactivate it when the object is removed from a Group but not destroyed (fix #672)
169162
* Fixed the vectors used in the BlurX and BlurY filters (thanks @nickryall, fix #668)
170163

171-
172-
p2.js v0.5.0
164+
### p2.js v0.5.0
173165

174166
* Added property .enableIslandSleeping to World.
175167
* Added property .useFrictionGravityOnZeroGravity to World.
@@ -227,8 +219,7 @@ There is an extensive [Migration Guide](https://github.com/photonstorm/phaser/bl
227219
The full Change Log is at https://github.com/photonstorm/phaser/blob/master/changelog.md
228220

229221

230-
How to Build
231-
------------
222+
## How to Build
232223

233224
We provide a fully compiled version of Phaser in the `build` folder, in both plain and minified formats.
234225

@@ -243,14 +234,12 @@ If you replace Pixi or p2 then run `grunt replace` to patch their UMD strings so
243234
Note: Some of you may not be aware, but the `phaser.min.js` file in the build folder contains all 3 physics systems bundled in. If you only need Arcade Physics then you can use `build\custom\phaser-arcade-physics.min.js` instead. This will save you 180KB from the minified file size.
244235

245236

246-
Koding
247-
------
237+
## Koding
248238

249239
You can [![clone the Phaser repo in Koding](http://learn.koding.com/btn/clone_d.png)][koding] and then start editing and previewing code right away using their web based VM development system.
250240

251241

252-
Bower
253-
-----
242+
## Bower
254243

255244
If you use bowser you can install phaser with:
256245

@@ -261,8 +250,7 @@ Nice and easy :)
261250
![Tanks](http://www.photonstorm.com/wp-content/uploads/2013/10/phaser_tanks-640x480.png)
262251

263252

264-
CDNJS
265-
-----
253+
## CDNJS
266254

267255
Thanks to a community member Phaser is now available on [CDNJS](http://cdnjs.com). You can include the following in your html:
268256

@@ -273,8 +261,7 @@ Or if you prefer you can leave the protocol off, so it works via http and https:
273261
`//cdnjs.cloudflare.com/ajax/libs/phaser/2.0.3/phaser.min.js`
274262

275263

276-
Requirements
277-
------------
264+
## Requirements
278265

279266
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.
280267

@@ -285,8 +272,7 @@ For developing with Phaser you can use either a plain-vanilla JavaScript approac
285272
Phaser is 576 KB minified (including all 3 physics engines, 311 KB without) and 128 KB gzipped (67 KB without physics libs).
286273

287274

288-
Learn By Example
289-
----------------
275+
## Learn By Example
290276

291277
Ever since we started Phaser we've been growing and expanding our extensive set of Examples. Currently over 270 of them!
292278

@@ -309,8 +295,7 @@ There is a new 'Side View' example viewer as well. This loads all the examples i
309295
You can also browse all [Phaser Examples](http://examples.phaser.io) online.
310296

311297

312-
Features
313-
--------
298+
## Features
314299

315300
**WebGL & Canvas**
316301

@@ -380,27 +365,26 @@ Phaser has been used to create hundreds of games, which receive millions of play
380365
![FruitParty](http://www.photonstorm.com/wp-content/uploads/2013/10/phaser_fruit_particles-640x480.png)
381366

382367

383-
Road Map
384-
--------
368+
## Road Map
385369

386370
Beyond version 2.0 here are some of the features planned for the future:
387371

388-
Version 2.1 ("Shienar")
372+
### Version 2.1 ("Shienar")
389373

390374
* Enhance the State Management, so you can perform non-destructive State swaps and persistence.
391375
* A more advanced Particle system, one that can render to a single canvas (rather than spawn hundreds of Sprites), more advanced effects, etc.
392376
* Ability to control DOM elements from the core game and layer them into the game.
393377
* Touch Gestures.
394378
* Support for parallel asset loading.
395379

396-
Version 2.2 ("Tarabon")
380+
### Version 2.2 ("Tarabon")
397381

398382
* Comprehensive testing across Firefox OS devices, CocoonJS and Ejecta.
399383
* Integration with third party services like Google Play Game Services and Amazon JS SDK.
400384
* Flash CC HTML5 export integration.
401385
* Massively enhance the audio side of Phaser. Take more advantage of Web Audio: echo effects, positional sound, etc.
402386

403-
Beyond version 2.2
387+
### Beyond version 2.2
404388

405389
* Test out packaging with Node-webkit.
406390
* Game parameters stored in Google Docs.
@@ -412,14 +396,12 @@ Beyond version 2.2
412396
* Look at XDomainRequest for IE9 CORs issues.
413397

414398

415-
Nadion
416-
------
399+
## Nadion
417400

418401
[Nadion](https://github.com/jcd-as/nadion) is a set of powerful enhancements for Phaser that makes level building even easier. It includes features such as Trigger, Area, Alarms and Emitters, debug panels, state machines, parallax layer scrolling, 'developer mode' short-cuts and more.
419402

420403

421-
Contributing
422-
------------
404+
## Contributing
423405

424406
We now have a full [Contributors Guide][contribute] which goes into the process in more detail, but here are the headlines:
425407

@@ -432,8 +414,7 @@ We now have a full [Contributors Guide][contribute] which goes into the process
432414
- Before submitting a Pull Request please run your code through [JSHint](http://www.jshint.com/) to check for stylistic or formatting errors. To use JSHint, run `grunt jshint`. This isn't a strict requirement and we are happy to receive Pull Requests that haven't been JSHinted, so don't let it put you off contributing, but do know that we'll reformat your source before going live with it.
433415

434416

435-
Bugs?
436-
-----
417+
## Bugs?
437418

438419
Please add them to the [Issue Tracker][issues] with as much info as possible, especially source code demonstrating the issue.
439420

@@ -442,8 +423,7 @@ Please add them to the [Issue Tracker][issues] with as much info as possible, es
442423
"Being negative is not how we make progress" - Larry Page, Google
443424

444425

445-
License
446-
-------
426+
## License
447427

448428
Phaser is released under the [MIT License](http://opensource.org/licenses/MIT).
449429

0 commit comments

Comments
 (0)