Commit graph

872 commits

Author SHA1 Message Date
Richard Davey
325f63b45d Merge branch '1.2' of https://github.com/photonstorm/phaser into 1.2 2014-02-08 10:11:56 +00:00
photonstorm
243820c973 Fixing up Pixis setBackgroundColor. 2014-02-08 09:14:44 +00:00
photonstorm
ee3f6d8e7f Tilemap had the wrong @method signatures so most were missing from the docs. 2014-02-08 07:24:40 +00:00
photonstorm
67bd653eb4 Graphics updated and restored. Working through fixing up Physics. 2014-02-07 19:44:14 +00:00
photonstorm
c429787877 Button now extends Phaser.Image not Phaser.Sprite, all the same functionality as before remains, just no animations or physics body. 2014-02-07 18:55:29 +00:00
photonstorm
bf13c7b569 Updated Sprite to use the new smaller, leaner code. Farewell insane cache objects and multiple point processing! 2014-02-07 18:44:58 +00:00
photonstorm
dd43d59cce InputManager.getLocalPosition(displayObject, pointer, output) will return the local coordinates of the specified displayObject and pointer.
InputManager.hitTest will test for pointer hits against a Sprite/Image, its hitArea (if set) or any of its children.
2014-02-07 18:01:58 +00:00
photonstorm
bc3a3fd43d You can now use the hitArea property on Sprites and Image objects. hitArea can be a geometry object (Rectangle, Circle, Polygon, Ellipse) and is used in pointerOver checks. 2014-02-07 17:14:10 +00:00
photonstorm
890e52008a Mouse callback tests. 2014-02-07 07:32:11 +00:00
photonstorm
9b9baa83a9 Added Image.frame and Image.frameName support in. 2014-02-07 06:52:49 +00:00
photonstorm
d583b364bd Game.add.renderTexture now has the addToCache parameter. If set the texture will be stored in Game.Cache and can be retrieved with Cache.getTexture(key).
Game.add.bitmapData now has the addToCache parameter. If set the texture will be stored in Game.Cache and can be retrieved with Cache.getBitmapData(key).
2014-02-07 06:25:28 +00:00
photonstorm
773b4d5ed1 More animation tests. 2014-02-07 04:12:23 +00:00
photonstorm
6958ac73d3 Added the SAT class to the TypeScript defs file. Also this fixes #369. 2014-02-07 04:12:04 +00:00
photonstorm
ddc255382d Updated Rectangle to use prototype based getters and setters (re: iOS speed discussion on the forum). 2014-02-07 02:31:29 +00:00
photonstorm
3cae06d1ad Phaser.AnimationParser now sets the trimmed data directly for Pixi Texture frames. Tested across JSON Hash, JSON Data, Sprite Sheet and XML. 2014-02-07 00:57:41 +00:00
photonstorm
6cabb03a82 Sprite.crop() now takes a Phaser.Rectangle instead of explicit parameters.
Phaser.Image is a brand new display object perfect for logos, backgrounds, etc. You can scale, rotate, tint and blend and Image, but it has no animation, physics body or input events.
Previously if you used Sprite.crop() it would crop all Sprites using the same base image. It now takes a local copy of the texture data and crops just that.
2014-02-06 23:13:39 +00:00
photonstorm
4b7fc8d506 Change to boot order to try and resolve short-TTL timers. 2014-02-06 22:42:35 +00:00
photonstorm
7ba1196c0d Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy) 2014-02-06 22:42:35 +00:00
Richard Davey
0b18625811 Merge pull request #367 from georgiee/develop
Phaser.Timer#stop
2014-02-06 21:20:29 +00:00
photonstorm
3748811d11 Testing new Image object. 2014-02-06 19:34:05 +00:00
Georgios Kaleadis
8ef403cfe7 Timer checks now for running inside while loop. Any event which causes a call to Timer#stop is now safe. 2014-02-06 17:28:39 +01:00
photonstorm
4ed20e0f77 Removed all intances of Sprite.group from Group and replaced with the already existing parent property. 2014-02-06 13:15:45 +00:00
photonstorm
e88b10323a Updated Phaser geometry classes so they over-ride the PIXI native ones, means we can do away with a whole bunch of over-rides and object changes in Sprite, etc. 2014-02-06 12:29:07 +00:00
photonstorm
8eae8feecc More Group fixes to the new format. Updated list of included Pixi files to remove un-needed ones. 2014-02-06 03:34:27 +00:00
photonstorm
4cfce8b4d2 Group now extends PIXI.DisplayObjectContainer, rather than owning a _container property, which makes life a whole lot easier re: nesting. 2014-02-06 02:31:36 +00:00
photonstorm
9737710200 Upgraded to Pixi.js 1.4.4 2014-02-06 00:19:46 +00:00
photonstorm
68d5c73fea Explicitly paused Timer continues if you un-focus and focus the browser window.
Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception.
2014-02-05 22:35:35 +00:00
photonstorm
eddce653e9 Preparing for 1.1.5 development. 2014-02-05 21:02:41 +00:00
photonstorm
16fa37081f Merge branch 'origin/dev'
Conflicts:
	README.md
