photonstorm
163a6c46f3
Updated to Pixi 2.0.0-dev.
2014-10-10 20:36:04 +01:00
photonstorm
0c5438038d
Allowed the orientation checks to still work when using RESIZE scale mode.
2014-10-10 20:35:50 +01:00
photonstorm
022d7094d5
jsdoc fixes and frameRate change.
2014-10-10 14:49:01 +01:00
photonstorm
bee0e73748
Preparing for 2.1.3 dev.
2014-10-09 16:32:31 +01:00
photonstorm
321d7b0d06
Added 2.1.2 build files.
2014-10-09 16:16:41 +01:00
photonstorm
9f24c08216
Updated readme and docs.
2014-10-09 16:12:53 +01:00
photonstorm
1661cdddb9
Fixed the 4fv uniform in the Pixelate filter.
2014-10-09 14:44:37 +01:00
photonstorm
506a091257
Sound.allowMultiple allows you to have multiple instances of a single Sound playing at once. This is only useful when running under Web Audio, and we recommend you implement a local pooling system to not flood the sound channels. But it allows for one Sound object to play overlapping times, useful for gun effects and similar ( #1220 )
2014-10-09 14:44:25 +01:00
photonstorm
a2a60f207f
Updated readme and TS defs.
2014-10-09 14:16:24 +01:00
photonstorm
94b6c01f31
readme updates.
2014-10-09 14:16:23 +01:00
Richard Davey
e6754b0a87
Merge pull request #1221 from englercj/url-cache-map
...
Add ability to get a cached resource by url
2014-10-09 14:10:54 +01:00
Richard Davey
bc16c7876f
Merge pull request #1187 from codevinsky/feature/group-filter
...
Group.filter
2014-10-09 14:08:51 +01:00
Richard Davey
9546fc2959
Merge pull request #1222 from englercj/camera-follow-fix
...
Fix camera follow when in a scaled parent
2014-10-09 14:07:40 +01:00
photonstorm
b00866cee9
AnimationManager.name will now return the name
property of the currently playing animation, if any.
2014-10-09 14:06:13 +01:00
photonstorm
08c6106c35
Fixed issue with textureLine creating white blocks in iOS.
2014-10-09 02:30:31 +01:00
photonstorm
f2aa263d0a
jsdoc fix
2014-10-06 07:00:00 +01:00
Chad Engler
c21c0d5515
add url properties to destroy
2014-10-05 08:18:52 -07:00
Richard Davey
e6812cffa6
Added BMD frame checks.
2014-10-05 12:35:40 +01:00
Richard Davey
5dbe6b6017
The Uint32Array check used in Utils was incorrectly replacing Uint32Array on Safari, causing errors like BitmapData.getPixel32 to fail and other related issues ( fixes #1043 and #1197 )
2014-10-05 12:35:40 +01:00
Richard Davey
108a2a34e3
Merge pull request #1219 from clark-stevenson/patch-2
...
Minor Typescript Updates
2014-10-05 11:58:22 +01:00
Richard Davey
498b564f05
Merge pull request #1217 from spayton/dev
...
Fixes issue #1212 (again), this time properly built and tested
2014-10-05 11:56:14 +01:00
Richard Davey
d8e07db9d0
Merge pull request #1218 from VictorBjelkholm/dev
...
Add PLUS and MINUS to list of keyboard keys
2014-10-05 11:52:58 +01:00
Chad Engler
d9f477a086
add ability to get a cached resource by url
2014-10-04 20:48:21 -07:00
Chad Engler
4d2e60348f
fix camera follow when in a scaled parent
2014-10-04 20:14:46 -07:00
Clark Stevenson
90c8ec4edf
Minor Typescript Updates
2014-10-03 21:28:20 +01:00
Victor Bjelkholm
81c0a53ef2
Add PLUS and MINUS to list of keyboard keys
2014-10-03 20:59:29 +02:00
photonstorm
ff034b5077
Fixed textureLine and added repeat parameter.
2014-10-03 03:57:49 +01:00
photonstorm
ab78710daa
BitmapData.textureLine takes a Phaser.Line object and an image in the image cache. It then accurately draws the image as a repeating texture for the full length of the line.
2014-10-03 02:21:09 +01:00
spayton
eeeb6c3733
This stops Phaser progressing with file loads when an audio file file
...
failed in IE.
The problem was that it was calling fileComplete everytime instead of
setting it as a callback.
2014-10-02 16:48:12 +01:00
photonstorm
173786c60d
Color.createColor now populates the color
property of the returned object with the results of Phaser.Color.getColor
.
...
Color.createColor now has a `color32` property with the results of `Phaser.Color.getColor32`.
Color.hexToColor has been optimised to inline the regex and has moved the createColor call so it now populates the color object fully, not just setting the r,g,b properties.
2014-10-01 16:51:34 +01:00
photonstorm
2794d94b08
Color.createColor now populates the color objects color
and color32
properties with the results of Phaser.Color.getColor
and getColor32
respectively.
2014-10-01 15:19:57 +01:00
photonstorm
f04c16da81
Bail out on undefined data.
2014-10-01 05:21:30 +01:00
photonstorm
d65c526184
Cache.addBitmapData has a new parameter: frameData
allowing you to pass a Phaser.FrameData
object along with the BitmapData.
...
Cache.getFrameData has a new parameter: `map` which allows you to specify which cache to get the FrameData from, i.e. `Phaser.Cache.IMAGE` or `Phaser.Cache.BITMAPDATA`.
Sprite.loadTexture if given a BitmapData as the texture will now query the cache to see if it has any associated FrameData, and if so it will load that into the AnimationManager.
2014-10-01 03:10:13 +01:00
photonstorm
26f9e05dca
BitmapData.shadow(color, blur, x, y) provides a quick way to set all the relevant shadow settings, which are then be used in future draw calls.
2014-09-30 22:50:08 +01:00
photonstorm
ef85b8415d
If you pass a tinted Sprite to BitmapData.draw
or BitmapData.copy
it will now draw the tinted version of the Sprite to the BitmapData and not the original texture.
2014-09-30 21:07:57 +01:00
photonstorm
e8ca670fba
Fixed the body debug calls for Box2D.
2014-09-30 01:44:44 +01:00
photonstorm
c195998a1e
Color.webToColor restored. Converts a CSS rgba color into a native color value.
2014-09-30 01:44:33 +01:00
photonstorm
f45f19c712
Now merging and sorting extended methods and properties correctly. JSON export tidied up.
2014-09-30 00:32:17 +01:00
photonstorm
ecfed2b311
AnimationParser is now using value
instead of nodeValue
when parsing atlas XML files, avoiding Chrome deprecation warnings (thanks @valtterip #1189 )
2014-09-29 22:52:09 +01:00
photonstorm
ccc4e42e03
A Timer with a delay value that was a float and not an integer would not loop correctly. Timer delay values are now passed through Math.round to avoid this (thanks @osmanzeki #1196 )
2014-09-29 22:15:41 +01:00
photonstorm
e0a20cef25
Updated config for Box2D plugin
2014-09-29 21:19:18 +01:00
photonstorm
00b5472d4c
jshint fixes.
2014-09-29 12:29:18 +01:00
photonstorm
2ee50d0c29
InputHandler now uses localToGlobal conversion for scaled responsive layers.
2014-09-29 12:27:28 +01:00
photonstorm
b0e96a37b9
Added Box2D handler support.
2014-09-29 12:27:28 +01:00
Richard Davey
c629a6821c
docgen extends updates to handle non-invasive merging.
2014-09-29 12:14:02 +01:00
Richard Davey
acba9c4e14
Updated TypeScript defs.
2014-09-29 12:14:02 +01:00
Richard Davey
4c2476c423
Merge pull request #1209 from danxexe/fix-collide-docs
...
Fix docs for collide and collideHandler
2014-09-29 11:51:39 +01:00
DanX
3a1ec3c5c1
Fix docs for collide and collideHandler
2014-09-26 22:37:11 -03:00
photonstorm
319146292b
First pass at scale handling on drag. Enable with: sprite.input.scaleLayer = true;
2014-09-25 17:01:27 +01:00
photonstorm
415c7fe578
Added the sourceRect
and maskRect
parameters back into BitmapData.alphaMask
as they were accidentally removed in 2.1 (thanks seejay92)
2014-09-25 15:30:03 +01:00