Commit graph

4476 commits

Author SHA1 Message Date
Richard Davey
2a1bf389b5 Added a typescript section to the bower and npm configs to support tsd link (thanks @mjohnsonengr #2189 #2180) 2016-02-02 00:49:07 +00:00
Richard Davey
7c43f28161 Docs update. 2016-02-02 00:49:07 +00:00
Richard Davey
acebd74c26 Merge pull request #2241 from s4wny/patch-1
Fixed misleading error message
2016-02-02 02:33:57 +02:00
Richard Davey
bceca55c8f Merge pull request #2222 from FracturedShader/patch-2
Update BitmapData.shiftHSL, limitValue -> clamp
2016-02-02 02:31:54 +02:00
Richard Davey
5893224f10 The Style object passed in to Phaser.Text is now cloned instead of referenced. This means you can adjust single Text instances without invaliding other Text objects using the same style object (thanks @asyncanup #2267) 2016-02-02 00:29:46 +00:00
Richard Davey
34aff350eb The Video game object used an anonymous bound function for both the 'ended' and 'playing' event listeners, meaning that they were never removed properly (thanks @ramalhovfc #2303) 2016-02-02 00:18:50 +00:00
Richard Davey
6a50e18bf0 Merge pull request #1610 from yigitozdemir/dev
On Ceiling Method Addition
2016-02-01 21:14:12 +02:00
Richard Davey
2bf3ede746 Docs update. 2016-02-01 17:23:44 +00:00
Richard Davey
99b3ea4a1f Merge pull request #2285 from allenevans/bug-clearGLTextures
Fix cache reference bug in web GL context restoration.
2016-02-01 19:22:37 +02:00
Richard Davey
b3da35163a Merge pull request #2151 from jaminscript/logic-fix
Remove unnecessary variable
2016-02-01 19:16:02 +02:00
Richard Davey
eaf582ba4f Readme update. 2016-02-01 17:06:17 +00:00
Richard Davey
a1d9d0bb95 Merge pull request #2198 from vulvulune/dev
Force the usage of typescript 1.4.1
2016-02-01 19:03:47 +02:00
Richard Davey
1d2d707b32 Merge pull request #2168 from nlotz/dev
fix typos in API docs
2016-02-01 19:01:58 +02:00
Richard Davey
6a26b06e28 Merge pull request #2199 from javivi91/FixTweenOnStart
Fix tween hasStarted parameter
2016-02-01 18:58:33 +02:00
Richard Davey
e551254b52 Merge pull request #2209 from FracturedShader/patch-1
Update BitmapData.setHSL to accept 0
2016-02-01 18:57:29 +02:00
Richard Davey
f80e5968b9 Fixed filename #2195 2016-02-01 16:55:56 +00:00
Richard Davey
cd68f9f9cd Defs udpate #2211 2016-02-01 16:54:25 +00:00
Richard Davey
1087db6c2b Docs update. 2016-02-01 16:53:29 +00:00
Richard Davey
5170ad0d46 Merge pull request #2211 from juanmirod/dev
Fix in typescript definition file: Pointer definition
2016-02-01 18:52:52 +02:00
Richard Davey
fc5530657d Merge pull request #2236 from milkey-mouse/fix-datauri-error
Fix issue #2234: Errors in getAudioURL() and getVideoURL() when using blob: or data: URIs
2016-02-01 18:51:56 +02:00
Richard Davey
c21c317d9f Docs update. 2016-02-01 16:47:46 +00:00
Richard Davey
c1169b35d4 Merge pull request #2252 from milkey-mouse/fix-blendmode-tsdefs
Fix issue #2188: BitmapData.copy() blendMode type from number to string in TS defs
2016-02-01 18:47:01 +02:00
Richard Davey
806f93bc84 Merge pull request #2251 from milkey-mouse/fix-404-success
Fix issue #2250: Loader.binary returns success on 404
2016-02-01 18:45:54 +02:00
Richard Davey
0b8fc6e7d0 Merge pull request #2284 from RetrocadeNet/tweenManagerStubMethodToPreventError
Added removeAll to TweenManager's stub so call from stageManager does…
2016-02-01 18:43:42 +02:00
Richard Davey
76e2dc66ee Fixed docs (#2216) 2016-02-01 16:42:03 +00:00
Richard Davey
a74edd1ee9 Docs and defs. 2016-02-01 16:38:06 +00:00
Richard Davey
6bfd94e07c Merge pull request #2244 from ttencate/dev
Rename inner loop variable from 'i' to 'j'
2016-02-01 18:34:03 +02:00
Richard Davey
37d9b3402d Merge pull request #2226 from milkey-mouse/fix-retrofont-smoothed
Change RetroFont.smoothed from string to boolean
2016-02-01 18:32:22 +02:00
Richard Davey
3350c537c7 Defs update and README update. 2016-02-01 16:30:41 +00:00
Richard Davey
0ecd1c6170 Emitter methods at, explode, flow, kill, revive, setAlpha, setRotation, setScale, setSize, setXSpeed, setYSpeed and start now return the Emitter instance for better method chaining (thanks @samme #2308) 2016-02-01 16:30:41 +00:00
Richard Davey
1f664af97c Merge pull request #2255 from PixelWaffles/fix-ts-d-export
Fix issue with typescript module import/require.
2016-02-01 18:28:59 +02:00
Richard Davey
13cf12d08a Merge pull request #2297 from nexiuhm/master
loadUpdate() now gets a last update when loading is complete.
2016-02-01 18:20:19 +02:00
Richard Davey
8795792047 Merge pull request #2289 from staff0rd/grammar_fix
fixed grammar on update() comment
2016-02-01 18:18:05 +02:00
Richard Davey
6620890099 Merge pull request #2291 from zeterain/patch-2
Update documentation in ScaleManager.js
2016-02-01 18:17:17 +02:00
Richard Davey
25dae75af1 Merge pull request #2298 from Weedshaker/patch-1
Update FrameData.js
2016-02-01 18:16:43 +02:00
Richard Davey
27654c01dc Merge pull request #2300 from zimpy/dev
Typescript definitions - fixed return types on some functions of Arcade.Body
2016-02-01 18:14:21 +02:00
Richard Davey
d6dcd0e5c6 Merge pull request #2301 from samme/issue-2299
Stop only the named animation if `name` is passed
2016-02-01 18:12:45 +02:00
Richard Davey
dd02f0b482 Merge pull request #2304 from cy-ryo-fujiwara/bug-map-hastile
Fixed a bug of tilemap.hasTile
2016-02-01 18:10:09 +02:00
Richard Davey
0942ad96cb Merge pull request #2308 from samme/emitter-return-instance
Emitter methods return the Emitter instance
2016-02-01 18:06:38 +02:00
samme
ec4c2d4773 Emitter methods return the Emitter instance
to better allow chaining:

- at
- explode
- flow
- kill
- revive
- setAlpha
- setRotation
- setScale
- setSize
- setXSpeed
- setYSpeed
- start
2016-01-20 13:34:08 -08:00
Ryo Fujiwara
b75d6c4a92 Fixed a bug of map.hasTile 2016-01-19 12:40:02 +09:00
samme
e9a4f6d3f7 Stop only the named animation if name is passed
Fixes #2299
2016-01-17 12:34:57 -08:00
zimpy
13ffb7d1ce Typescript definitions - fixed return types on some functions of Arcade.Body 2016-01-15 19:30:29 +01:00
nexiuhm
bc00f924a7 Added a check to avoid calling the function when doing dynamic loading after state is created. 2016-01-14 17:23:52 +01:00
nexiuhm
1c65c48341 onLoadUpdate now recives the last ( 100 ) update. 2016-01-14 17:09:41 +01:00
Silvan Strübi
b30dd225c3 Update FrameData.js
"Uncaught TypeError: Cannot read property 'index' of undefined"

The above error occurred, after updating https://github.com/englercj/phaser-tiled to be compatible with Phaser version 2.4.4. The above change fixed this issue!
2016-01-14 14:41:26 +09:00
photonstorm
d7b6d4e784 jshint fix (missing semi-colon) 2016-01-13 16:15:46 +00:00
photonstorm
70437a0bdd Clean text automatically on creation. 2016-01-13 15:18:42 +00:00
photonstorm
6a868cba5e BitmapText.cleanText is a new method that will scan the given text and either remove or replace all characters that are not present in the font data. It is called automatically by BitmapText.updateText. 2016-01-13 15:15:51 +00:00
photonstorm
36d9c8d673 Changed from a space to '' and added 'replace' argument. 2016-01-13 15:14:14 +00:00