Commit graph

3283 commits

Author SHA1 Message Date
Richard Davey
ff095437ad Merge pull request #1608 from nkholski/dev
Added support for tiles rotated and/or flipped in Tiled
2015-02-08 21:46:14 +00:00
emailto@niklasberg.se
a0ea73a4cd Support for tiles rotated and/or flipped in Tiled 2015-02-08 21:21:39 +01:00
emailto@niklasberg.se
a70dd81a80 Support for tiles rotated and/or flipped in Tiled 2015-02-08 21:03:19 +01:00
Michael Rehn
bb2e263345 Changed to bracket on new line to follow the rest of the codes style 2015-02-07 21:31:17 +01:00
Michael Rehn
e600cb89b7 Added scaling capability to TilemapLayer via the setScale method 2015-02-07 19:48:44 +01:00
Mark Wecke
3a70677a05 use XDomainRequest in Loader.xhrLoad 2015-02-06 13:52:24 +01:00
Richard Davey
4d8f9e8723 Merge pull request #1600 from vulvulune/dev
Refactoring of the script to generate comments.d.ts
2015-02-05 22:57:09 +00:00
vulvulune
6795d30e74 jshint
equality check error
2015-02-05 21:40:03 +01:00
vulvulune
b8665f2979 Refactoring of the script to generate comments.d.ts
Refactoring of the script to generate comments.d.ts files.
Using typescript package instead of typescript-services (not maintened
anymore)

