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
zeterain
9edec8da57
Update documentation in ScaleManager.js
...
Documentation for ScaleManager.compatibility mis-spelled the supportsFullScreen property.
2016-01-11 09:02:07 -07:00
Stafford Williams
16517cc773
fixed grammar on update() comment
2016-01-08 20:29:58 +11:00
Allen Evans
1a02d2da6c
Fix cache reference bug in web GL context restoration.
2016-01-06 07:35:53 +00:00
Maurycy Zarzycki
fe86dab721
Added removeAll to TweenManager's stub so call from stageManager doesn't throw errors
2016-01-05 21:03:04 +01:00
slash
5cc6b5962b
Add missing assignations required for wrapping calculations to work
...
correctly
2016-01-03 16:54:27 -05:00
slash
ef7c2c6275
Alow precalculating the results of text wrapping. This may be useful for
...
example if the developer wants to control pagination, in which case
he may know in advance the total number of lines the text will wrap to,
and then set it on batches.
2016-01-03 16:33:33 -05:00
pixelwaffles
08be1e9b2e
Fix issue where importing the phaser module in typescript (ie "import * as phaser from 'phaser';" or "require('phaser');") fails, resulting in a "Cannot find module 'phaser'." typescript error.
2015-12-15 22:31:21 +08:00
Milkey Mouse
df48e37658
Fix issue #2188 : blendMode type from number to string
...
This fixes a minor TS definitions bug (issue #2188 ) where the blendMode
of BitmapData.copy, .copyRect, .draw, and .drawGroup all had the number
type instead of string.
2015-12-10 20:40:50 -08:00
Milkey Mouse
d1c4297802
Fix #2250
...
changes by @mhstar89
2015-12-09 19:54:48 -08:00
spayton
4e81de937f
Merge branch 'dev' of https://github.com/photonstorm/phaser into dev
2015-12-09 13:40:47 +00:00
墨水
ba0683b4d0
Fixed ScaleManager EXACT_FIT not working
2015-12-09 09:55:40 +08:00
Thomas ten Cate
cfd924d931
Rename inner loop variable from 'i' to 'j'
...
Fixes #2233
2015-12-03 16:22:34 +01:00
photonstorm
172f972d8c
Pausing a Sound that used a Marker for playback would fire the onMarkerComplete
signal by mistake as well as stop the fadeTween. This Signal is now only dispatched if Sound.stop is called and the Sound isn't paused (thanks Corin)
2015-12-02 12:41:20 +00:00
Sony?
70c64eb8fa
Fixed misleading error message
...
Shouldn't it be `tileset` instead of `key`?
We can't find any entry with the name `tileset` in the JSON file. The `key` hasn't anything to do with the JSON file, that is our tilesset image we loaded with thaser.
2015-12-02 10:05:52 +01:00
Milkey Mouse
0c2e8d8ce9
Implement jackfreak's changes (Issue #2234 )
2015-11-30 14:07:22 -08:00
Timo Sand
1083fff4ca
Fixes to webpack example
2015-11-23 21:06:43 +02:00
Robert Plante
8f1450ecca
Update to BitmapData.setHSL to follow conventions
2015-11-23 12:46:12 -05:00
Milkey Mouse
c59243b336
TS defs: RetroFont.smoothed from string to boolean
2015-11-22 21:38:09 -08:00
Milkey Mouse
19845eb691
Changed RetroFont.smoothed from string to boolean
2015-11-22 21:37:28 -08:00
Timo Sand
0762350d23
DOCS Adds documentation on Webpack usage
2015-11-22 18:06:40 +02:00
Timo Sand
80bd9b9f3b
Adds copy custom task to split and adds split to default tasks
2015-11-22 15:10:46 +02:00
photonstorm
83948f5882
Updated Filter docs ( #2223 )
2015-11-20 17:01:05 +00:00
Juan Miguel Rodriguez Ceron
cbdd9bdfab
Update phaser.d.ts
2015-11-18 01:16:54 +01:00
Juan Miguel Rodriguez Ceron
e3ff1a3774
Fix Pointer leftbutton and rightButton definitions
...
Pointer properties rightButton and LeftButton are DeviceButton objects instead of booleans (http://phaser.io/docs/2.4.4/Phaser.Pointer.html#rightButton )
2015-11-18 01:15:09 +01:00
Robert Plante
45195848bc
Update BitmapData.shiftHSL, limitValue -> clamp
...
`math.limitValue` does not exist so it was changed to `math.clamp` which provides the desired functionality.
2015-11-17 15:34:42 -05:00
Robert Plante
e236cac1e6
Update setHSL
...
Checking `if (h)` yields `false` when `h = 0`, but 0 is an acceptable value here. Had to decide between caching HSL verification and doing `typeof` 3x/pixel and opted for the temporary variables.
2015-11-17 14:15:26 -05:00