photonstorm
f15fe6706c
All undefined argument checks were changed from if (typeof x === 'undefined')
to if (x === undefined)
removing the typeof check and saving some bytes across the codebase in the process.
2015-07-22 10:37:15 +01:00
photonstorm
a69e53f901
Copyright date change.
2015-02-25 03:36:23 +00:00
John Watson
fcca6ba730
Fixed TweenManager.isTweening() and .removeFrom()
...
Updated invalid reference Tween._object to .target
2014-12-03 10:20:29 -08:00
Paul
dab8772de0
Documentation - consistency updates
...
- Updated `readOnly` doclet to `readonly`
- `array` refined to `type[]`, where such information was immediately
determinable.
- Updated {Any}/{*} to {any}; {...*} is standard exception
- Udated {Object} to {object}
2014-11-30 04:03:35 -08:00
photonstorm
4220382376
Evolving the Tween engine. TweenMax string syntax now supported.
2014-11-20 05:26:49 +00:00
photonstorm
49b1896189
Added Tween.percent variable and tidied up the time values.
2014-11-18 09:22:24 +00:00
Lewis Lane
671d0072da
Ensured removeFrom also removes from the _add array
2014-11-14 16:41:14 +00:00
Lewis Lane
1b1f78a331
Fixed some formatting/typos
2014-10-31 11:55:32 +00:00
Lewis Lane
bfb39a2864
Added removeFrom method
...
Allows the removal of all Tweens from a specific object, array of objects or group of objects.
2014-10-31 11:52:05 +00:00
photonstorm
e5eea56c9b
jsdoc updates.
2014-09-16 19:44:04 +01:00
photonstorm
82ef6d4aeb
If you add a Tween to the TweenManager and then immediately stop it, it will still exist in the TweenManager (thanks @gilangcp #1032 )
2014-07-16 19:50:58 +01:00
Christian Wesselhoeft
61f18b675c
Trim trailing whitespace.
2014-03-25 14:56:04 -07:00
photonstorm
a51ae03246
Tweens are now bound to their own TweenManager, not always the global game one. So you can create your own managers now (for you clark :)
2014-03-07 01:26:09 +00:00
photonstorm
4d284029c7
Tweens now resume correctly if the game pauses (focus loss) while they are paused.
...
Tweens don't double pause if they were already paused and the game pauses.
2014-02-26 23:27:22 +00:00
photonstorm
8fb2f20482
Swapping between tabs will pause and resume tweens correctly, allowing their onComplete events to still fire ( fixes #292 )
2014-02-25 03:33:47 +00:00
photonstorm
9fcab5ef26
Lots of doc fixes (thanks nhowell)
2014-02-20 03:44:44 +00:00
photonstorm
0896c2fac7
Updating copyright year and README.
2014-02-05 16:54:59 +00:00
photonstorm
84f0f00f49
n-way collision checks and onBeginContact and onEndContact done and working. Also fixed issue in TweenManager.removeAll.
2014-02-05 16:54:58 +00:00
photonstorm
aa3a86df6e
Timer class overhaul.
2014-01-04 02:53:32 +00:00
photonstorm
ce4cf531d4
Added class constructors, fixed Stripshader, added relative Tween example and updated Tween source.
2013-12-30 16:54:00 +00:00
photonstorm
299115ca5d
The entire Phaser library has been updated to match the new JSHint configuration.
2013-11-25 04:40:04 +00:00
photonstorm
685054eac5
Group.callAll now supports nested functions and a context, making it really powerful!
2013-11-01 17:29:57 +00:00
Richard Davey
96da57cac0
Fixed up the namespace in the documentation and finished off all sections other than Game Objects and Physics (yuck).
2013-10-03 02:38:35 +01:00
Richard Davey
ca113b85aa
More docs coming on.
2013-10-01 16:39:39 +01:00
Richard Davey
305b12d76b
Adding docs.
2013-10-01 15:01:46 +01:00
Richard Davey
31bbf05ace
* Fixed small bug stopping Tween.pause / resume from resuming correctly when called directly.
...
* Fixed an issue where Tweens.removeAll wasn't clearing tweens in the addition queue.
* Change: When you swap State all active tweens are now purged.
2013-09-30 11:15:50 +01:00
Richard Davey
c5fc5e3394
Fixed various issues in the TweenManager, added length property to Group and improved the build script.
2013-09-19 04:45:08 +01:00
Richard Davey
e2eddc8b24
Added Full Screen support and tested it. Also added in the BitmapText game object and custom XML loader. Game now sends a pause and resume signal, which the TweenManager listens to and handles correctly.
2013-09-10 23:51:35 +01:00
Richard Davey
e41e35fd09
Fixed an error that stopped 2 tweens from being able to run on the same object. Also refactored a lot of the classes to remove prototype properties and move them to local instance properties.
2013-09-10 20:40:34 +01:00
Richard Davey
60f0e8967f
Added Phaser.Graphics and fixed the Out of World Bounds call.
2013-09-09 17:01:59 +01:00
Richard Davey
e77f5da2cd
Fixed the TweenManager and added support to GameObjectFactory, so you can create tweens easily now all hooked in to the internal game clock. Also added the AnimationManager into Sprite, so you can create and play animations directly from sprites nice and easily.
2013-08-30 17:09:43 +01:00
Richard Davey
4bbcc380c5
State handling done. Refactored the Game constructor a LOT. Now works from within closures, outside of them, with Phaser.State objects or normal Objects with the right functions inside. Also fixed some small bugs in PluginManager and various scope issues with RAF.
2013-08-29 07:06:16 +01:00
Richard Davey
b8d3a61c97
Added the TweenManager
2013-08-29 00:09:12 +01:00
Richard Davey
d323404676
Starting integration of tween.js
2013-08-28 21:29:25 +01:00