Update of the phaser.comments.d.ts with the last dev version.
2015-02-05 21:30:28 +01:00
photonstorm
9cdcdc7bc5 Device.touch checks if window.navigator.maxTouchPoints is >= 1 rather than > 1, which now allows touch events to work properly in Chrome mobile emulation. 2015-02-05 06:12:20 +00:00
photonstorm
5bd231d532 JSDoc fixes. 2015-02-05 05:13:22 +00:00
photonstorm
569483ab17 Game._kickstart forces Phaser to always call at least one logic update before being allowed to render. 2015-02-05 05:12:59 +00:00
photonstorm
d710caed9e Body.reset now resets the Body.speed value to zero. 2015-02-05 05:12:31 +00:00
photonstorm
8dec37107e MSPointer.capture allows you to optionally event.preventDefault the pointer events (was previously always on)
MSPointer.event now stores the most recent pointer event.
MSPointer.pointerDownCallback, pointerMoveCallback and pointerUpCallback all allow you to set your own event based callbacks.
2015-02-05 05:12:00 +00:00
photonstorm
336fdfa672 TileSprites weren't destroying WebGL textures, leading to eventual out of memory errors (thanks @chacal #1563) 2015-02-03 21:32:39 +00:00
photonstorm
f55ba6755f jsdoc fix 2015-02-03 21:32:39 +00:00
photonstorm
3eba508382 Sprite.events.onDragStart has 2 new parameters x and y which is the position of the Sprite before the drag was started. The full list of parameters is: (sprite, pointer, x, y). This allows you to retain the position of the Sprite prior to dragging should dragFromCenter have been enabled (thanks @vulvulune #1583) 2015-02-03 21:32:39 +00:00
photonstorm
2ba6e0528e TilemapLayer.getTiles now returns a copy of the Tiles found by the method, rather than references to the original Tile objects, so you're free to modify them without corrupting the source (thanks @Leekao #1585) 2015-02-03 21:32:39 +00:00
Richard Davey
a2854d21fd Merge pull request #1580 from integricho/fix#1551
fix #1551 - detect mouseup on tilesprites
2015-02-03 21:16:33 +00:00
Richard Davey
41d9a42a02 Merge pull request #1565 from abtion/master
Fix CORS loading BitmapFonts with IE9
2015-02-03 21:14:45 +00:00
Richard Davey
66ad09ebd0 Merge pull request #1549 from tomlarkworthy/fixAdjustMass
Bug fix: adjust mass and debug body gfx
2015-02-03 21:12:15 +00:00
Richard Davey
0953e927b4 Merge pull request #1559 from vulvulune/dev
Complete "tsdocs" tasks to download plugins + improve ts doc + grunt:jsdoc
2015-02-03 21:04:30 +00:00
Richard Davey
e6b5806c26 Merge pull request #1581 from jromer94/master
fixed index out of bound error
2015-02-03 20:52:04 +00:00
Richard Davey
ecdbb35009 Merge pull request #1577 from Marchys/patch-4
Correct documentation Emitter.js
2015-02-03 20:51:28 +00:00
Richard Davey
2aeafada98 Merge pull request #1558 from vulvulune/ts
Update typescript definitions
2015-02-03 20:50:46 +00:00
Richard Davey
9a4af85156 Merge pull request #1544 from belohlavek/master
Fixed some properties and parameterers in phaser.d.ts
2015-02-03 20:49:11 +00:00
Richard Davey
21823f65e3 Merge pull request #1576 from vulvulune/jsdoc
Correct comments
2015-02-03 20:47:32 +00:00
Richard Davey
6d05752ce5 Merge pull request #1569 from Bilge/patch-2
Correct PluginManager.add first parameter.
2015-02-03 20:46:11 +00:00
Richard Davey
9efca46021 Merge pull request #1582 from micahjohnston/dev
Fix doc comment on Phaser.Physics.Arcade#getObjectsAtLocation.
2015-02-03 20:45:33 +00:00
Richard Davey
c141e8ff01 Merge pull request #1579 from Phaiax/phaserdts-bitmapdata-update
phaser.d.ts: BitmapData.update
2015-02-03 20:44:26 +00:00
Richard Davey
8f3f759c18 Merge pull request #1570 from Bilge/patch-3
Compact overloaded constructor using union syntax.
2015-02-03 20:40:59 +00:00
Richard Davey
ad9b8ae8e1 Merge pull request #1568 from Bilge/patch-1
Added missing plugins member in Phaser.Game class.
2015-02-03 20:31:26 +00:00
photonstorm
ea4c9771a0 Updated docstrap-master toc.js to fix nav scrolling (thanks @abderrahmane-tj @vulvulune #1589) 2015-02-03 20:28:18 +00:00
photonstorm
7003b65df6 Added missing properties to the InputHandler prototype, reducing hidden class modifications. 2015-02-03 20:28:18 +00:00
Richard Davey
af5d022d95 Merge pull request #1594 from zekoff/max-velocity-patch
Allow max velocity of 0 in Arcade physics computeVelocity
2015-02-03 18:30:51 +00:00
zekoff
0ccd225e08 Allow max of 0 in computeVelocity
Previous method of setting default max did not allow falsey values.
2015-02-03 11:36:53 -06:00
photonstorm
2b74d903d4 jsdoc fix. 2015-02-03 16:17:14 +00:00
photonstorm
ac14edae94 Sound.stop and Sound.destroy now halt a fade tween if in effect. 2015-02-03 16:17:03 +00:00
photonstorm
260490fe06 Fixed issue in PIXI.canUseNewCanvasBlendModes which would create false positives in browsers that supported multiply in Canvas path/fill ops, but not for drawImage (Samsung S5 for example). Now uses more accurate magenta / yellow mix test. 2015-02-03 16:16:25 +00:00
Micah Johnston
34d443153f fix argument name in comment on Phaser.Physics.Arcade#getObjectsAtLocation. 2015-01-30 05:48:34 -07:00
Micah Johnston
401d2fe847 Fix doc comment on Phaser.Physics.Arcade#getObjectsAtLocation. 2015-01-29 18:13:03 -07:00
Bilge
92b89fb549 Added plugins property to Phaser.Game.
Property was previously being declared late without initialization at allocation time.
2015-01-29 22:51:38 +00:00
Josh
755653439a fixed index out of bound error 2015-01-28 23:39:23 -05:00
Andrean Franc
b52b765c53 fix #1551 - detect mouseup on tilesprites 2015-01-28 19:31:36 +01:00
Phaiax
b1e3edcbcc phaser.d.ts: BitmapData.update 2015-01-28 18:34:27 +01:00
photonstorm
d6ea8fb956 jsdoc updates (spelling mistakes, code formatting, etc) 2015-01-28 17:18:33 +00:00
photonstorm
d37ffe6a8f Sound.fadeTween is now used for Sound.fadeIn and Sound.fadeOut audio tweens.
Sound.stop and Sound.destroy now halt a fade tween if in effect.
2015-01-28 17:18:32 +00:00
vulvulune
d65225e9eb Merge pull request #1 from photonstorm/dev
Update from photonstorm
2015-01-27 16:07:41 +01:00
vulvulune
c4f78340b9 Update TypeScript definitions
Remove x, y on the Phaser.Group class (inheriting)
2015-01-27 16:05:58 +01:00
vulvulune
c1822f208a Update TypeScript definitions
Improve Phaser.Physics.Ninja
2015-01-27 15:46:20 +01:00