photonstorm
7d436a7dc3
Update to #868
2014-06-05 13:17:32 +01:00
photonstorm
9aa10f7521
Sound.pause will no longer fire a Sound.onStop signal, and the pause values are set before the onPause signal is dispatched (thanks @AnderbergE, fix #868 )
2014-06-05 02:55:20 +01:00
photonstorm
369e2cc2d0
Sound.destroy(true) would call remove on the SoundManager, which in turn would throw a TypeError as it tried to remove the sound events twice (thanks @AnderbergE, fix #874 )
2014-06-05 02:50:53 +01:00
photonstorm
6cf0f7073e
Fixed point.normalise | normalize #872
2014-06-05 02:34:49 +01:00
photonstorm
c0460ef3df
Removed duplicate meta tags.
2014-06-05 02:33:29 +01:00
photonstorm
b63900f669
Testing frame crop support.
2014-06-05 02:33:29 +01:00
Richard Davey
62dfd56983
Merge pull request #875 from JeanDavidDaviet/dev
...
updated doc for Phaser.Tilemap#createBlankLayer
2014-06-05 02:29:17 +01:00
Richard Davey
8c0ac92f50
Merge pull request #873 from foolmoron/dev
...
Updated docs for Tween.onUpdateCallback to indicate that you can specify...
2014-06-05 02:28:28 +01:00
JeanDavidDaviet
89f860ad46
Updated doc for Input#deleteMoveCallback
2014-06-04 20:36:56 +10:00
JeanDavidDaviet
a4b279b9cc
updated doc for Phaser.Tilemap#createBlankLayer
2014-06-04 19:01:10 +10:00
Momin Khan
b4d6044f14
Updated docs for Tween.onUpdateCallback to indicate that you can specify the context
2014-06-03 23:56:49 -04:00
photonstorm
1c9e23f535
Emitter.start has a new parameter: forceQuantity which will force the quantity of a flow of particles to be the given value (request #853 )
...
Emitter.explode is a new short-cut for exploding a fixed quantity of particles at once.
Emitter.flow is a new short-cut for creating a flow of particles based on the given frequency.
2014-06-02 01:15:58 +01:00
photonstorm
12252944fa
Time.add allows you to add an existing Phaser.Timer to the timer pool (request #864 )
2014-06-02 00:54:42 +01:00
photonstorm
1d428a7ca4
Recoded Gamepad detection to stop it breaking on FF.
2014-06-02 00:48:44 +01:00
Richard Davey
c025b95959
Merge pull request #865 from woutercommandeur/dev
...
Fix Phaser.Line.intersectsPoints for floating point inaccuracy.
2014-06-02 00:47:05 +01:00
Wouter Commandeur
266eb10765
Fix Phaser.Line.intersectsPoints for floating point inaccuracy. Round the result to 3 decimals, should be enough precision and solves the problems.
...
See: http://www.html5gamedevs.com/topic/6840-phaserlineintersects-does-not-work-for-floats/
2014-05-31 12:13:59 +02:00
photonstorm
1e9d0b2438
Tidying up.
2014-05-30 05:33:30 +01:00
photonstorm
917c7491cd
Canvas.create has deprecated the noCocoon parameter as it's no longer required. The parameter is still in the signature, but no longer used in the method.
2014-05-30 02:03:07 +01:00
photonstorm
6e8694d5f7
A Canvas style set from a game config object used an incorrect property (thanks @TatumCreative, fix #861 )
2014-05-30 02:01:33 +01:00
photonstorm
edc1507b4e
Resolved issue where Cocoon won't render a scene in Canvas mode if there is only one Sprite/Image on it.
2014-05-29 23:52:13 +01:00
photonstorm
eee1183a6a
Forces use of a Canvas Renderer under CocoonJS automatically.
...
The SoundManager no longer requires a touch to unlock it, defaults to unlocked.
2014-05-29 23:17:18 +01:00
photonstorm
0c675f741f
Wrapped all events that CocoonJS doesn't support in conditional checks to avoid Cocoon Warnings.
2014-05-29 22:25:40 +01:00
Richard Davey
8bc1f99e0c
Merge pull request #860 from clark-stevenson/patch-2
...
Update phaser.d.ts
2014-05-29 22:02:05 +01:00
clark-stevenson
04d9e2e815
Update phaser.d.ts
...
Fixes #858
2014-05-29 17:50:10 +01:00
photonstorm
3c61e1d24f
Build files with Asset Pack support added.
2014-05-29 17:37:28 +01:00
photonstorm
8b4113c245
Updated Asset Pack Format documentation.
2014-05-29 17:37:17 +01:00
photonstorm
5a42a41608
Updated the JSON format.
2014-05-29 17:25:20 +01:00
photonstorm
5b5bdc80d9
Loader.pack will allow you to load in a new Phaser Asset Pack JSON file. An Asset Pack is a specially structured file that allows you to define all assets for your game in an external file. The file can be split into sections, allowing you to control loading a specific set of files from it. An example JSON file can be found in the resources
folder and examples of use in the Phaser Examples repository.
...
Loader.totalQueuedPacks returns the number of Asset Packs in the queue.
Loader.totalLoadedPacks returns the number of Asset Packs already loaded.
2014-05-29 17:05:13 +01:00
photonstorm
4004cc92e3
First working pass at the Asset Pack Loader update.
2014-05-29 15:57:47 +01:00
photonstorm
7de7785250
First draft of the Asset Pack JSON format.
2014-05-29 04:44:35 +01:00
photonstorm
066ab633a6
Loader.tilemap has renamed the mapURL
parameter to url
and mapData
to data
to keep it consistent with the other Loader methods.
...
Loader.physics has renamed the `dataURL` parameter to `url` and `jsonData` to `data` to keep it consistent with the other Loader methods.
2014-05-29 04:44:23 +01:00
photonstorm
af1508de8f
BitmapData.addToWorld will create a new Phaser.Image object, assign the BitmapData to be its texture, add it to the world then return it.
...
BitmapData.copyPixels now accepts a Sprite, Image, BitmapData, HTMLImage or string as its source.
2014-05-29 03:30:21 +01:00
photonstorm
2219e6f1c9
Timer.ms would report the game time ms value if the Timer hadn't yet been started, instead of 0.
...
Timer.seconds would report the game time value if the Timer hadn't yet been started, instead of 0.
2014-05-28 23:27:26 +01:00
photonstorm
f03445d9aa
User guides for the Flash to Phaser JSFL script.
2014-05-28 02:27:25 +01:00
Richard Davey
964f2d45ee
Merge pull request #852 from clark-stevenson/patch-1
...
Update phaser.d.ts
2014-05-28 02:26:58 +01:00
photonstorm
30cf226fc2
Rebuild on offset change.
2014-05-28 01:08:28 +01:00
photonstorm
099b7c1fdc
Version 1.0 of the Flash to Phaser JSFL Script.
2014-05-28 01:08:01 +01:00
clark-stevenson
cb3dedd485
Update phaser.d.ts
...
Updated from last week
Also I think #843 is solved and supports this for example. I do not really see a problem with Casting as I do it fairly frequently.
`var filter: Phaser.Filter.Marble = new Phaser.Filter.Marble(this.game, 800, 600, 4, 1);`
`var filter: Phaser.Filter.Marble = <Phaser.Filter.Marble>this.game.add.filter("Marble", 800, 600, 4, 1);`
`var filter: Phaser.Filter = this.game.add.filter("Marble", 800, 600, 4, 1);` <-- looses intellisense
2014-05-27 23:47:29 +01:00
photonstorm
0c76e9aada
Sprite animation data wasn't reset when going from a sprite sheet to a single frame in Sprite.loadTexture (thanks @lucbloom, fix #850 )
2014-05-27 14:23:41 +01:00
photonstorm
5a0d5b4887
RetroFont now uses Phaser.scaleModes.NEAREST by default for its RenderTexture to preserve scaling.
2014-05-27 13:36:38 +01:00
photonstorm
cdde45a292
Phaser.RenderTexture incorrectly passed the scaleMode to Pixi.RenderTexture, causing the renderer to error.
2014-05-27 13:35:47 +01:00
photonstorm
8d94b4a91c
Swapped keypress callback order.
2014-05-27 11:32:18 +01:00
photonstorm
9c35dfde0c
ArcadePhysics.Body has a new boolean property enable
. If false
the body won't be checked for any collision or overlaps, or have its pre or post update methods called. Use this for easy toggling of physics bodies without having to destroy or re-create the Body object itself.
2014-05-27 11:22:58 +01:00
photonstorm
5b9bd96583
RetroFont.updateOffset allows you to modify the offsetX/Y values used by the font during rendering.
2014-05-27 05:23:34 +01:00
photonstorm
890d90af4d
Keyboard.addCallbacks now has a new parameter for keypress event capture.
...
Keyboard.pressEvent stores the most recent DOM keypress event.
Keyboard.processKeyDown now runs the callback after all the objects have been created and/or updated.
Keyboard.processKeyUp now runs the callback after all the objects have been created and/or updated.
Phaser.Keyboard.lastChar will return the string value of the last key pressed.
Phaser.Keyboard.lastKey will return the most recently pressed Key object.
2014-05-27 04:26:37 +01:00
photonstorm
68f1bbd9a5
RetroFont charsPerRow paramters is now optional. If not given it will take the image width and divide it by the characterWidth value.
2014-05-27 04:26:23 +01:00
photonstorm
f007a77f3d
Fixed Gamepad issue that incorrectly checked non-webkit prefix gamepads.
2014-05-26 22:02:53 +01:00
photonstorm
cd963242cd
jshint fix + draw sprite fix
2014-05-26 20:15:11 +01:00
photonstorm
86c228d380
Group.destroy now removes any set filters (thanks @Jmaharman fix #844 )
2014-05-26 20:13:00 +01:00
Richard Davey
157103e4e5
Merge pull request #847 from clark-stevenson/patch-2
...
Update phaser.d.ts
2014-05-26 20:09:26 +01:00