Commit graph

2371 commits

Author SHA1 Message Date
photonstorm
fc6b7dd36c StateManager.unlink will null all State-level Phaser properties, such as game, add, etc. Useful if you never need to return to the State again. 2014-09-15 13:19:01 +01:00
Richard Davey
19b45b1c59 Updating the docs browser. 2014-09-15 12:50:46 +01:00
photonstorm
60acef2f97 If Game Objects change their frame, such as with an animated Sprite, and the change goes from a previously trimmed frame to a non-trimmed (full size) one, then the previous trim values were still left active, causing it to glitch (thanks stupot) 2014-09-11 20:56:01 +01:00
Richard Davey
bb8da110b1 Merge pull request #1184 from clark-stevenson/dev
Should bring phaser upto date with master, P2 has been added as it is co...
2014-09-11 12:02:44 +01:00
photonstorm
e5cac96302 Preparing for 2.1.2 2014-09-11 12:02:20 +01:00
photonstorm
5b922be56e Version 2.1.1. of Phaser is an emergency point release. It addresses a potential race condition that could happen in States that tried to change state from the create method but had an empty preloader or pre-cached assets. 2014-09-11 10:38:40 +01:00
photonstorm
a1a0861070 readme update + screen shot 2014-09-11 10:38:38 +01:00
Clark Stevenson
4b311944d7 Should bring phaser upto date with master, P2 has been added as it is cool to have access to the p2 data. 2014-09-11 00:02:23 +01:00
Richard Davey
5d5c8870f9 Merge pull request #1180 from FedeOmoto/dev
Unnecessary "if" in Line.fromSprite method
2014-09-09 22:11:26 +01:00
Federico Omoto
0bdb0bdde5 Unnecessary "if" in Line.fromSprite method 2014-09-09 17:24:36 -03:00
Richard Davey
e320ace5a8 Merge pull request #1179 from FedeOmoto/dev
Documentation fixes
2014-09-09 21:11:27 +01:00
Federico Omoto
471c2f444b Documentation fixes 2014-09-09 16:22:59 -03:00
photonstorm
b801630d78 Preparing for 2.1.1 development. 2014-09-09 16:50:23 +01:00
photonstorm
2fc5c8f11e Updated for npm-publish. 2014-09-09 16:28:25 +01:00
photonstorm
26fe06e00c Docs updates. 2014-09-09 15:36:56 +01:00
photonstorm
37e4754511 2.1.0 Release. 2014-09-09 15:36:42 +01:00
photonstorm
b1b7414875 New mini responsive template. 2014-09-09 15:31:44 +01:00
photonstorm
33d9b19e29 The Debug canvas is now cleared on State swap. 2014-09-09 15:28:58 +01:00
photonstorm
03bd2aaf46 2.1.0 pre-built releases. 2014-09-09 14:47:54 +01:00
photonstorm
133ffd5fd1 2.1.0 docs updates. 2014-09-09 14:47:30 +01:00
photonstorm
f82bce7a3a Grunt task updates. 2014-09-09 14:47:15 +01:00
photonstorm
1f089d74c5 Phaser.Easing.Default is a new property that is used when a specific type of ease isn't given. It defaults to Linear.None but can be overridden to anything (thanks @alvinsight) 2014-09-09 14:01:49 +01:00
photonstorm
24e896301b Adding new build file: Phaser + Arcade Physics + Ninja physics. 2014-09-09 12:50:01 +01:00
photonstorm
5eedc4c2c5 The physics config object is now stored locally in World.config. 2014-09-09 12:49:31 +01:00
photonstorm
3fc527ba53 Added Math.numberArray back in and renamed the replacement to Math.numberArrayStep to avoid breaking the API. 2014-09-09 12:49:17 +01:00
photonstorm
5e6c40e392 Fixed the jsdocs and crop method used on preloader sprites. 2014-09-09 12:48:38 +01:00
photonstorm
a1c9b64327 Now bails out of a few methods if RESIZE is set. 2014-09-09 12:48:21 +01:00
photonstorm
2e9dc682a1 Tidied up a redundant if call. 2014-09-09 12:47:59 +01:00
photonstorm
b4e7da78ed jsdocs updated. 2014-09-09 12:47:39 +01:00
photonstorm
c40c140631 Camera.roundPx is a new boolean. If set to true it will call view.floor as part of its update loop, keeping its boundary to integer values. Set to false to disable this from happening (#1141) 2014-09-09 12:47:27 +01:00
photonstorm
79d873f47b If you are using CocoonJS, please set your game render type to CANVAS and not WEBGL or AUTO. You should also disable any of the ScaleManager screen resizing or margin setting code. By default in this mode CocoonJS will now set 'screencanvas=true' which helps with performance significantly. 2014-09-08 22:34:53 +01:00
photonstorm
09915ebfde Tidying up debug. 2014-09-08 22:34:53 +01:00
photonstorm
282db76351 Readme update. 2014-09-08 22:34:53 +01:00
photonstorm
052e5042ed jsdoc fix. 2014-09-08 22:34:53 +01:00
photonstorm
df16970bcc Readme update. 2014-09-08 22:34:53 +01:00
photonstorm
59f7c53019 P2.Body.addCapsule didn't use to pass the radius value through pxm, but now does so you have to specify it in pixels, not meters. 2014-09-08 22:34:53 +01:00
Richard Davey
73e9a74350 Update docgen with a few bug fixes and creating a viewer. 2014-09-07 17:43:57 +01:00
Richard Davey
3102ad534d Swapped the order of the Camera.view floor to avoid the 1px jitter effect on the right of maps. 2014-09-06 10:26:54 +01:00
Richard Davey
d72117ab8d Merge pull request #1170 from codevinsky/feature/utils
Phaser.Utils.range: easily create an array that contains a range of numbers.
2014-09-05 17:59:32 +01:00
Richard Davey
199016b0a8 Merge pull request #1172 from eguneys/dev
A new custom build with no physics added.
2014-09-05 17:15:41 +01:00
photonstorm
7c02358eed More FlexGrid updates. 2014-09-05 16:19:32 +01:00
photonstorm
22df587bd3 Swapped to using FlexLayers. 2014-09-05 15:46:21 +01:00
photonstorm
ff07317120 First version of the FlexLayer class. 2014-09-05 15:46:10 +01:00
photonstorm
4903e47a98 Rectangle.topRight returns a Point object that represents the top-right coordinate of the Rectangle. 2014-09-05 15:45:47 +01:00
Jeremy Dowell
06c6b23454 moved: Utils.range to Math.numberArray 2014-09-05 09:36:36 -05:00
eguneys
fdf00b1b49 A new custom build with no physics added. 2014-09-05 11:38:40 +03:00
photonstorm
72c0f50b6b Lots of small enhancements and layer types. 2014-09-05 08:02:44 +01:00
photonstorm
0af4ec4da2 The StateManager will now check if a State has a method called resize. If it does, and if the game is running in the RESIZE Scale Mode then this method will be called whenever the game resizes. It will be passed two parameters: width and height that will match the games new dimensions. Resizing can happen as a result of either the parent container changing shape, or the browser window resizing. 2014-09-05 06:22:10 +01:00
photonstorm
0c9eef8a91 FlexGrid added to the ScaleManager. 2014-09-05 06:02:25 +01:00
photonstorm
07f529bf12 First experimental build of FlexGrid. 2014-09-05 06:01:48 +01:00