phaser/src
photonstorm 92d3a5efa8 Adds a callback that is fired every time 'Pointer.processInteractiveObjects' is called.
The purpose of `processInteractiveObjects` is to work out which Game Object the Pointer is going to
interact with. It works by polling all of the valid game objects, and then slowly discounting those
 that don't meet the criteria (i.e. they aren't under the Pointer, are disabled, invisible, etc).

Eventually a short-list of 'candidates' is created. These are all of the Game Objects which are valid
for input and overlap with the Pointer. If you need fine-grained control over which of the items is
selected then you can use this callback to do so.

The callback will be sent 3 parameters:

1) A reference to the Phaser.Pointer object that is processing the Items.
2) An array containing all potential interactive candidates. This is an array of `InputHandler` objects, not Sprites.
3) The current 'favorite' candidate, based on its priorityID and position in the display list.

Your callback MUST return one of the candidates sent to it.
2016-06-09 14:49:10 +01:00
..
animation Reverse and reverseOnce will now return the animation to allow linking. 2016-05-31 20:29:02 +03:00
core The DisplayObject.renderOrderID used to run in reverse. I.e. in a display list with 10 sprites on it, the first sprite (at the bottom of the list, rendering behind all the others) would have a renderOrderID of 9, where-as the top-most sprite, rendering above all others, would have a renderOrderID of 0. While this didn't cause any side-effects internally, it's arguably illogical. So the process has been reversed, and renderOrderIDs are now accumulative, starting at zero each frame, and increasing as it iterates down the display list. So the higher the ID, the more "on-top" of the output the object is. 2016-06-09 12:32:37 +01:00
gameobjects Fixed the data object not being created. 2016-06-06 00:31:46 +01:00
geom Fixe Phaser.Rectangle.aabb() 2016-06-08 16:14:30 -06:00
input Adds a callback that is fired every time 'Pointer.processInteractiveObjects' is called. 2016-06-09 14:49:10 +01:00
loader Don't extend Phaser.Utils when doing deep copy in Phaser.Cache.getJSON. 2016-06-03 10:16:07 -05:00
math Math.between will return a value between the given min and max values. 2016-06-03 16:18:35 +01:00
net Fixed jsdocs #2418 2016-04-11 08:55:24 +01:00
particles Merge pull request #2187 from BdR76/patch-1 2016-04-06 01:28:49 +01:00
physics Resolved issue with tilemapLayer collision. 2016-06-08 23:52:56 +01:00
pixi PIXI.DisplayObjectContainer.ignoreChildInput is a new property. If true then the children will _not_ be considered as valid for Input events. Because this has been applied to DisplayObjectContainer it means it's available in Group, Sprite and any other display level object. Using this boolean you can disable input events for all children in an entire Group, without having to iterate anything or deep-set flags. 2016-06-09 14:32:56 +01:00
plugins/weapon Phew. Added TypeScript defs for the Weapon Plugin. Don't say I never do anything for you! 2016-06-03 17:11:08 +01:00
sound Merge pull request #2529 from TheJasonReynolds/local_dev 2016-06-05 15:51:43 +01:00
stubs SoundManager.muteOnPause is a new boolean that allows you to control if the Sound system gets muted automatically when a Phaser game pauses, such as when it loses focus. You may need to set this to false if you wish to control the audio system from outside of your Phaser game, i.e. from DOM buttons or similar (#2382) 2016-04-06 02:09:22 +01:00
system Within RequestAnimationFrame both updateRAF and updateSetTimeout now only call game.update if isRunning is true. This should avoid asynchronous Game destroy errors under environments like Angular (thanks @flogvit #2521) 2016-06-03 13:00:45 +01:00
tilemap Adds missing fixedToCamera check in Phaser.TilemapLayer.prototype._renderWebGL e4ea011353 2016-06-03 16:11:39 +01:00
time Update docstring for TimerEvent 2016-06-02 17:47:31 -07:00
tween Tween.update wouldn't dispatch an onLoop signal for Tweens with just one child, such as those created via Tween.to with -1 as the repeat value (thanks @ForgeableSum #2407) 2016-04-05 01:11:50 +01:00
utils The Debug canvas now listens for the ScaleManager.onSizeChange signal and resizes itself accordingly when running under WebGL. This means if your game size changes the Debug canvas won't be clipped off (thanks @francisberesford #1919) 2016-04-05 21:52:11 +01:00
Intro.js 2015 - 2016. 2016-04-04 22:16:16 +01:00
Outro.js 2015 - 2016. 2016-04-04 22:16:16 +01:00
Phaser.js There are two new Phaser consts available, for help with orientation of games or Game Objects. They are Phaser.HORIZONTAL, Phaser.VERTICAL, Phaser.LANDSCAPE and Phaser.PORTRAIT. 2016-06-07 01:45:33 +01:00
PixiDefaults.js 2015 - 2016. 2016-04-04 22:16:16 +01:00
polyfills.js 2015 - 2016. 2016-04-04 22:16:16 +01:00