Richard Davey
f8cda698e4
Added Camera.lerp and implemented linear interpolation when following targets
2018-05-24 15:29:38 +01:00
Richard Davey
57c2ccbf5e
Formatting fix and doc update
2018-05-24 14:03:29 +01:00
Richard Davey
37f75fd233
Merge pull request #3675 from tjb295/master
...
Bug: #3645 issue with clearing GameObjects from this._list. Called qu…
2018-05-24 13:51:55 +01:00
Richard Davey
fdf7fb1afc
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-24 13:50:09 +01:00
Richard Davey
35a5a6d2da
updated change log
2018-05-24 13:49:51 +01:00
Richard Davey
6ab124c591
Merge pull request #3687 from thomastanck/thomastanck-typedefupdates
...
Update type definitions
2018-05-24 13:49:30 +01:00
Chris Andrew
1aeb8327e7
Started documenting Math.Easing functions.
2018-05-24 13:33:47 +01:00
Chris Andrew
313ae38bb1
Improved Math.Angle function documentation.
2018-05-24 13:14:04 +01:00
Chris Andrew
1c94c3d4d6
Documented a few more Phaser.Math functions.
2018-05-24 12:59:27 +01:00
Chris Andrew
c9d82c9ebd
Documented Math.Snap functions.
...
Adapted from Phaser CE documentation.
2018-05-24 12:15:37 +01:00
Chris Andrew
5e374b29dc
Elaborated fuzzy math function descriptions.
...
Finished up pow2 and RandomDataGenerator descriptions.
2018-05-24 12:06:44 +01:00
Chris Andrew
0f9bfc62f8
Documented Math.Distance, Math.Fuzzy and Math.Interpolation.
2018-05-24 11:40:53 +01:00
Richard Davey
d6d9b69897
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-23 23:14:56 +01:00
Richard Davey
30678b44ff
Updated method names
2018-05-23 23:09:31 +01:00
Chris Andrew
4726b8f2eb
Merge pull request #3696 from hexus/documentation
...
Phaser.Math Documentation
2018-05-23 18:49:29 +01:00
Chris Andrew
03fee98511
Reverted Vector3.setTo() implementation. Fixed an ESLint issue in RenderTexture.
2018-05-23 18:37:32 +01:00
Chris Andrew
8c3a9ea42b
Documented Math.Angle functions and Math.Wrap.
2018-05-23 17:42:54 +01:00
Thomas Johan Back
ac19b1be80
Update package-lock.json
2018-05-23 09:18:57 -07:00
Richard Davey
182015bdbc
Merge pull request #3695 from wtravO/master
...
Fixed JSDoc error in RND.shuffle param
2018-05-23 15:30:42 +01:00
Richard Davey
68303622f2
Setting an existing Game Object as a static Arcade Physics body would sometimes incorrectly pick-up the dimensions of the object, such as with TileSprites. Fix #3690
2018-05-23 15:17:26 +01:00
Travis O'Neal
87d1621bfc
Fixed JSDoc error in shuffle param
2018-05-23 10:17:07 -04:00
Richard Davey
6eea9db9b2
jsdoc fixes. FIx #3694
2018-05-23 15:04:54 +01:00
Chris Andrew
01d45f5d83
Documented most of Vector4. Improved documentation consistency between Vector classes.
2018-05-23 15:00:03 +01:00
Richard Davey
53b3558e69
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-23 14:58:58 +01:00
Richard Davey
63bb14c37c
Log update
2018-05-23 14:58:44 +01:00
Richard Davey
fee857a36c
Merge pull request #3693 from zacharysarette/master
...
Fixes tweens getting stuck after being restarted in bug #3651
2018-05-23 14:56:53 +01:00
Richard Davey
1a1dbe2dd7
lint fix
2018-05-23 14:55:51 +01:00
zacharysarette
de759b69a5
Fixes a bug #3651
...
Describe the changes below:
The tween animation was getting stuck when calling restart on it after being added.
It now checks to see if this.state === TWEEN_CONST.PENDING_ADD in the tween restart function
If true, sets this.seek(0) and this.parent.makeActive(this)
This fixes the issue that makes the tween stuck when restarting the new tween directly after adding a the new tween.
Updates to package.json and package-lock.json were undone from the last pull request.
2018-05-23 21:01:07 +09:00
zacharysarette
6af861b813
Revert "This fixes an issue with the tween restart function in phaser.js."
...
This reverts commit f170c0f406
.
2018-05-23 20:41:48 +09:00
Chris Andrew
c9d17fb9c7
Implemented Vector3.setTo() (alias for set()).
...
Fixed some documentation mistakes. Removed appropriate TODO.
2018-05-23 12:19:31 +01:00
Chris Andrew
d8163439a1
Documented most of Vector3. Improved Vector2 documentation.
2018-05-23 12:15:16 +01:00
zacharysarette
c15fc2e79c
Undoing changes to the previous commit for two files.
...
package.json and package-lock.json
Previous change was to fix tween animations getting stuck when reset was called after being added to _add.
This checked if this.state === TWEEN_CONST.PENDING_ADD. If true this.seek(0) and this.parent.makeActive(this).
2018-05-23 19:49:57 +09:00
Chris Andrew
dca9f11f0f
Started documenting top-level Phaser.Math functions and classes.
2018-05-23 10:46:16 +01:00
Chris Andrew
5f3767f43d
Polished some DataManagerPlugin and EachActiveSoundCallback descriptions.
2018-05-23 08:18:49 +01:00
Chris Andrew
f95b35eae7
Finished off descriptions for Data, Plugins and Sound.
2018-05-23 08:09:24 +01:00
Richard Davey
b6768f8a0f
Added contributor
2018-05-22 23:23:01 +01:00
Richard Davey
8aa116ca4b
The dragend
event would be broadcast even if the drag distance or drag time thresholds were not met. Fix #3686
2018-05-22 21:24:50 +01:00
Richard Davey
de8462efed
Added default values and tidied up docs a little
2018-05-22 16:19:18 +01:00
Richard Davey
8c7468d27a
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-05-22 16:13:11 +01:00
Richard Davey
a9cbf23b4e
Log update
2018-05-22 16:13:05 +01:00
Richard Davey
1485f34cbe
Merge pull request #3682 from samme/feature/arcade-body-setters
...
Add `allowDrag`, `allowGravity`, `allowRotation` to Arcade.PhysicsGroup config
2018-05-22 16:12:39 +01:00
Richard Davey
65172a69a0
Merge pull request #3679 from KingCosmic/master
...
fixed #3646
2018-05-22 16:04:38 +01:00
Richard Davey
457ab68ef4
Container updated to use preDestroy and remove event hooks
2018-05-22 16:02:28 +01:00
Richard Davey
d629923e54
Blitter preDestroy will now clear the children List and renderList.
2018-05-22 16:02:13 +01:00
Richard Davey
b3ef36ed08
Added preDestroy callback
2018-05-22 15:59:23 +01:00
Richard Davey
660887f338
Group.destroy now respects the ignoreDestroy
property.
2018-05-22 15:59:10 +01:00
Richard Davey
2630c982b4
jsdoc fixes
2018-05-22 15:55:36 +01:00
Richard Davey
137f97b325
RenderTexture.destroy has been renamed to preDestroy
to take advantage of the preDestroy callback system.
2018-05-22 15:55:22 +01:00
Richard Davey
0893c158d1
Added jsdocs
2018-05-22 15:55:02 +01:00
Richard Davey
126ec196c1
TileSprite.destroy has been renamed to preDestroy
to take advantage of the preDestroy callback system.
2018-05-22 15:54:53 +01:00