Commit graph

392 commits

Author SHA1 Message Date
clark-stevenson
30b2b40810 Update IPixiRenderer Interface
Thanks @natelong

Solves
http://www.html5gamedevs.com/topic/1638-changing-game-size-to-fit-page/?p=36922
2014-05-08 13:36:51 +01:00
Maxime Fabre
8d88e08115 Fix type of Tilemap.foreach callback 2014-05-08 01:57:19 +02:00
clark-stevenson
266417e735 Update phaser.d.ts
Past week of updates on dev. 
Note also includes #799
2014-05-04 16:36:58 +01:00
Richard Davey
afc4f1793d Merge pull request #787 from luispedrofonseca/master
Updated TypeScript definitions
2014-05-01 12:30:13 +01:00
Luis Fonseca
d49a8f1159 Update TypeScript definitions
Made the "index" parameter optional to reflect the JS version.
2014-04-30 15:00:53 +01:00
photonstorm
4af89dbd15 2.0.5-dev build release. 2014-04-29 23:00:28 +01:00
photonstorm
e0083dcb26 Phaser 2.0.4 zero hour update. 2014-04-29 22:40:18 +01:00
photonstorm
26b2aa42ab Patching back into 2.0.4 master release a couple of important updates.
Tilemap.getTile and getTileXY used to return `null` in 2.0.3 but returned a Tile object in 2.0.4 (with an index of -1), they now return `null` again.
ScaleManager seeds _check private var with null to avoid later comparison check (thanks @jflowers45, fix #782)
P2.Body.applyForce should have used pxmi instead of pxm (thanks @Trufi, fix #776)
P2 fixed creation of RevoluteConstraint by passing maxForce in the options (thanks @woutercommandeur, fix #783)
Merge pull request #783 from woutercommandeur/dev

fix creation of RevoluteConstraint by passing maxForce in the options
2014-04-29 22:35:30 +01:00
photonstorm
486153d3e0 Patching back into 2.0.4 master release a couple of important updates. 2014-04-29 22:00:16 +01:00
photonstorm
1c92caad42 2.0.4 release build 2014-04-29 15:39:53 +01:00
Franky Lau
4a31db6a64 Update phaser.d.ts
Fix imcompatible override Phaser.Point.clone
2014-04-28 22:12:25 +08:00
clark-stevenson
53da55d6a8 Fixed Emitter.makeParticles optional parameters 2014-04-28 14:23:44 +01:00
photonstorm
bcd64fd44b More Timer tests. 2014-04-26 16:16:18 +01:00
clark-stevenson
8b01abfbec BitmapData + Color updates mostly. 2014-04-26 01:34:19 +01:00
photonstorm
54b71ddc23 Phaser.ArrayList is a new iterative object, similar in principal to a linked list but operating on a single array without modifying the object structure.
Input and Pointer now use the new ArrayList instead of a LinkedList, which resolve list item removable during callback issues.
Input.reset no longer resets every interactive item it knows of, because they are removed during the destroy phase and can now persist between States if needed.
2014-04-25 15:11:54 +01:00
photonstorm
0f1e0a3d4e Updated the Device little / big endianess check. 2014-04-23 23:35:36 +01:00
photonstorm
b6cc150a15 Game.scratch is a single handy BitmapData instance that can be used as a visual scratch-pad, for off-screen bitmap manipulation (and is used as such by BitmapData itself).
Updated TS defs.
2014-04-23 22:14:47 +01:00
clark-stevenson
4e2afcc270 Update phaser.d.ts
Fixed typo. I must have been having fun without knowing it.
2014-04-23 10:47:00 +01:00
clark-stevenson
b00e60a996 Update phaser.d.ts
Couple of updates for last week of dev.
2014-04-23 08:26:26 +01:00
photonstorm
4ec5665148 Fixed #750 - Invalid typescript mapping for TileSprite.autoScroll function in TS defs.
Game checks if window.console exists before using it (should fix IE9 issues when dev tools are closed), however it is still used deeper in Pixi.
Body.loadData flagged as deprecated.
2014-04-22 23:31:07 +01:00
photonstorm
e4887c8177 If Tween.yoyo was true but repeat was 0 then it wouldn't yoyo. Now if yoyo is set, but not repeat, the repeat count gets set to 1 (thanks @hilts-vaughan, fix #744) 2014-04-22 02:12:21 +01:00
Dmytrii Shchadei
d8e158ba87 fix wrong definition for Phaser.Point.rotate 2014-04-20 22:42:37 +02:00
qdrj
c8f1a15be2 Fix phaser.d.ts
Add missing semicolons from d.ts file. Now it's working with WebStorm 8.
2014-04-19 12:11:26 +04:00
qdrj
52a2c2612b Revert "Add missing semicolons. Now working with WebStorm 8."
This reverts commit 01b7a5957a.
2014-04-19 12:05:43 +04:00
qdrj
01b7a5957a Add missing semicolons. Now working with WebStorm 8. 2014-04-19 11:53:42 +04:00
photonstorm
90b9fafa29 New build files for the weekend :) 2014-04-17 14:59:04 +01:00
clark-stevenson
0063c85c86 Update phaser.d.ts
Recent additions.
2014-04-15 20:11:24 +01:00
photonstorm
1326e40598 Build files + docs update. 2014-04-15 15:39:23 +01:00
photonstorm
5f455791d4 TypeScript defs update (thanks @cheshirepuss42, ping to @clark-stevenson to ensure merge with his master version :) 2014-04-15 03:24:54 +01:00
clark-stevenson
af42813a36 Update phaser.d.ts
#715

Added OnFileStart signal to loader
2014-04-14 11:44:32 +01:00
clark-stevenson
4167e9ab00 Update phaser.d.ts
#95b0532
#770ced8
#780fb48
#a01cc2e
#b7b1e74  <-- Not sure how to handle src/utils/Utils.js Array.prototype.forEach
2014-04-13 19:43:13 +01:00
photonstorm
4cea8d7bcc Preparing for final 2.0.3 release. Updated docs, readme and build files. 2014-04-11 13:09:28 +01:00
photonstorm
a2b2d558a5 jsdoc and jshint fixes. 2014-04-11 03:02:19 +01:00
photonstorm
fab18dd80d Modified Phaser.Animation.generateFrameNames to make it a static function (fix #701) 2014-04-10 04:31:27 +01:00
Richard Davey
d05ac487c6 Merge pull request #698 from clark-stevenson/patch-1
generateFrameNames returns string[]
2014-04-10 04:28:54 +01:00
photonstorm
8c434a83ab Fixed issue with Particles not being updated by the Emitter and rebuilt the dist files. 2014-04-10 04:19:43 +01:00
photonstorm
2f46a9c274 Removed un-used builds. 2014-04-10 01:54:52 +01:00
photonstorm
523a3c5632 Tidied up the Grunt tasks a little to name them more accurately.
Renamed phaser-no-physics to phaser-arcade-physics, which is far more accurate.
2014-04-10 01:54:30 +01:00
clark-stevenson
5137834886 generateFrameNames returns string[]
#697
2014-04-09 21:05:07 +01:00
photonstorm
50981fd729 Emitter now has minParticleAlpha and maxParticleAlpha values for setting a random alpha on emitted particles.
Emitter.particleAnchor allows you to control the anchor of emitted Particles. Defaults to 0.5 (same as before) but now under your control.
Emitter now emits Phaser.Particle objects instead of Phaser.Sprites, which can be extended as required.
Emitter has had various local properties removed that were already declared in Phaser.Group which it extends.
2014-04-09 14:29:23 +01:00
photonstorm
8fc2a465cd New Phaser package, small docs updates and preparing P2.World for new bounds code and v0.5.0 migration. 2014-04-08 03:31:13 +01:00
photonstorm
451f68be96 Updated p2 to 6abc900ff9 (which has probably broken stuff, but we'll test it tomorrow). 2014-04-08 03:30:45 +01:00
clark-stevenson
d319cd8cb3 Update phaser.d.ts
Updated for last week of dev.
2014-04-03 20:13:35 +01:00
photonstorm
4d06298e64 Fixed silly SoundManager bug :) 2014-04-01 19:51:48 +01:00
photonstorm
f4dc686028 New build files for testing. 2014-04-01 16:13:00 +01:00
photonstorm
fca1bd97fd New build to test state change in. Also various Gruntfile fixes that arose from the tasks split. 2014-04-01 03:02:36 +01:00
clark-stevenson
6041c137af Small additions from the past week. 2014-03-28 16:58:23 +00:00
photonstorm
5b73bb21bb Sprite would glitch if it had an ArcadePhysics Body that was re-positioned out of loop.
Sprite would "fly off" if it had an ArcadePhysics Body that was re-positioned during an input handler.
Newly generated docs
2014-03-28 01:42:49 +00:00
photonstorm
953ae83350 Updated TS defs (fix #650) 2014-03-26 13:24:11 +00:00
photonstorm
75cc6a7365 Added World.setBounds to the TypeScript defs (fix #649) 2014-03-26 11:00:15 +00:00