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
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
photonstorm
4c97129916
Updating
2015-07-23 13:25:08 +01:00
Richard Davey
cd06c61b4a
Merge pull request #1929 from jamesgroat/getkeys-cachemap
...
Fix cache.GetKeys() - Use _cacheMap to map from constant to _cache.
2015-07-23 11:45:39 +01:00
jamesgroat
10587e07ee
Use _cacheMap to map from constant to _cache.
2015-07-22 16:53:07 -07:00
Alexander
dfe11ff7ea
Add missing renderTabLine return type.
2015-07-23 00:57:14 +03:00
Richard Davey
4ef1fc5a26
Phaser 2.4.0a release - includes build file fixes for missing PIXI classes like TilingSprite.
2015-07-22 21:12:15 +01:00
Richard Davey
1e6f83dbd3
Preparing for 2.4.1 development.
2015-07-22 17:26:12 +01:00
photonstorm
858ad51610
Phaser 2.4 release.
2015-07-22 15:31:30 +01:00
photonstorm
ffaa7d711f
Removed BaseTextureCache requirement from BitmapData.
...
Fixed jshint.
Updated TS defs.
2015-07-22 13:23:40 +01:00
photonstorm
8eb34f96ce
WebGL context loss and restoration is now handled directly by Phaser.
...
Cache.clearGLTextures empties out all of the GL Textures from Images stored in the cache. This is called automatically when the WebGL context is lost and then restored.
2015-07-22 12:59:32 +01:00
photonstorm
000afb74a2
Split out rope and tilesprite as custom tasks.
2015-07-22 12:44:03 +01:00
photonstorm
915a757f96
Text.updateText will now check the width and height values of the Text canvas and if either are zero it sets Text.renderable = false
to avoid throwing WebGL texture binding errors.
2015-07-22 12:43:43 +01:00
photonstorm
f28bc82fe3
Fixed packfiles undefined path error.
2015-07-22 10:53:15 +01:00
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
Richard Davey
9e38bf974a
World.stateChange is a new method that is called whenever the state changes or restarts. It resets the world x/y coordinates back to zero and then resets the Camera.
...
Sprites with Arcade Physics bodies that had `collideWorldBounds` enabled would be moved to the wrong position if you restarted a State (or swapped to a new State) that reset the world bounds (thanks @vulvulune #1775 )
2015-07-22 01:24:26 +01:00
Richard Davey
356864ff8a
TweenData.update now uses the Time.elapsedMS
value for its delta calculation, instead of the physicsStep - this is because tweens are inherently time duration based and on a lagging system they were not properly completing when they should do (also addresses #1819 )
2015-07-22 00:09:06 +01:00
Richard Davey
b906463189
Internally the Time class has been updated to split out the RAF and SetTimeout implementations. This cuts down the update loop workload significantly, which was causing a performance optimization bottleneck in V8.
2015-07-21 21:41:26 +01:00