Commit graph

4238 commits

Author SHA1 Message Date
Richard Davey
9362a2b1f4 Text with tints applied wouldn't update properly in Canvas mode. 2015-07-31 19:09:49 +01:00
Richard Davey
4eb223f987 jsdocs fix. 2015-07-31 18:39:37 +01:00
Richard Davey
a56cd31638 jsdoc updates. 2015-07-31 18:39:37 +01:00
photonstorm
78fdb224ce ArrayUtils.numberArrayStep would return an empty array if a single parameter was given, instead of a single step array (thanks @pooya72 #1958) 2015-07-31 16:21:10 +01:00
photonstorm
f52155bce8 Readme update. 2015-07-31 16:02:25 +01:00
Richard Davey
cbc68ab4c9 Merge pull request #1950 from jdnichollsc/dev
Added Text.addFontStyle and Text.addFontWeight
2015-07-31 16:00:47 +01:00
photonstorm
d23e5d6eba BitmapText.smoothed is a new boolean property that allows you to set texture smoothing on a bitmap font or not. By default smoothing is always on, but you can turn it off which helps for bitmap fonts created from pixel art style character sets. 2015-07-31 15:58:00 +01:00
photonstorm
159f49d5bf Experimenting with generateTexture fixes for Canvas. 2015-07-30 17:17:31 +01:00
Richard Davey
0bad5e4ab2 Merge pull request #1957 from bixi/temp
Fix p2 BodyDebug pixelsPerLengthUnit bug.
2015-07-30 17:15:48 +01:00
vrecluse
632c258d8d Fix p2 BodyDebug pixelsPerLengthUnit bug.
When mpx doesn’t return default value, the debug body size and position
goes wrong.
2015-07-31 00:04:32 +08:00
photonstorm
fc83dc6bdf Tween.frameBased allows you to control if a Tween updates based on the physics step (i.e. frame based) or the system clock (time based). A frame based tween will use the physics elapsed timer when updating. This means it will retain the same consistent frame rate, regardless of the speed of the device. The duration value given should be given in frames. If the Tween uses a time based update (which is the default) then the duration is given in milliseconds. In this situation a 2000ms tween will last exactly 2 seconds, regardless of the device and how many visual updates the tween has actually been through. 2015-07-30 15:27:51 +01:00
photonstorm
c032d57183 Loader.images is a new method that allows you to pass an array of image keys, and optionally the urls, to the Loader and have them all added to the load queue in one go. 2015-07-30 15:01:52 +01:00
Richard Davey
d20318a428 Merge pull request #1954 from bixi/temp
Fix mismatched typescript member function signature of Phaser.Point.rotate.
2015-07-30 14:48:02 +01:00
photonstorm
1393c8a98b InputHandler.pointerOver would get stuck in an 'isOver' state if the Sprite changed its visibility during an onUp callback (thanks @Cristy94 #1955) 2015-07-30 14:45:34 +01:00
photonstorm
a4321e56e3 * Pointer.isDown was reset before the Input.onUp event, meaning you couldn't get the Pointer.duration from within the event.
* Pointer.isDown was reset before the Input tap calculations, meaning onTap wouldn't dispatch (thanks @stovenator #1953)
2015-07-30 14:08:26 +01:00
vrecluse
f68f25afb2 Fix mismatched typescript member function signature of Phaser.Point.rotate. 2015-07-30 10:59:42 +08:00
photonstorm
6139071ebc Preparing for 2.4.3 dev. 2015-07-29 15:14:40 +01:00
photonstorm
4b22f48c75 2.4.2 release. 2015-07-29 15:01:04 +01:00
photonstorm
962066102c Pointer fixes for Linux FireFox (#1932 #1944) 2015-07-28 14:18:36 +01:00
Juan David Nicholls Cardona
655013da1b Added Text.addFontStyle and Text.addFontWeight allows you to set styles and weights font within the Text. 2015-07-28 02:05:08 -05:00
Richard Davey
cad0338449 Merge pull request #1948 from DrkSephy/dev
Minor change to docstring
2015-07-27 16:19:07 +01:00
David Leonard
cbcc1a7bdb Merge remote-tracking branch 'upstream/dev' into dev 2015-07-27 07:14:48 -07:00
David Leonard
2f634c6337 Minor fix to docstring 2015-07-27 07:12:17 -07:00
photonstorm
ee7b12f571 Updated Asset JSON (#1947) 2015-07-27 14:13:58 +01:00
photonstorm
a8934c392d Phaser.Sound will now automatically check the Cache to see if the audio file it is using is still there or not. If not then it will automatically called Sound.destroy on itself. If you do not desire this result then you should ensure that you undertake all house-keeping yourself, and properly destroy Sound objects _before_ calling Cache.removeSound (#1946) 2015-07-27 14:02:04 +01:00
photonstorm
26e364a7af Build files for testing. 2015-07-27 13:35:49 +01:00
photonstorm
fd6c29e451 Pointer.move would accidentally reset the isDown status of the Pointer on touch devices, which broke things like Sprite input events when built to native apps or run locally (#1932 #1943) 2015-07-27 13:34:06 +01:00
Richard Davey
1f73bbbe94 Device.canPlayVideo now checks for ogv as a valid file extension for OGG video files (thanks @JB-Tellez #1928) 2015-07-26 13:19:05 +01:00
Richard Davey
50480d815f * Cache.getFrame has a new cache parameter (that defaults to the Image cache, but can be changed to any other)
* Cache.getFrameCount has a new `cache` parameter (that defaults to the Image cache, but can be changed to any other)
* Cache.getFrameData has a new `cache` parameter (that defaults to the Image cache, but can be changed to any other)
* Cache.hasFrameData has a new `cache` parameter (that defaults to the Image cache, but can be changed to any other)
* Cache.getFrameByIndex has a new `cache` parameter (that defaults to the Image cache, but can be changed to any other)
* Cache.getFrameByName has a new `cache` parameter (that defaults to the Image cache, but can be changed to any other)

re: #1935
2015-07-26 13:14:25 +01:00
Richard Davey
2e12cd70ed DeviceButton would try to set altKey, shiftKey and ctrlKey even for Joypads (thanks @zatch #1939) 2015-07-26 13:01:24 +01:00
photonstorm
cef2948ec1 2.4.2 Readme update. 2015-07-24 17:53:17 +01:00
Richard Davey
19c9ee747a Merge pull request #1927 from shivinsky/dev
Add missing renderTabLine return type.
2015-07-24 17:52:07 +01:00
Richard Davey
68f8ad34b1 Merge pull request #1934 from MortimerGoro/dev
Fix unmatched context.save() & context.restore() calls
2015-07-24 17:51:40 +01:00
Imanol Fernandez
e41dba7f0c Fix unmatched context.save() & context.restore() calls 2015-07-24 17:36:56 +02:00
photonstorm
74a8ba0080 Preparing for 2.4.2 dev. 2015-07-24 14:04:30 +01:00
photonstorm
7b3596f4a2 Phaser 2.4.1 Release. 2015-07-24 13:51:16 +01:00
photonstorm
9401755ab9 Phaser 2.4.1 docs. 2015-07-24 13:30:46 +01:00
photonstorm
b7c49fb7a3 Phaser 2.4.1 build files. 2015-07-24 13:28:55 +01:00
photonstorm
205fe5844d 2.4.1 readme. 2015-07-24 13:25:28 +01:00
photonstorm
444e2cffe5 More tests with the UMD wrapper. 2015-07-24 13:21:33 +01:00
photonstorm
328fd32290 Cache.removeImage now calls destroy on the image BaseTexture, removing it from the PIXI global caches without throwing a warning. 2015-07-24 13:21:18 +01:00
Richard Davey
478d005f0b Testing new UMD wrapper. 2015-07-24 09:43:44 +01:00
Richard Davey
aeda044143 Safari on OSX wouldn't recognise button presses on trackpads (thanks JakeCake) 2015-07-23 20:54:59 +01:00
Richard Davey
20ce29fea1 Phaser 2.4.1 build files. 2015-07-23 17:49:04 +01:00
photonstorm
27f1c657e3 Phaser 2.4.1. 2015-07-23 16:02:45 +01:00
photonstorm
1113b8f683 README updated for 2.4.1 changes. 2015-07-23 16:01:16 +01:00
photonstorm
7a6de818e1 Updated Grunt build scripts so that all third party libs (such as Creature, P2, gl-matrix and PIXI) are now kept well and truly outside of Phaser. They are defined and placed first in the build files. So no more PIXI hiding within the Phaser namespace or UMD patching for Phaser required. 2015-07-23 16:00:45 +01:00
photonstorm
7967d32d52 Creature update. 2015-07-23 13:25:08 +01:00
photonstorm
9a83ddcab9 Updated to latest Creature runtimes, added to GameObjectFactory. 2015-07-23 13:25:08 +01:00
photonstorm
94ae9e097e Phaser 2.4.0a release - includes build file fixes for missing PIXI classes like TilingSprite. 2015-07-23 13:25:08 +01:00