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
Richard Davey
88f1ea95d2
Fixed BitmapText.cleanText so it works properly with new-lines within the text.
...
BitmapText would crash if it tried to render a character that didn't exist in the font set. Any character that doesn't exist in the font set now renders a space character instead.
BitmapText would load and parse the kerning data from the font, but would never use it when rendering. The kerning values are now applied on rendering as well (thanks @veu #2165 )
2016-02-02 22:54:01 +00:00
photonstorm
8cf96a2f78
Docs fix #2271
2016-02-02 16:28:33 +00:00
photonstorm
ddbc72cbf4
Docs update #2265
2016-02-02 16:26:20 +00:00
photonstorm
044a91d2a4
Docs update.
2016-02-02 16:19:10 +00:00
photonstorm
11fa0c2690
Docs fix #2310
2016-02-02 16:19:09 +00:00
Richard Davey
4e3c764207
Merge pull request #2248 from 06wj/dev
...
Fixed ScaleManager EXACT_FIT not working
2016-02-02 17:42:54 +02:00
Richard Davey
8e6b88cda8
Merge pull request #2172 from jonjanisch/dev
...
Inconsistency in arcade.collide processCallback param order #667
2016-02-02 17:39:46 +02:00
Richard Davey
92dae1951b
Merge pull request #2204 from tfelix/master
...
Asset packs are now correctly spliced between waiting files.
2016-02-02 16:58:33 +02:00
Richard Davey
4fb5df2b36
Merge pull request #2314 from staff0rd/add_rnd_state
...
Added RandomDataGenerator.state to typescript definitions
2016-02-02 16:02:39 +02:00
Stafford Williams
b904efeb4f
allow state to be passed to constructor
2016-02-02 13:47:21 +11:00
Stafford Williams
02c0f27d64
fixed getter
2016-02-02 13:26:47 +11:00
Stafford Williams
4a0aaa8914
added RandomDataGenerator.state() typescript definitions
2016-02-02 13:21:45 +11:00
Richard Davey
5703178ee4
Removed reference to Lynda 'free' courses ( #2266 )
2016-02-02 01:24:16 +00:00
Richard Davey
068252fc50
Docs update.
2016-02-02 01:08:50 +00:00
Richard Davey
425ee09047
Sound.onEndedHandler now sets Sound.currentTime to be Sound.durationMS (thanks @stoneman1 #2237 )
2016-02-02 01:08:45 +00:00
Richard Davey
e7820dbe85
SoundManager.destroy now calls AudioContext.close (thanks @stoneman1 #2237 )
2016-02-02 01:08:35 +00:00
Richard Davey
2a1bf389b5
Added a typescript section to the bower and npm configs to support tsd link
(thanks @mjohnsonengr #2189 #2180 )
2016-02-02 00:49:07 +00:00
Richard Davey
7c43f28161
Docs update.
2016-02-02 00:49:07 +00:00
Richard Davey
acebd74c26
Merge pull request #2241 from s4wny/patch-1
...
Fixed misleading error message
2016-02-02 02:33:57 +02:00
Richard Davey
bceca55c8f
Merge pull request #2222 from FracturedShader/patch-2
...
Update BitmapData.shiftHSL, limitValue -> clamp
2016-02-02 02:31:54 +02:00
Richard Davey
5893224f10
The Style object passed in to Phaser.Text is now cloned instead of referenced. This means you can adjust single Text instances without invaliding other Text objects using the same style object (thanks @asyncanup #2267 )
2016-02-02 00:29:46 +00:00
Richard Davey
34aff350eb
The Video game object used an anonymous bound function for both the 'ended' and 'playing' event listeners, meaning that they were never removed properly (thanks @ramalhovfc #2303 )
2016-02-02 00:18:50 +00:00
Richard Davey
6a50e18bf0
Merge pull request #1610 from yigitozdemir/dev
...
On Ceiling Method Addition
2016-02-01 21:14:12 +02:00
Richard Davey
2bf3ede746
Docs update.
2016-02-01 17:23:44 +00:00
Richard Davey
99b3ea4a1f
Merge pull request #2285 from allenevans/bug-clearGLTextures
...
Fix cache reference bug in web GL context restoration.
2016-02-01 19:22:37 +02:00