photonstorm
f34088458d
More grunt work. Nearly there.
2015-02-19 06:03:42 +00:00
photonstorm
9c46027340
Working through the new build scripts.
2015-02-19 05:01:50 +00:00
photonstorm
cbac770aed
New grunt manifests.
2015-02-19 05:01:30 +00:00
photonstorm
babd303a2a
Manager stubs for new custom build process.
2015-02-19 05:01:12 +00:00
photonstorm
3d0bc682f0
Moved Events.
2015-02-19 05:00:55 +00:00
photonstorm
f613e5882e
Allowed Keyboard and Gamepad to be optional.
2015-02-19 05:00:41 +00:00
photonstorm
a7bdce1806
Moved collideSpriteVsTilemapLayer to here.
2015-02-19 05:00:22 +00:00
photonstorm
eb732e1d90
Refactored ArcadePhysics.World to remove global property use and array length caches.
2015-02-19 04:59:55 +00:00
photonstorm
02ef1555c5
A TweenData wouldn't take into account the repeatDelay
property when repeating the tween, but now does. A TweenData also has a new property yoyoDelay
which controls the delay before the yoyo will start, allowing you to set both independently (thanks @DreadKnight #1469 )
...
Tween.updateTweenData allows you to set a property to the given value across one or all of the current tweens. All of the Tween methods like Tween.delay and Tween.repeat have been updated to use this.
Tween.repeat has a new parameter `repeatDelay` which allows you to set the delay (in ms) before a tween will repeat itself.
Tween.yoyo has a new parameter `yoyoDelay` which allows you to set the delay (in ms) before a tween will start a yoyo.
Tween.interpolation has a new parameter `context` which allows you to define the context in which the interpolation function will run.
2015-02-19 00:51:32 +00:00
photonstorm
35b4926eb8
Undoing previous change - doesn't actually work at all! #1620
2015-02-18 23:32:12 +00:00
photonstorm
4699770520
Adjusted function order.
2015-02-18 23:15:54 +00:00
photonstorm
9effb4a946
Stage.visibilityChange now has a second parameter fromPhaser
. This is set to true
by the Stage._onChange
callback. This should mean that when Phaser is listening for window.onblur
and window.onfocus
events it will only trigger the visibilityChange if that event was generated by Phaser itself. If it was generated by something else on the page or iframe it should now be ignored (thanks @austinhallock #1620 )
2015-02-18 23:12:08 +00:00
photonstorm
88f10f7f89
Updated fixedToCamera docs to reflect non-nesting ( #1596 )
2015-02-18 22:58:48 +00:00
photonstorm
b0261e4a5f
Group.cursorIndex is the index of the item the Group cursor points to. This replaces Group._cache[8].
2015-02-18 22:54:19 +00:00
photonstorm
88ab104da4
BitmapText has a new maxWidth
property that will attempt to wrap the text if it exceeds the width specified.
2015-02-18 22:36:12 +00:00
photonstorm
ba727555c8
Emitter.flow now works in a slightly different (and more useful!) way. You can now specify a quantity
and a total
. The quantity
controls how many particles are emitted every time the flow frequency is met. The total
controls how many particles will be emitted in total. You can set total
to be -1 and it will carry on emitting at the given frequency forever (also fixes #1598 thanks @brianbunch)
2015-02-18 22:35:05 +00:00
photonstorm
9879fc6387
If you load an image and provide a key that was already in-use in the Cache, then the old image is now destroyed (via Cache.removeImage
) and the new image takes its place.
2015-02-18 16:58:08 +00:00
photonstorm
72d1c13b6b
Fixed jshint error.
2015-02-18 14:54:19 +00:00
photonstorm
58d37b51fe
Fixed canvas destroy if undefined.
2015-02-18 14:54:11 +00:00
photonstorm
ef3cb1f31d
Sound in Web Audio now uses AudioContext.onended to trigger when it will stop playing instead of using a time based value. This is only used if the sound doesn't loop and isn't an audio sprite, but will give a much more accurate Sound.onStop
event. It also prevents short audio files from being cut off during playback ( #1471 ) and accounts for time spent decoding.
2015-02-18 11:25:17 +00:00
photonstorm
eba1743404
jshint fixes.
2015-02-18 10:25:27 +00:00
photonstorm
f47fb7a7c7
jshint fixes.
2015-02-17 18:16:12 +00:00
photonstorm
f9eaa4001f
New manifests.
2015-02-17 18:16:06 +00:00
photonstorm
819826ce08
Added Polygon.flatten and Polygon.toNumberArray.
...
Fixed Graphics.lineTo if no moveTo has been specified.
Fixed Graphics.drawShape if a mixed-type Polygon has been given.
2015-02-17 18:03:15 +00:00
photonstorm
97ebfce7a6
Fixed Matrix.apply.
2015-02-17 18:02:40 +00:00
photonstorm
0dbcf88767
Readme update.
2015-02-17 16:41:04 +00:00
photonstorm
f59d7e3430
Working through Graphics class updates.
2015-02-17 16:40:41 +00:00
photonstorm
5f820bdceb
Removed FilterBlock (legacy, un-used).
...
Removed un-used Pixi geom classes.
2015-02-17 16:40:18 +00:00
photonstorm
8b2f5fc98b
Added the missing Geom types.
2015-02-17 16:39:49 +00:00
photonstorm
11889cd6b5
Added the Graphics consts.
2015-02-17 16:39:40 +00:00
photonstorm
8f86f911af
Formatting.
2015-02-17 16:39:29 +00:00
photonstorm
872048eb6c
Commented-out all EventListener related code for testing.
2015-02-17 16:39:14 +00:00
photonstorm
7b9ae51f6f
Removed duplicate polyfills.
2015-02-17 16:38:44 +00:00
photonstorm
41e2fbff55
TilemapLayer no longer extends Image, but is a GameObject of its own.
2015-02-17 16:38:27 +00:00
photonstorm
e100f2f528
Added in type properties.
2015-02-17 16:38:07 +00:00
photonstorm
f561659367
Removed sayHello (covered in Phaser banner)
2015-02-17 15:50:31 +00:00
photonstorm
5b8635d334
Removed all Stage interaction related code.
2015-02-17 15:50:12 +00:00
photonstorm
052b9a7e06
Separated the Tilemap specific code from World.
2015-02-17 15:49:53 +00:00
photonstorm
fa7fee99b6
Moved Matrix and RoundedRectangle into Phaser geom structure.
2015-02-17 15:49:30 +00:00
photonstorm
77a3bfea23
loadTexture guard.
2015-02-17 15:48:54 +00:00
photonstorm
5b0c751647
Animation component guard.
2015-02-17 15:48:43 +00:00
photonstorm
b2cfb29740
Moved all code that modified Pixi globals into its own file, so we can call it after the Phaser overrides are in place.
2015-02-17 15:48:33 +00:00
photonstorm
075347c1e8
jsdocs tidying.
2015-02-17 15:47:50 +00:00
photonstorm
9b3d7ae552
Moved filters to filters folder.
2015-02-17 15:47:11 +00:00
photonstorm
8c786a2df5
Removing Pixi files no longer used in this build of Phaser.
2015-02-17 15:46:52 +00:00
photonstorm
17e2d22962
mixinPrototype can now clone objects that support it.
2015-02-17 15:45:37 +00:00
photonstorm
1b83674f6d
Docs update.
2015-02-17 06:01:51 +00:00
photonstorm
f2bddfdb1a
d.ts updated with new core properties.
2015-02-17 06:01:42 +00:00
photonstorm
52f4a037a3
Added 'replace' parameter to mixinPrototype.
2015-02-17 06:01:25 +00:00
photonstorm
9fd5ae119b
jsdocs update.
2015-02-17 06:01:09 +00:00