2014-02-05 17:05:26 +00:00
photonstorm
fd68a2fe3a Version number updates. 2014-02-05 16:59:54 +00:00
photonstorm
e7a9b96d27 Final release 1.1.4 examples finished. 2014-02-05 16:55:02 +00:00
photonstorm
02b75b9e23 Updated doc files. 2014-02-05 16:55:02 +00:00
photonstorm
0896c2fac7 Updating copyright year and README. 2014-02-05 16:54:59 +00:00
photonstorm
8e77e8cedb Lots of TypeScript defs updates for the new Physics / Body classes. 2014-02-05 16:54:58 +00:00
photonstorm
846e9c5061 Removed debug info and tidying up ready for release. 2014-02-05 16:54:58 +00:00
photonstorm
1af86771ba And we have level/ground jitter fixed :) Starstruck is running again properly now too. Time to commit and remove lots of debug data. 2014-02-05 16:54:58 +00:00
photonstorm
84f0f00f49 n-way collision checks and onBeginContact and onEndContact done and working. Also fixed issue in TweenManager.removeAll. 2014-02-05 16:54:58 +00:00
Richard Davey
4502ca1bf6 Merge pull request #359 from qdrj/patch-7
Update phaser.d.ts
2014-02-05 12:33:30 +00:00
Richard Davey
70ad43e71b Merge pull request #357 from qdrj/patch-5
Update phaser.d.ts
2014-02-05 12:33:04 +00:00
qdrj
a1ccddcd7e Update phaser.d.ts
Added BitmapText definitions
2014-02-05 01:19:04 -08:00
qdrj
82c39d0866 Update phaser.d.ts
It is a bit confusing that AnimationManager.getAnimation can return animation object or false. Maybe it will better if this method will be returning null instead of false.
2014-02-04 23:24:28 -08:00
Richard Davey
45f9db515a Merge pull request #356 from qdrj/patch-4
Update phaser.d.ts
2014-02-04 03:08:18 -08:00
qdrj
09d4b2bb8b Update phaser.d.ts 2014-02-04 01:32:06 -08:00
photonstorm
8315973c5d Body/Group testing complete. Now focusing on n-way collision. 2014-02-03 04:09:45 +00:00
photonstorm
28f71ed86d Fixed the Sprite / World / Group body issue. So invaders now works again, as do the new examples. 2014-02-03 04:09:45 +00:00
photonstorm
3488880956 Sprite vs. Sprite Group Body Tests. 2014-02-03 04:09:45 +00:00
Richard Davey
33d47cf9e9 Merge pull request #344 from qdrj/patch-1
Update phaser.d.ts
2014-01-31 10:28:21 -08:00
Richard Davey
cdb1891420 Merge pull request #350 from qdrj/patch-3
Update phaser.d.ts
2014-01-31 10:28:02 -08:00
qdrj
30af712d6a Update phaser.d.ts
Fix typo StageScaleMode.pageAlignVeritcally
2014-01-31 07:32:17 -08:00
photonstorm
5e182d317b Fixed lots of examples and added the missing Line.js. 2014-01-31 14:12:20 +00:00