photonstorm
f23ab1f3a9
TypeScript defs with comments update.
2015-03-26 02:59:11 +00:00
photonstorm
d7c0a907f9
Small grunt fix.
2015-03-26 02:58:47 +00:00
photonstorm
e33455e34f
2.3.0 API Docs
2015-03-26 02:55:18 +00:00
photonstorm
cf4e213056
New API Docs.
2015-03-26 02:38:46 +00:00
photonstorm
8233b0a079
Phaser 2.3.0.
2015-03-26 02:37:31 +00:00
photonstorm
d4e838592c
Readme tweaks.
2015-03-26 02:22:05 +00:00
photonstorm
bd62459a56
Readme release changes.
2015-03-26 02:10:57 +00:00
photonstorm
eb235197e9
Phaser 2.3 Release Candidate 3.
2015-03-25 16:17:53 +00:00
photonstorm
79ace60997
Added guard around the xhr onload try / catch block, so it doesn't incorrectly report errors as being from the Loader when they may have been throw by the create method.
2015-03-25 16:13:52 +00:00
photonstorm
c1366c2f4f
Arc comment.
2015-03-25 16:13:21 +00:00
photonstorm
93dc67be71
Graphics.drawArc would fail to draw any subsequent arcs if you set beginFill
on it after drawing the first arc.
...
Graphics.drawArc would only move to the center position of the first arc created and ignore any subsequent arcs.
Graphics.drawArc now correctly renders multiple arcs across both WebGL and Canvas. You no longer need to specifically call moveTo to move into the correct place to draw the arc.
Graphics.drawArc now bails out if the startAngle = the endAngle and/or the sweep is invalid *before* adjusting any points.
Graphics.drawArc now correctly handles the fill on the CanvasRenderer if the arc is a subsequent arc and no line style is set.
2015-03-25 13:00:08 +00:00
photonstorm
d45a7bae8e
Fixed constructor.
2015-03-25 12:59:41 +00:00
photonstorm
e7400be625
Formatting updates.
2015-03-25 12:59:31 +00:00
photonstorm
b1cdb358bb
Merging in fixes from Pixi 3.
2015-03-25 11:04:58 +00:00
photonstorm
17b2eafbf3
Split GraphicsData to its own file.
2015-03-25 11:04:48 +00:00
photonstorm
93ed950f89
Small geom tidy-up.
2015-03-25 11:04:31 +00:00
photonstorm
f4d55b7785
When an Emitter is destroyed via Emitter.destroy it now removes itself from the Phaser Particle Manager, freeing it up for garbage collection and stopping it from being processed.
2015-03-25 05:07:39 +00:00
photonstorm
aa13ec0165
Animation.play wouldn't correctly set the play state on the Game Objects AnimationManager causing the animation to fail to start (calling AnimationManager.play did work however), now they're both consistently working.
2015-03-25 03:59:36 +00:00
photonstorm
244372384e
When an Animation completes playback and isn't set to loop it would change the currentFrame
property to be the first frame in the set after the onComplete
callback had fired. This meant if you set a Sprite to a new frame within an Animation onComplete callback then your change would have been overwritten by the animation itself. This is now no longer the case.
2015-03-24 23:17:13 +00:00
Richard Davey
dc82fe60f2
Merge pull request #1695 from clark-stevenson/dev
...
Minor Updates RC1
2015-03-24 21:53:06 +00:00
Clark Stevenson
bbbb003522
Merge remote-tracking branch 'clark/dev' into dev
2015-03-24 21:38:57 +00:00
Clark Stevenson
e5dc470a59
Updated TypeScript Readme to recommend TypeScript 1.4, and removed webgl.d.ts for that reason.
2015-03-24 21:38:36 +00:00
Clark Stevenson
421ed4a715
Phaser Minor Changes for 2.3.0 RC1 Review
2015-03-24 21:38:30 +00:00
Clark Stevenson
cb8a7c467e
Pixi Minor change for 2.2.8
2015-03-24 21:38:24 +00:00
photonstorm
d80ec1ae6d
Phaser 2.3 Release Candidate 2.
2015-03-24 21:35:23 +00:00
photonstorm
83adc51698
Fixed the FixedToCamera :)
2015-03-24 21:35:09 +00:00
Clark Stevenson
3f47f8a3c8
Updated TypeScript Readme to recommend TypeScript 1.4, and removed webgl.d.ts for that reason.
2015-03-24 21:31:27 +00:00
Clark Stevenson
c299213994
Phaser Minor Changes for 2.3.0 RC1 Review
2015-03-24 21:28:24 +00:00
Clark Stevenson
700894246f
Pixi Minor change for 2.2.8
2015-03-24 21:27:20 +00:00
photonstorm
c4b83a1394
Phaser 2.3 Release Candidate 1.
2015-03-24 16:05:52 +00:00
photonstorm
06b484e71c
Huge docs update.
2015-03-24 16:01:07 +00:00
photonstorm
96e313e768
If you paused a Sound object that is using audio markers and then resumed it, it wouldn't correctly calculate the resume duration - causing the sound to sometimes play into the marker that followed it (thanks @AnderbergE #1669 )
2015-03-24 14:43:35 +00:00
Richard Davey
483bb240a6
Merge pull request #1694 from englercj/dev
...
Minor typescript def file update
2015-03-24 14:39:14 +00:00
Chad Engler
ce254e540e
minor typescript def file update
2015-03-24 07:06:14 -07:00
photonstorm
7e19f45350
When the Game first boots it will now call window.focus()
. This allows keyboard events to work properly in IE when the game is running inside an iframe. You can stop this from happening by setting window.PhaserGlobal.stopFocus = true
(thanks @webholics #1681 )
2015-03-24 13:27:27 +00:00
photonstorm
ebdb6d028f
The Physics Manager now has a new reset
method which will reset the active physics systems. This is called automatically on a State swap (thanks @englercj #1691 )
2015-03-24 10:21:12 +00:00
photonstorm
7aa4d0ad0d
When a State is started and linked to Phaser it has a new property created on it: key
, which is the string identifier used by the State.
2015-03-24 10:21:03 +00:00
photonstorm
43d6339f3a
New jsdoc files generated.
2015-03-23 23:46:30 +00:00
photonstorm
12fc424305
Huge amount of jsdoc updates.
2015-03-23 23:46:09 +00:00
photonstorm
08c9513f98
Improving the Component documentation.
2015-03-23 19:56:23 +00:00
photonstorm
85c8f60d7c
Removed 'global' component arrays.
2015-03-23 19:19:07 +00:00
photonstorm
3db4313e5d
Docs update.
2015-03-23 16:13:04 +00:00
photonstorm
b7b622a556
Text style has a new optional property: backgroundColor
which is a Canvas fill style that is set behind all Text in the Text object. It allows you to set a background color without having to use an additional Graphics object.
...
Text.lineSpacing can now accept negative values without cutting the bottom of the Text object off. The value can never be less than the height of a single line of text.
Text.lineSpacing is no longer applied to the first line of Text, which prevents text from being cut off further down the Text object.
2015-03-23 16:12:23 +00:00
photonstorm
7010883bc3
Tidying up.
2015-03-23 15:07:09 +00:00
photonstorm
77eaa7e707
Optimised World.collideHandler and added SORT_NONE option.
2015-03-23 15:05:57 +00:00
photonstorm
b07ce89236
sourceWidth / Height now only set from the texture if the object has a texture.
2015-03-23 15:05:39 +00:00
photonstorm
1486e166bd
Added physicsType property.
2015-03-23 15:04:27 +00:00
photonstorm
55048a4b25
BitmapText objects now have an anchor
property. This works in a similar way to Sprite.anchor except that it offsets the position of each letter of the BitmapText by the given amount, based on the overall BitmapText width - whereas Sprite.anchor offsets the position the texture is drawn at.
2015-03-23 15:03:53 +00:00
photonstorm
506ff8843e
Fixed incorrect use of this.response which broke Binary files with callbacks. Should be all of them caught now - ProTracker example now works again as a result too.
2015-03-23 10:52:43 +00:00
photonstorm
35a9bdcfc9
Fixed loading of physics json data (old responseText reference)
2015-03-23 10:46:38 +00:00