Commit Graph

245 Commits

Author SHA1 Message Date
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 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
photonstorm 3748811d11 Testing new Image object. 2014-02-06 19:34:05 +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 e7a9b96d27 Final release 1.1.4 examples finished. 2014-02-05 16:55:02 +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
Richard Davey 4502ca1bf6 Merge pull request #359 from qdrj/patch-7
Update phaser.d.ts
2014-02-05 12:33:30 +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
qdrj 09d4b2bb8b Update phaser.d.ts 2014-02-04 01:32:06 -08:00
Richard Davey 33d47cf9e9 Merge pull request #344 from qdrj/patch-1
Update phaser.d.ts
2014-01-31 10:28:21 -08:00
qdrj 30af712d6a Update phaser.d.ts
Fix typo StageScaleMode.pageAlignVeritcally
2014-01-31 07:32:17 -08:00
qdrj e5dc16b68d Update phaser.d.ts
Fix incorrect Loader.checkKeyExists declaration
2014-01-31 04:53:19 -08:00
photonstorm 27fc447928 New polygon collision object examples and Body scale fixes. 2014-01-31 10:34:18 +00:00
photonstorm d51a37211c Phaser.Line added to the group of geometry classes, with full point on line/segment and intersection tests (see new examples) 2014-01-29 00:21:28 +00:00
qdrj e5f52e8ae8 Update phaser.d.ts
GameObjectFactory.add.existing should return added object
2014-01-27 23:57:28 -08:00
Richard Davey 4432d37e6e Merge pull request #312 from miguelangelgonzalez/dev
Added missing Typescript definitions
2014-01-27 07:40:45 -08:00
Richard Davey 511858e3f5 Merge pull request #340 from qdrj/patch-2
Update phaser.d.ts
2014-01-27 07:40:25 -08:00
Richard Davey d37ec40d72 Merge pull request #339 from qdrj/patch-1
Update phaser.d.ts
2014-01-27 07:39:54 -08:00
Richard Davey 912551a45d Merge pull request #323 from hstolte/patch-1
removed duplicate line in Timer class
2014-01-27 07:37:55 -08:00
photonstorm 4505aa50f6 Integrated SAT. Fixed lots of examples. Fixed documentation. Added new examples and built new phaser.js file for testing. 2014-01-27 06:29:26 +00:00
qdrj 3fb2eb23cd Update phaser.d.ts
Incorrect TilemapLayer constructor
2014-01-24 01:13:09 -08:00
qdrj 8b06f9cd86 Update phaser.d.ts
Remove duplicated Timer.create signature
2014-01-23 22:50:02 -08:00
hstolte 971e17fabe removed duplicate line in Timer class
The method create(...) was defined twice (line 1357 and line 1360). I removed line 1360.
2014-01-18 22:34:28 +01:00
Richard Davey 2532df8793 Merge pull request #317 from gareththegeek/patch-3
Allow Text.style to be any type
2014-01-16 07:28:37 -08:00
Richard Davey c5840f4f6f Merge pull request #316 from gareththegeek/patch-2
Add missing addKey method to Keyboard
2014-01-16 07:28:17 -08:00
gareththegeek 47ee5a2c88 Allow Text.style to be any type
To allow a configuration object to be used rather than a string
2014-01-16 14:48:13 +00:00
gareththegeek ca1f24868a Add missing addKey method to Keyboard 2014-01-16 14:46:12 +00:00
gareththegeek 1f9df6e3f4 Fix typescript compile error in 0.9.5
Explicitly specify type for parameters array
2014-01-16 14:43:28 +00:00
Miguel Angel Gonzalez ac310ab881 Added missing Typescript definitions 2014-01-15 12:15:59 -03:00
photonstorm 32f5a2fa36 More examples updates. Fixed Starstruck tilemap code, removed un-needed ArcadePhysics methods and rebuilt the js files for testing. 2014-01-14 03:33:03 +00:00
photonstorm c6fa2cb7b6 Added the new Timer, TimerEvent and Time methods to the TypeScript definitions files. 2014-01-13 14:18:15 +00:00
photonstorm 35cef4e529 Updated Body file and compiled + minified builds for those wanting to test. 2014-01-09 18:24:12 +00:00
Richard Davey 5f9acdca4b Merge pull request #299 from Niondir/dev
Phaser Definitions Update
2014-01-08 17:02:59 -08:00
photonstorm c6c579e6b3 Phaser.Timer is now feature complete and fully documented. You can create Phaser.TimerEvents on a Timer and lots of new examples have been provided. 2014-01-09 00:59:37 +00:00
Tarion c21365703d Phaser Definitions Update
Added "GetCurrentState" to StateManager
2014-01-08 22:57:13 +01:00
niondir 1aabb6b93d World is a Group. Needed to remove stuff again e.g. a "BitmapText" 2014-01-07 19:54:04 +01:00
niondir 77a8dc321f phaser.d.ts corrections 2014-01-07 10:58:00 +01:00
photonstorm 29d7cc36a0 Merge branch 'gamepadsupport' of https://github.com/karlmacklin/phaser into karlmacklin-gamepadsupport
Conflicts:
	README.md
2013-12-31 00:44:11 +00:00
photonstorm ce4cf531d4 Added class constructors, fixed Stripshader, added relative Tween example and updated Tween source. 2013-12-30 16:54:00 +00:00
inductible.dev 9a968bc5bb TypeScript defs: TileSprite now extends Sprite, and added 'fixedToCamera' property to Sprite definition 2013-12-23 09:48:07 +00:00
inductible.dev 6be31e0f69 added TypeScript definitions for Key and CursorKeys object 2013-12-22 13:34:52 +00:00
photonstorm 5cf7ed4fdb More TypeScript updates. 2013-12-18 16:56:14 +00:00
photonstorm 50eee95c99 Improved TilemapLayer rendering and debug rendering significantly. Cleared out some old assets and added a new map. 2013-12-18 00:44:04 +00:00