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
You can now load any binary file via the Loader: game.load.binary(key, url, callback) - the optional callback allows for post-load processing before entering the Cache.
Copy file name to clipboardExpand all lines: README.md
+34-24Lines changed: 34 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ New features:
59
59
* Added Device.silk for detecting a Kindle Fire and updated desktop OS check to exclude Kindles (thanks LuckieLordie)
60
60
* TilemapLayers now have debug and debugAlpha values, this turns on the drawing of the collision edges (very handy for debugging, as the name implies!)
61
61
* Tweens have a new event: onLoop.
62
+
* You can now load any binary file via the Loader: game.load.binary(key, url, callback) - the optional callback allows for post-load processing before entering the Cache.
@@ -142,6 +155,24 @@ For developing with Phaser you can use either a plain-vanilla JavaScript approac
142
155
Phaser is 321 KB minified and 72 KB gzipped.
143
156
144
157
158
+
Learn By Example
159
+
----------------
160
+
161
+
Phaser comes with an ever growing suite of Examples. Personally I feel that we learn better by looking at small refined code examples, so we created over 170 of them and create new ones to test every new feature added. Inside the `examples` folder you'll find the current set. If you write a particularly good example then please send it to us.
162
+
163
+
The examples need to be run through a local web server (in order to avoid file access permission errors from your browser). You can use your own web server, or start the included web server using grunt.
164
+
165
+
Using a locally installed web server browse to the examples folder:
166
+
167
+
examples/index.html
168
+
169
+
Alternatively in order to start the included web server, after you've cloned the repo, run `npm install` to install all dependencies, then `grunt connect `to start a local server. After running this command you should be able to access your local webserver at `http://127.0.0.1:8000`. Then browse to the examples folder: `http://127.0.0.1:8000/examples/index.html`
170
+
171
+
There is a new 'Side View' example viewer as well. This loads all the examples into a left-hand frame for faster navigation.
172
+
173
+
You can also browse all [Phaser Examples](http://gametest.mobi/phaser/) online.
174
+
175
+
145
176
Features
146
177
--------
147
178
@@ -208,7 +239,7 @@ We use Phaser every day on our many client projects. As a result it's constantly
208
239
209
240
**Battle Tested**
210
241
211
-
Although Phaser 1.0 is a brand new release it is born from years of experience building some of the biggest HTML5 games out there. We're not saying it is 100% bug free, but we use it for our client work every day, so issues get resolved <em>fast</em> and we stay on-top of the changing browser landscape.
242
+
Although Phaser 1.0 is a brand new release it is born from years of experience building some of the biggest mobile HTML5 games out there. We're not saying it is 100% bug free, but we use it for our client work every day, so issues get resolved <em>fast</em> and we stay on-top of the changing browser landscape.
The 1.1 release was a massive under-taking, but we're really happy with how Phaser is progressing. It's becoming more solid and versatile with each iteration. Here is what's on our road map for future versions:
220
251
221
-
Version 1.1.4 ("Kandor")
222
-
223
-
* Enhance the State Management, so you can perform non-destructive State swaps and persistence.
224
-
* More advanced tile map features. Better support for advanced Tiled features. Proper support for DAME tilemaps.
225
-
226
252
Versions 1.2 ("Saldaea")
227
253
228
254
* Integration with the p2.js physics system.
255
+
* Enhance the State Management, so you can perform non-destructive State swaps and persistence.
229
256
230
257
Beyond version 1.2
231
258
@@ -244,24 +271,7 @@ Beyond version 1.2
244
271
* Add a d-pad example (http://www.html5gamedevs.com/topic/1574-gameinputondown-question/)
245
272
* Create more touch input examples (http://www.html5gamedevs.com/topic/1556-mobile-touch-event/)
246
273
* Look at HiDPI Canvas settings.
247
-
248
-
249
-
Learn By Example
250
-
----------------
251
-
252
-
Phaser comes with an ever growing suite of Examples. Personally I feel that we learn better by looking at small refined code examples, so we created over 170 of them and create new ones to test every new feature added. Inside the `examples` folder you'll find the current set. If you write a particularly good example then please send it to us.
253
-
254
-
The examples need to be run through a local web server (in order to avoid file access permission errors from your browser). You can use your own web server, or start the included web server using grunt.
255
-
256
-
Using a locally installed web server browse to the examples folder:
257
-
258
-
examples/index.html
259
-
260
-
Alternatively in order to start the included web server, after you've cloned the repo, run `npm install` to install all dependencies, then `grunt connect `to start a local server. After running this command you should be able to access your local webserver at `http://127.0.0.1:8000`. Then browse to the examples folder: `http://127.0.0.1:8000/examples/index.html`
261
-
262
-
There is a new 'Side View' example viewer as well. This loads all the examples into a left-hand frame for faster navigation.
263
-
264
-
You can also browse all [Phaser Examples](http://gametest.mobi/phaser/) online.
0 commit comments