photonstorm
0c2ac47981
Camera.position would return the view rectangles centerX/Y coordinates, instead of view.x/y (which is what Camera.x/y returns), so it has been updated to return view.x/y instead (thanks @kamparR #2120 )
2016-04-06 00:18:01 +01:00
photonstorm
ecbff44354
Group.getByName searches the Group for the first instance of a child with the name
property matching the given argument. Should more than one child have the same name only the first instance is returned.
2016-04-05 23:59:05 +01:00
photonstorm
65f8f111c8
Game.forceSingleUpdate is now true
by default.
2016-04-05 23:40:15 +01:00
photonstorm
b762e1dc55
Added jsdocs warning re: #2045
2016-04-05 23:28:02 +01:00
photonstorm
4c3a30a6f6
PluginManager.destroy is now called by Game.destroy.
2016-04-05 23:16:52 +01:00
photonstorm
6933b41e6f
Arcade.Body's speed property was only set when the body moved, it now updates regardless (thanks @mark-henry #2417 )
2016-04-05 23:06:57 +01:00
photonstorm
aee0212e11
Camera.follow now uses the Targets world
property to seed the camera coordinates from, rather than its local position. This means Sprites that are members of offset Groups, or transformed display lists, should now be followed more accurately (thanks @rbozan #2106 )
2016-04-05 23:04:31 +01:00
photonstorm
8ad7b25595
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
photonstorm
7b803135c8
Updated jsdocs for getBounds ( #2406 )
2016-04-05 21:13:04 +01:00
Jake Wilson
96a79cd91a
Added warning if physics body is enabled on unknown physics system.
2016-04-05 11:23:17 -04:00
photonstorm
b3e6381a9e
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
photonstorm
917d9c7060
TweenData.repeatTotal is a new property that keeps track of the total number of times the Tween should repeat. If TweenData.start is called, as a result of the Tween repeatCount being > 0 then the child tween resets its total before re-starting.
2016-04-05 01:06:05 +01:00
photonstorm
f9949166be
Text that used fonts which had numbers in their names wouldn't be correctly rendered unless you explicitly set the font property after creation. You can now pass font names with numbers in them as the font style object correctly (thanks @And-0 #2390 )
2016-04-04 23:20:04 +01:00
Jake Wilson
ca13a82acb
Added Tileset name to tile size warning.
2016-04-04 18:10:53 -04:00
photonstorm
bc4b828b51
BitmapData.copy, and by extension draw, drawFull, drawGroup, etc, would incorrectly handle drawing a tinted Sprite if it was using a frame from a texture atlas (thanks @PhaserDebugger #2405 )
2016-04-04 22:53:13 +01:00
photonstorm
f40cfbe2ae
2015 - 2016.
2016-04-04 22:16:16 +01:00
photonstorm
12f3bd6cc5
The Destroy component will now call TweenManager.removeFrom, removing any active tweens from the TweenManager upon the Game Objects destructions (thanks @PokemonAshLovesMyTurkeyAndILikeYouTwo #2408 )
...
Tween.update will now return `false` (flagging the Tween for destruction) should the Tween.target property every become falsey. This can happen if the object the Tween was tracking is destroyed, nulled or generally removed..
2016-04-04 22:06:16 +01:00
photonstorm
d6942991bc
Docs update (in light of browser extensions causing us grief)
2016-04-04 22:06:15 +01:00
Richard Davey
8e880eddee
Merge pull request #2402 from jakewilson/dev
...
Added ability to kill a Game Object when it leaves camera bounds.
2016-04-04 21:52:30 +01:00
Richard Davey
4298b2caae
Merge pull request #2368 from Weedshaker/patch-2
...
AudioBufferSourceNode - same issue as on play:
2016-04-04 21:48:20 +01:00
photonstorm
63b3b3e887
Negative lineSpacing in Text objects will no longer crop the bottom pixels off lines of text (thanks @gaelenh #2379 #2374 )
2016-04-04 21:36:37 +01:00
Richard Davey
3c3ca5b515
Merge pull request #2394 from zeterain/patch-5
...
Check for sprite destruction in onInputDown event.
2016-04-04 21:29:59 +01:00
photonstorm
f9ff892510
Formatting.
2016-04-04 21:25:21 +01:00
photonstorm
723f94cd3b
Updated docs.
2016-04-04 21:21:30 +01:00
Richard Davey
07adad9ae8
Merge pull request #2395 from sergey7c4/dev
...
Fixed issue #2317
2016-04-04 21:20:01 +01:00
Richard Davey
1528d54a38
Merge pull request #2397 from rblopes/remove-from-hash-issue
...
Ensure a parent container is a Group before removing from its hash.
2016-04-04 20:47:31 +01:00
Richard Davey
d3e8509f0e
Merge pull request #2410 from slashman/limitWrappedTextToMaxLines
...
Add "maxLines" style attribute to Text object.
2016-04-04 20:44:35 +01:00
photonstorm
40221d7cf7
Docs update.
2016-04-04 17:15:51 +01:00
Richard Davey
04ed512612
Merge pull request #2383 from CptSelewin/patch-2
...
Fix tinting issue when loading textures
2016-04-04 17:15:18 +01:00
Richard Davey
4925080781
Merge pull request #2381 from englercj/dev
...
Fix typo in componentToHex
2016-04-04 17:09:56 +01:00
Richard Davey
3446733696
Merge pull request #2399 from thiagojobson/patch-1
...
Fixed links in documentation
2016-04-04 17:08:38 +01:00
Richard Davey
2c87d14ede
Merge pull request #2412 from MannyC/keep_tiled_layer_encoding_synced
...
Remove encoding metadata from Tiled json if data has already had its …
2016-04-04 17:07:31 +01:00
Richard Davey
94ea978ac0
Merge pull request #2413 from MannyC/warn_on_layer_compression
...
Detect if layer compression is used in a Tiled layer. Display warnin…
2016-04-04 17:05:04 +01:00
MannyC
7178b7abf4
Remove encoding metadata from Tiled json if data has already had its encoding removed.
2016-04-03 23:33:38 +01:00
MannyC
b29a77f4a4
Detect if layer compression is used in a Tiled layer. Display warning and skip layer.
2016-04-03 23:17:41 +01:00
slash
fbdf8073ad
Add "maxLines" style attribute to Text object, maximum number of lines
...
to be shown for wrapped text or 0 for no limit. (default).
2016-04-03 10:08:35 -05:00
Edward Januszewski
a9e4d956b3
Fix typo in Math radToDeg description
2016-03-29 21:14:55 +01:00
Jake Wilson
ae663f97aa
Added ability to kill a Game Object when it leaves camera bounds.
2016-03-28 20:34:00 -04:00
thiagojobson
58817869dc
Fixed links in documentation
2016-03-25 18:08:29 -03:00
Rafael Barbosa Lopes
dd51a1724e
Ensure a parent container is a Group before removing from its hash.
2016-03-24 13:44:49 -03:00
sergey7c4
fef4c7b021
Fixed unwanted smoothing
2016-03-23 16:59:36 +05:00
zeterain
a948dab895
Check for sprite destruction in onInputDown event.
...
This sprite might have been destroyed during the onInputDown event. Check to see if it was.
Also, set the pointer's dirty flag before the altered if-block just in case the function returns.
2016-03-22 15:54:41 -06:00
CptSelewin
50a454b79e
fixed tinting issue when loading textures
2016-03-11 10:06:15 +01:00
Chad Engler
a510761bf1
fix typo in componentToHex
2016-03-09 15:54:40 -08:00
Stoneman1
ee335fe466
Fixed backwards compatibility issue.
2016-03-02 13:28:44 +02:00
Stoneman1
5bdc1c05b4
MediaStream.stop() deprecated. Using MediaStreamTrack.stop() instead.
2016-03-02 12:34:28 +02:00
Stoneman1
4a29d5102d
Fixes issue #2325
2016-03-02 11:57:41 +02:00
Silvan Strübi
1b1c4ef0f5
AudioBufferSourceNode - same issue as on play:
...
I was able to reproduce this rare occurrence. It gets triggered by me in some cases when leaving focus and then resuming the sound. Same as we have had it only play, see => https://github.com/photonstorm/phaser/issues/2351
Cheers
2016-03-02 10:06:01 +09:00
Richard Davey
268b13392b
README update.
2016-03-01 23:24:55 +00:00
Richard Davey
b9f9058cf1
Merge pull request #2360 from ShimShamSam/patch-2
...
Added new format for polygon points
2016-03-02 01:03:20 +02:00