Commit graph

503 commits

Author SHA1 Message Date
photonstorm
3997a7c372 Time.prevTime is a new property that contains the raw value of the game timer from the previous update.
Timer.timeCap has been changed from `1000` to `1 / 60 * 1000` to bring it in line with Time.timeCap.
2014-10-13 16:18:42 +01:00
photonstorm
ac27f12c95 Fixes for Pixi update WebGL UV calls. 2014-10-11 04:18:42 +01:00
photonstorm
321d7b0d06 Added 2.1.2 build files. 2014-10-09 16:16:41 +01:00
photonstorm
506a091257 Sound.allowMultiple allows you to have multiple instances of a single Sound playing at once. This is only useful when running under Web Audio, and we recommend you implement a local pooling system to not flood the sound channels. But it allows for one Sound object to play overlapping times, useful for gun effects and similar (#1220) 2014-10-09 14:44:25 +01:00
photonstorm
a2a60f207f Updated readme and TS defs. 2014-10-09 14:16:24 +01:00
photonstorm
b00866cee9 AnimationManager.name will now return the name property of the currently playing animation, if any. 2014-10-09 14:06:13 +01:00
Clark Stevenson
90c8ec4edf Minor Typescript Updates 2014-10-03 21:28:20 +01:00
photonstorm
e0a20cef25 Updated config for Box2D plugin 2014-09-29 21:19:18 +01:00
photonstorm
b0e96a37b9 Added Box2D handler support. 2014-09-29 12:27:28 +01:00
Richard Davey
acba9c4e14 Updated TypeScript defs. 2014-09-29 12:14:02 +01:00
photonstorm
415c7fe578 Added the sourceRect and maskRect parameters back into BitmapData.alphaMask as they were accidentally removed in 2.1 (thanks seejay92) 2014-09-25 15:30:03 +01:00
Clark Stevenson
01bcec97d2 Update phaser.d.ts
Small fixes and a few additions
2014-09-25 09:38:38 +01:00
photonstorm
f3fd3ebe0e Added AudioSprite to the build files. 2014-09-24 06:51:53 +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
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
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
photonstorm
37e4754511 2.1.0 Release. 2014-09-09 15:36:42 +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
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
ff07317120 First version of the FlexLayer class. 2014-09-05 15:46:10 +01:00
photonstorm
07f529bf12 First experimental build of FlexGrid. 2014-09-05 06:01:48 +01:00
photonstorm
a98fbc0c62 New 2.1.0 build files. 2014-09-04 16:56:45 +01:00
photonstorm
9fa3f8f2b1 alphaMask update. 2014-09-04 16:53:19 +01:00
photonstorm
3a69ed944d Fixed TypeScript defs for BitmapData. 2014-09-04 16:52:10 +01:00
Chad Engler
6b324720bd fix typo of 'object' 2014-09-01 10:56:28 -07:00
Chad Engler
43394300f7 change all Objects to any 2014-09-01 08:55:02 -07:00
Chad Engler
449e0a130b implement resize callback 2014-09-01 08:54:05 -07:00
photonstorm
8a1c22d059 New build files. 2014-09-01 08:21:40 +01:00
photonstorm
b389b73221 New build files for testing. 2014-09-01 03:56:40 +01:00
photonstorm
6784c3a50d TypeScript def updates to match new ScaleManager. 2014-09-01 03:40:26 +01:00
Chad Engler
e6f3bd5da6 more typescript definition file updates 2014-08-30 18:21:33 -07:00
Richard Davey
e5cfa8202a Merge pull request #1154 from saikobee/issues/1153
Fixes #1153
2014-08-31 00:12:45 +01:00
Brian Mock
fe94d7f002 Fixes #1153
Previously the `Phaser.Keyboard` module's `lastKey` property was of type
`string` in the TypeScript definition file, but it is actually a
`Phaser.Key` object, so `build/phaser.d.ts` has been updated to reflect
that.
2014-08-29 21:28:55 -07:00
Rene Hangstrup Møller
4efac73ec6 p2.createContactMaterial() options parameter should be object 2014-08-29 23:02:03 +02:00
photonstorm
da5a9482f6 New build files for testing. 2014-08-29 18:13:33 +01:00
Chad Engler
6483e48b2e fix some minor issues in the typescript definition 2014-08-28 06:56:27 -07:00
photonstorm
34426e7560 Loader.useXDomainRequest boolean automatically set to true if the browser is specifically detected as IE9, but you can still override this. IE10 will use xhr. 2014-08-28 05:24:57 +01:00
photonstorm
9de1d494df Phaser 2.1.0 build files for testing.
Ninja Physics is no longer included in the build files by default. Not enough people were using it, and not enough contributions were coming in to help polish it up, so we've saved the space and removed it. It's still available in the grunt build files if you require it, but we're deprecating it from the core library at this time. It will make a return in Phaser3 when we move to a modular class system.
2014-08-28 04:53:05 +01:00
photonstorm
31f450dd42 Docs updates, preparing for Rope merge. 2014-08-28 01:59:10 +01:00
Richard Davey
f076edcf2e Merge pull request #1133 from rhmoller/dev
Emitter.setScale() has separate arguments for x and y and easing parameter should be a function type
2014-08-28 01:41:40 +01:00
photonstorm
aeb82dbee9 World.createRotationalSpring will now let you create rotational springs. 2014-08-28 00:58:50 +01:00
photonstorm
33c52eaf09 BitmapData alpha option added.
Pointer return type added.
pixi manifest updated to remove need for geom classes.
2014-08-27 21:26:29 +01:00
Rene Hangstrup Møller
097b35bbc0 fixed function type for easing function 2014-08-22 22:13:58 +02:00
Rene Hangstrup Møller
82d701bba4 Emitter.setScale() has separate arguments for x and y 2014-08-22 18:38:05 +02:00
clark-stevenson
ecf8b4eb26 TileMapLayer getTileX/Y returns number not Tile
Fixed simple type error.

http://www.html5gamedevs.com/topic/8621-gettilex-gettiley-typescript-signature-wrong/
2014-08-17 20:43:03 +01:00
photonstorm
f887ee0df8 TypeScript definition updates to help fix for the noimplicitany option (thanks @Waog #1088) 2014-08-06 16:24:33 +01:00
Clark Stevenson
ebe1f9901f Fixed #1056 draw typo changed to drag 2014-07-22 12:39:53 +01:00
Clark Stevenson
2526ef2edc Fixed BitmapFont tint 2014-07-18 13:31:20 +01:00
Clark Stevenson
769822e6da Merge branch 'dev' of https://github.com/photonstorm/phaser into dev 2014-07-18 12:56:38 +01:00