Allan Reyes
a08c75bb06
Delegate Timeline#makeActive to TweenManager
...
This fixes a bug when calling Timeline#resetTweens() while the tweens
are pending removal or completed. Delegating the #makeActive method
here was chosen to:
- Follow "tell, don't ask" (pragprog.com/articles/tell-dont-ask)
- Prevent an additional branch conditional in Tween.js
- Prevent a Law of Demeter violation, e.g.
// src/tweens/tween/Tween.js
if (this.parentIsTimeline) // "asking"
{
this.parent.manager.makeActive(this); // LoD violation
}
else
{
this.parent.makeActive(this);
}
2018-03-12 09:31:00 -07:00
Richard Davey
935a89342d
Calling setText
on a BitmapText object will now recalculate its display origin values. Fix #3350
2018-03-09 17:08:12 +00:00
Richard Davey
458880b333
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-09 16:30:29 +00:00
Richard Davey
9203d3b7a7
Updated change log
2018-03-09 16:30:26 +00:00
Richard Davey
87f2d0f831
Merge pull request #3335 from iamchristopher/fix-group-clear-from-scene
...
Fixed Group doesn't remove children from Scene when cleared
2018-03-09 15:54:44 +00:00
Richard Davey
3ed077a6d7
Merge pull request #3358 from delftswa2018/3231-CANVAS-tilesprite-rotation-flip-scaling
...
Added rotation, scaling and flipping to TileSpriteCanvasRenderer
2018-03-09 15:51:35 +00:00
Richard Davey
9a88b5a163
Merge pull request #3354 from brandonvdongen/master
...
fixed camera offset when combining zoom+follow
2018-03-09 15:49:35 +00:00
Richard Davey
eb43249b8f
Merge pull request #3356 from migiyubi/fix-timerevent-remove
...
Fix TimerEvent.remove behaves opposite to what we expect
2018-03-09 15:48:33 +00:00
Richard Davey
2ee4f581f5
Merge pull request #3355 from rexrainbow/master
...
Add reference of GameObject class
2018-03-09 15:45:46 +00:00
Richard Davey
5601a76c7d
Merge pull request #3348 from samid737/master
...
* Fix #3345 by adding beginPath and closePath in postUpdate.
2018-03-09 15:44:36 +00:00
Richard Davey
852e74721f
Merge branch 'master' into master
2018-03-09 15:44:19 +00:00
Richard Davey
7adcb66267
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-09 15:42:27 +00:00
Richard Davey
ef66eef129
Updated change log
2018-03-09 15:42:20 +00:00
Richard Davey
40818ba57b
Merge pull request #3349 from migiyubi/make-scene-restartable
...
Make scene restartable
2018-03-09 15:41:03 +00:00
Richard Davey
278deda6e2
Merge pull request #3344 from samme/fix/util-string-format
...
Fix Phaser.Utils.String.Format
2018-03-09 15:39:27 +00:00
Richard Davey
db3112de31
The SceneManager.render will now render a Scene as long as it's in a LOADING state or higher. Before it would only render RUNNING scenes, but this precluded those that were loading assets.
2018-03-09 15:33:07 +00:00
Tom Catshoek
74b18921e8
Added rotation, scaling and flipping to TileSpriteCanvasRenderer
2018-03-09 15:16:34 +01:00
migiyubi
174c982966
Fix TimerEvent.remove behaves opposite to what we expect
2018-03-09 19:47:45 +09:00
Hua
4719589382
Add reference of BuildGameObject, BuildGameObjectAnimation
2018-03-09 15:13:42 +08:00
brandonvdongen
143d598780
fixed lint issue
2018-03-09 07:26:09 +01:00
Hua
cf8d4703b3
Add reference of GameObject class
2018-03-09 12:31:37 +08:00
brandonvdongen
08a02c4675
fixed camera offset when combining zoom+follow
2018-03-09 00:07:42 +01:00
Samid\Sami
6283209976
username corrected.
2018-03-08 13:56:57 +01:00
migiyubi
decbe18705
Make scene restartable
2018-03-08 20:27:22 +09:00
Samid\Sami
f5e471dad7
removed trailing space for JSHint validation.
2018-03-08 11:46:01 +01:00
Samid\Sami
84481da4d1
* Fix #3345 by adding beginPath and closePath when done drawing in postUpdate.
2018-03-08 11:16:04 +01:00
samme
b625cc1ff6
Remove extra assignment
2018-03-07 16:59:41 -08:00
samme
cad8a5ce64
Fix Phaser.Utils.String.Format
...
Replacements were lost.
2018-03-07 12:13:53 -08:00
Felipe Alfonso
9a21b4c7f4
Fixed issue with render texture tint
2018-03-06 15:56:33 -03:00
Richard Davey
0a9633cbd6
Preparing for 3.2.1.
2018-03-06 01:54:20 +00:00
iamchristopher
1d402a732e
Fixed Group doesn't remove children from Scene when cleared
2018-03-05 19:04:01 -05:00
Richard Davey
15def0fae7
3.2.0 dist files
2018-03-05 22:27:11 +00:00
Richard Davey
d1d8d4c4a2
Updated readme and change log
2018-03-05 22:26:12 +00:00
Richard Davey
a712dea197
eslint fix
2018-03-05 22:25:55 +00:00
Richard Davey
4b03aac7c3
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-05 22:17:07 +00:00
Richard Davey
159147f99a
Updated change log
2018-03-05 22:17:03 +00:00
Richard Davey
acf88f5aa5
Merge pull request #3313 from samme/feature/playCatchPromise
...
Warn if HTML5AudioSound#audio fails to play
2018-03-05 21:58:16 +00:00
Richard Davey
9ad7aeef1d
Merge pull request #3304 from rexrainbow/master
...
Add destroy event of gameobject
2018-03-05 21:56:07 +00:00
Richard Davey
c2f25b3742
Merge pull request #3240 from Twilrom/arc-fix
...
Update WebGL Graphics.arc to work more like on Canvas
2018-03-05 21:54:46 +00:00
Richard Davey
dd116f76c1
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-05 21:53:29 +00:00
Richard Davey
47736e71e7
Updated change log
2018-03-05 21:53:27 +00:00
Richard Davey
6e92ff6b51
Merge pull request #3331 from rblopes/pass-game-instance-in-boot-callback-arguments
...
Pass game instance as boot callback arguments
2018-03-05 21:51:45 +00:00
Richard Davey
bfabe35cdf
eslint fixes
2018-03-05 21:49:08 +00:00
Richard Davey
f94ad4bbc6
InputPlugin.update now takes the totals from the drag and pointerup events into consideration when deciding to fall through to the Scene below. Fix #3333
2018-03-05 21:49:00 +00:00
Felipe Alfonso
ddc85cfdc7
Added support for tint and alpha to RenderTexture
2018-03-05 16:57:41 -03:00
Richard Davey
0538134a04
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-05 16:59:03 +00:00
Richard Davey
1e6bfe660f
Removed accidental overwrite of the object key #3185
2018-03-05 16:58:59 +00:00
Rafael Barbosa Lopes
61fbbdacd9
Removed a few blank lines along the way.
2018-03-05 13:15:16 -03:00
Rafael Barbosa Lopes
20e3825e1f
Pass game instance as boot callback arguments.
...
It may be useful to run some operations while the game is booting.
However, if a living instance of the game is necessary during this
process, only way possible is using a global variable at the moment.
This commit aims to amend that so whenever needed the game instance
reference is passed down and can be used inside the {pre,post}Boot
callbacks.
2018-03-05 13:09:12 -03:00
Felipe Alfonso
6e82760c99
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-05 12:32:29 -03:00