photonstorm
|
fc3ffe5441
|
New docs.
|
2016-02-08 17:01:45 +00:00 |
|
Richard Davey
|
2e1b5a8f66
|
Updated readme.
|
2016-02-07 13:31:01 +00:00 |
|
Taylan Kasap
|
1310daa9af
|
Added RandomDataGenerator.sign (returns -1 or +1)
|
2016-02-07 14:25:19 +02:00 |
|
Richard Davey
|
1465d18d6b
|
Merge pull request #2326 from englercj/dev
Fix #2320: properly size filter texture and viewport
|
2016-02-07 14:04:04 +02:00 |
|
Chad Engler
|
5b7130d4d6
|
fix one more place where resolution wasn't taken into account
|
2016-02-06 17:05:44 -08:00 |
|
Chad Engler
|
7457cc67f2
|
Fix #2320: properly size filter texture and viewport
|
2016-02-06 11:30:31 -08:00 |
|
Richard Davey
|
12c529fc22
|
Phaser 2.4.5-RC1
|
2016-02-05 11:57:44 +00:00 |
|
Richard Davey
|
5801f1aa15
|
jshint fixes.
|
2016-02-04 23:39:58 +00:00 |
|
Richard Davey
|
818c64291a
|
SinglePad.onDownCallback has been moved to the end of the method, so that DeviceButton.start is now called before the callback fires, meaning if you check the status of the button in the onDownCallback it will now be fully activated (thanks @suicidepills #2159)
|
2016-02-04 22:46:18 +00:00 |
|
photonstorm
|
829b1e7ad1
|
Events.onDragUpdate has a new 6th property fromStart which is a boolean. You can determine if the event was the result of the start of a drag movement or not by polling it (#2155)
|
2016-02-04 17:00:30 +00:00 |
|
photonstorm
|
882c8b8d40
|
InputHandler.consumePointerEvent has been removed, as it was never used internally anyway, so was misleading (thanks @GregoryAveryWeir #2227)
|
2016-02-04 16:46:35 +00:00 |
|
Richard Davey
|
1ac287f9d3
|
Merge pull request #1993 from nickryall/retina-fullscreen
Fix for fullscreen retina ( Desktop )
|
2016-02-04 18:31:50 +02:00 |
|
photonstorm
|
9787474c6e
|
Camera.checkBounds now takes the scale of the Camera into account (thanks @ForGorNorPor #2263)
|
2016-02-04 16:26:18 +00:00 |
|
photonstorm
|
a7c360425f
|
Tidying up code and docs.
|
2016-02-04 16:23:40 +00:00 |
|
photonstorm
|
4574f310c3
|
Docs update.
|
2016-02-04 16:21:27 +00:00 |
|
Richard Davey
|
a8b04c4bf1
|
Merge pull request #2171 from mattrick16/dev
Add method to angle Display Objects relative to world
|
2016-02-04 18:21:14 +02:00 |
|
Richard Davey
|
2a948832fc
|
Merge pull request #1842 from hightopo/fix-mask-filter-bug
Fix mask combine filter bug
|
2016-02-04 18:07:39 +02:00 |
|
photonstorm
|
af4c938299
|
Docs update (#1967)
|
2016-02-04 16:05:45 +00:00 |
|
Richard Davey
|
a613612a89
|
Merge pull request #2192 from spayton/dev
Enhanced the intro/outro usage. The Pixidefaults inclusion have been…
|
2016-02-04 18:02:22 +02:00 |
|
photonstorm
|
5bcfa08af6
|
Text.useAdvancedWrap allows you to swap between the Basic and the Advanced word wrapping functions. In Advanced it will wrap long-words and condense and trim excess white space (thanks @soldoutactivist #1811)
|
2016-02-04 16:00:21 +00:00 |
|
photonstorm
|
da8fa83730
|
Changed default back.
|
2016-02-04 16:00:16 +00:00 |
|
photonstorm
|
afc96352de
|
PIXI.WebGLGraphics.stencilBufferLimit is a new integer that allows you to define how many points exist in a Graphics object before Pixi swaps to using the Stencil Buffer to render it. The default is now 64 (originally 6). This fixes issues with things like Quadratic curves not rendering as masks in WebGL.
|
2016-02-04 14:52:35 +00:00 |
|
photonstorm
|
c3c2dd6067
|
Graphics.arc has a new argument segments that allows you to control how many segments are created when the arc is drawn. The default is 40. Use a higher number for more fidelity, i.e. if you find that reversed arcs are not joining up fully (#2064)
|
2016-02-04 13:49:55 +00:00 |
|
photonstorm
|
8076f64656
|
We have replaced the PolyK Triangulation calls within Pixi with EarCut 2.0.8. This allows for faster polygon triangulation, and also deals with more complex polygons that PolyK would crash on.
|
2016-02-04 13:23:01 +00:00 |
|
Richard Davey
|
3baf3e7110
|
Merge pull request #2321 from rblopes/doc-typo
Doc: `Loader.enableParallel` is boolean.
|
2016-02-04 14:35:08 +02:00 |
|
Rafael Barbosa Lopes
|
a267e81b26
|
Doc: Loader.enableParallel is Boolean.
|
2016-02-04 10:06:12 -02:00 |
|
Richard Davey
|
2cd76b7617
|
Docs update (#2166)
|
2016-02-04 00:13:32 +00:00 |
|
Richard Davey
|
33604901c4
|
TilingSprite would ignore the renderable property, and render it regardless. Now it skips render if renderable is false (thanks @Green92 #2214)
|
2016-02-04 00:09:30 +00:00 |
|
Richard Davey
|
4e7fad353e
|
Loader.audiosprite is renamed to Loader.audioSprite (the old one still works for legacy reasons) (thanks @epaezrubio #2145)
|
2016-02-03 23:53:50 +00:00 |
|
Richard Davey
|
ecb68c2fca
|
JSDocs update.
|
2016-02-03 23:53:09 +00:00 |
|
Richard Davey
|
0610ddd15f
|
SoundManager.setTouchLock is no longer set if SoundManager.noAudio is true, or if the PhaserGlobal setting disableAudio is true (thanks @bcjordan #2206)
|
2016-02-03 23:23:36 +00:00 |
|
Richard Davey
|
a4c5fb9660
|
BitmapData.drawGroup can now handle drawing Emitters and BitmapText objects that are part of the Group.
|
2016-02-03 23:08:54 +00:00 |
|
Richard Davey
|
3b686f906f
|
Moved the Sound.disconnect after the Sound.stop call in Web Audio (#2280)
|
2016-02-03 22:22:22 +00:00 |
|
Richard Davey
|
87318ee0fe
|
TS defs fix.
|
2016-02-03 22:22:17 +00:00 |
|
Richard Davey
|
a0eb44ec09
|
Group.add and Group.addAt would forget to remove the child from the hash of its previous Group if it had a physics body enabled, causing unbounded hash increase (thanks @strawlion @McIntozh #2232)
|
2016-02-03 21:51:01 +00:00 |
|
Richard Davey
|
10209dc8f5
|
GameObject.revive used to add the health amount given to the Game Object (via heal ) instead of setting it as the new health amount. It now calls setHealth instead, giving it the exact amount (thanks @netgfx #2231)
GameObject.revive will now set the health amount to 100 instead of 1, bringing it in-line with the `maxHealth` default value.
|
2016-02-03 21:44:06 +00:00 |
|
Richard Davey
|
a1c3050bf7
|
Tilemap.getObjectIndex has been removed as it didn't work correctly in most cases, and it's easier to just scan the Tilemap.objects object directly anyway (#2242)
|
2016-02-03 21:35:35 +00:00 |
|
Richard Davey
|
3bc8dcd154
|
The width and height values passed to the Game constructor are now passed through Math.floor first. This ensures you can never create a game width non-integer dimensions, which has all kinds of implications - from browser performance to breaking things like TileSprite rendering (#2262)
|
2016-02-03 19:11:26 +00:00 |
|
Richard Davey
|
2d2101adcb
|
Both transparent and antialias were ignored if set to false in a Game configuration object, as the parseConfig method didn't check for falsey values (thanks @amadeus #2302)
|
2016-02-03 12:28:12 +00:00 |
|
Richard Davey
|
e04504f481
|
Tweens with 'yoyo' set on them couldn't be re-used again because the start and end properties were left in a reversed state. When a yoyo tween ends it now restores the reversed values (thanks @SBCGames #2307)
|
2016-02-03 12:24:22 +00:00 |
|
Richard Davey
|
1883cfc83b
|
BaseTexture.destroy no longer checks for the _pixiId property on the canvas before removing it from the CanvasPool, meaning it's now destroying a lot more canvas elements than it was in the past!
|
2016-02-03 11:41:37 +00:00 |
|
Richard Davey
|
034428e92c
|
Sprite (and all Game Objects) have a new argument in their destroy method: destroyTexture . This boolean (which is false by default) controls if the BaseTexture of the Game Object should be destroyed or not. This is extremely useful in situations where you've got a lot of dynamic assets you no longer need, such as textures created from BitmapDatas. You must set the destroyTexture argument yourself. This can be done in a custom Game Object destroy method or as part of your state shutdown (#2261)
|
2016-02-03 11:41:37 +00:00 |
|
Richard Davey
|
8043d29aa6
|
BitmapData would always create a private _swapCanvas which was a clone of its main canvas used for advanced movement operations. This no longer happens. The swap canvas is created only as needed, by those functions that use it (specifically moveH and moveV ), meaning a BitmapData will now use half the amount of memory it used to, and you'll have half the amount of canvas DOM elements created (unless you make heavy use of the move functions).
|
2016-02-03 11:41:37 +00:00 |
|
Richard Davey
|
90ddfc2aa2
|
Updated sow #2316
|
2016-02-03 11:41:37 +00:00 |
|
Richard Davey
|
297244a822
|
Merge pull request #2161 from puzzud/master
SinglePad.callbackContext is now set through addCallbacks method.
|
2016-02-03 01:38:20 +02:00 |
|
Richard Davey
|
75d6bbb251
|
Updated defs and improved jsdocs for #2277
|
2016-02-02 23:37:08 +00:00 |
|
Richard Davey
|
d4edbe6619
|
Merge pull request #2277 from slashman/exposeWrappedLinesOnText
Alow precalculating the results of text wrapping.
|
2016-02-03 01:32:49 +02:00 |
|
Richard Davey
|
741cf1e0ed
|
Huge TypeScript defs update (thanks to @clark-stevenson - this is all of the changes from #2156 merged into the current build)
|
2016-02-02 23:30:03 +00:00 |
|
Richard Davey
|
ded2f72768
|
Docs update #2243
|
2016-02-02 23:04:54 +00:00 |
|
Richard Davey
|
5e7f864c04
|
Docs update.
|
2016-02-02 22:58:52 +00:00 |
|