Commit graph

2807 commits

Author SHA1 Message Date
photonstorm
ded5eac8c7 Updated build files with patched Pixi UMD statement. 2014-07-11 11:53:44 +01:00
photonstorm
74679922d1 Debug.preUpdate was still being called in the Game Loop even if enableDebug was set to false (thanks @qdrj, #995) 2014-07-11 11:52:48 +01:00
Richard Davey
8c486f5c18 Merge pull request #996 from jeroenverfallie/dev
Fixed pixel perfect dragging
2014-07-11 11:44:47 +01:00
Jeroen Verfallie
01a761b77f Fixed pixel perfect dragging, this was still using the old property 'pixelPerfect' instead of the new 'pixelPerfectClick' 2014-07-11 09:58:38 +02:00
photonstorm
d7bed24a27 Preparing for 2.1.0 build. 2014-07-10 23:14:29 +01:00
photonstorm
8421cfc400 Final readme updates. 2014-07-10 20:39:17 +01:00
photonstorm
4259a9ae14 Republished docs. 2014-07-10 20:39:17 +01:00
photonstorm
43c8a25b03 2.0.6 release. 2014-07-10 20:39:14 +01:00
photonstorm
d0727b9c04 ReadMe update. 2014-07-10 20:39:13 +01:00
photonstorm
46eb906253 Pixi 1.6 merge. 2014-07-10 20:39:13 +01:00
Richard Davey
435fab5205 Merge pull request #990 from lucbloom/warn-texture-not-found
Warn about missing textures and show the key that the author was trying to use.
2014-07-10 19:16:07 +01:00
photonstorm
0d0a16ee2c loadTexture fix. 2014-07-10 19:13:17 +01:00
photonstorm
a3cf246aee Image.loadTexture fix and new dist files. 2014-07-10 19:03:17 +01:00
Luc Bloom
3f5bde89fc Warn about missing textures
And show the key that the author was trying to use. It can be very
helpful for debugging which image a sprite was trying to load exactly.
2014-07-10 18:49:16 +02:00
Luc Bloom
4183237fb3 Android stock browser check
This is a class-static function of Phaser.Device to check wether we’re
running on an Android Stock browser. Autors might want to scale down on
effects and switch to the CANVAS rendering method on those devices.
Usage: var defaultRenderingMode = Phaser.Device.isAndroidStockBrowser()
? Phaser.CANVAS : Phaser.AUTO;
2014-07-10 18:00:29 +02:00
photonstorm
a7124cb44c Swapped back to camera.screenView as that's the correct check for inCamera. 2014-07-10 16:38:15 +01:00
photonstorm
971f69c743 New build files for final tests before release. 2014-07-10 16:23:26 +01:00
photonstorm
0966971427 jshint fixes and tidying up for release 2014-07-10 16:21:50 +01:00
photonstorm
25e7e6ffc4 Pretty huge refactoring to cut down on duplicated code. 2014-07-10 16:07:02 +01:00
photonstorm
34efa223cb Small conditional check in case someone has removed the animations property. 2014-07-10 16:06:47 +01:00
photonstorm
6a0b8b5e73 Fixed and working Sprite.crop - removed lots of _cache vars no longer required and added two new private vars. 2014-07-10 14:47:12 +01:00
photonstorm
78759260de Updated Pixi.Sprite 2014-07-10 14:46:48 +01:00
photonstorm
006d40f452 Updated docs for loadFrameData and removed debug line. 2014-07-10 14:46:28 +01:00
photonstorm
4a429c3c1f Added null check to Rectangle.clone and size. 2014-07-10 14:46:09 +01:00
photonstorm
813de7c125 More crop work. 2014-07-10 10:46:19 +01:00
photonstorm
d11d8051b1 You can now prevent the Debug class from being created or booted by using the Game configuration setting: enableDebug. By default it is true, set to false to prevent the class from being created. Please note you are responsible for checking if this class exists before calling it, but you can do that via if (game.debug) { ... } (request #984) 2014-07-10 10:46:18 +01:00
photonstorm
a182598c65 Using a Game configuration object you can now specify the value of the preserveDrawingBuffer flag for the WebGL renderer. By default this is disabled for performance reasons. But if you need to be able to take screen shots of your WebGL games using toDataUrl on the game canvas then you'll need to set this to true (#987) 2014-07-10 10:46:18 +01:00
photonstorm
73e8a9763b Pixi updates 2014-07-10 10:46:18 +01:00
Richard Davey
248a75014d Merge pull request #988 from jackrugile/dev
Added options to disable horizontal and vertical world wrapping individually
2014-07-10 10:33:46 +01:00
jackrugile
42df8356e7 Added options to disable horizontal and vertical world wrapping individually 2014-07-10 00:05:50 -06:00
photonstorm
63fb7780b3 Fixes issue of Pixi DisplayObject width/height sending an emitter scale into Infinity. 2014-07-09 11:37:22 +01:00
photonstorm
0ff2eb2fb9 jshint fixes 2014-07-09 11:36:45 +01:00
photonstorm
494c33a9f4 Rectangle.randomX will return a random value located within the horizontal bounds of the Rectangle.
Rectangle.randomY will return a random value located within the vertical bounds of the Rectangle.
2014-07-09 11:34:18 +01:00
photonstorm
003403c832 Color.getWebRGB will now accept either an Object or numeric color value. 2014-07-09 11:15:24 +01:00
photonstorm
2293b64c94 Removing debug / console.log output. 2014-07-09 05:49:13 +01:00
photonstorm
ffd51479e4 Crop test 2014-07-09 05:43:15 +01:00
photonstorm
4fc26e4a26 Updated to the latest version of Pixi. 2014-07-09 05:40:50 +01:00
photonstorm
dd88f2a6e2 Fixed BitmapText parser. 2014-07-09 05:39:49 +01:00
photonstorm
a70a938505 docs fix 2014-07-09 05:38:59 +01:00
photonstorm
7b8b1bf30f New documentation generator. 2014-07-09 05:38:19 +01:00
photonstorm
8e7623e8a9 Updates TS defs (fix #982) 2014-07-08 13:01:43 +01:00
photonstorm
ca8c6e16e9 README updates. 2014-07-08 12:59:36 +01:00
photonstorm
3ff8b9f999 On-going crop tests. 2014-07-08 12:59:36 +01:00
photonstorm
f1bcd1d00b Added Phaser.Utils.mixin. 2014-07-08 12:59:36 +01:00
photonstorm
0b2bea3564 Removed hasOwnProperty check from Tween.from because it breaks on extended or inherited Game Objects. 2014-07-08 12:59:36 +01:00
photonstorm
2a106473b4 Added more detail to the Tween docs. 2014-07-08 12:59:36 +01:00
photonstorm
2d676b00b4 Working through crop issues. 2014-07-08 12:59:36 +01:00
photonstorm
77d5be1d8e When adding a new Animation to a Sprite it would incorrectly reset the current Sprite frame to the first frame of the animation sequence, it is now left un-touched until you call play on the animation. 2014-07-08 12:59:35 +01:00
Richard Davey
65a7e1b762 Merge pull request #978 from alvinsight/dev
Added game.add.plugin
2014-07-07 21:28:18 +01:00
Richard Davey
f3e61fcff9 Merge pull request #979 from clark-stevenson/dev
Update phaser.d.ts
2014-07-07 21:27:31 +01:00