Commit graph

1463 commits

Author SHA1 Message Date
Christian Wesselhoeft
5c6f0be805 Update dev dependencies. 2014-04-07 08:25:15 -06:00
Richard Davey
0c9bcc2ef2 Merge pull request #680 from Raeven0/dev
correct Tilemap.hasTile(...) parameter typing
2014-04-07 12:29:19 +01:00
Richard Davey
eef7cc2d6d Merge pull request #688 from jonthulu/cursorFix
Fixed bug in group.next when cursor is at the last child.
2014-04-03 21:22:43 +01:00
Richard Davey
14db957d87 Merge pull request #689 from clark-stevenson/patch-4
Update phaser.d.ts
2014-04-03 21:14:50 +01:00
clark-stevenson
d319cd8cb3 Update phaser.d.ts
Updated for last week of dev.
2014-04-03 20:13:35 +01:00
Jon White
0aca0962df Fixed bug when group.remove is called when the cursor is on the last children index. 2014-04-03 10:42:55 -05:00
Jon White
ab3ae750e2 Fixed bug in group.next when cursor is at the last child. 2014-04-03 10:13:27 -05:00
Richard Davey
1311c830a8 Merge pull request #684 from jonthulu/groupMove
Fixed bug where move up and move down method in groups did not work.
2014-04-02 23:04:47 +01:00
Jon White
e24c8f63ea Fixed bug where move up and move down method in groups did not work. 2014-04-02 15:39:20 -05:00
Raeven0
7fa9e4639e correct Tilemap.hasTile(...) parameter typing
Member methods of Tilemap which take a layer parameter use getLayer on
that parameter to allow passing int, string, and TilemapLayer objects.
Tilemap.hasTile(...) should do so as well.
2014-04-01 20:26:16 -05:00
photonstorm
d8bc1256bc Moved the Tutorials into the Resources folder, just tidying-up a bit. 2014-04-01 21:22:11 +01:00
photonstorm
cbc1f5aceb Moved labs files over to the phaser-examples repo. 2014-04-01 21:21:10 +01:00
photonstorm
de17263472 jshint fix 2014-04-01 20:57:52 +01:00
photonstorm
4d06298e64 Fixed silly SoundManager bug :) 2014-04-01 19:51:48 +01:00
photonstorm
f4dc686028 New build files for testing. 2014-04-01 16:13:00 +01:00
photonstorm
38d722c1e5 Tilemap.removeTile(x, y, layer) lets you remove the tile at the given coordinates and updates the collision data.
Tilemap.removeTileWorldXY lets you remove the tile at the given pixel value coordinates and updates the collision data.
If you pass `null` to Tilemap.putTile as the tile parameter it will pass the call over to Tilemap.removeTile.
2014-04-01 13:36:42 +01:00
photonstorm
61429d8467 StateManager.restart allows you to quickly restart the *current* state, optionally clearing the world and cache. 2014-04-01 11:25:04 +01:00
photonstorm
a4ed94e039 Key.reset now clears any callbacks associated with the onDown and onUp events and nulls the onHoldCallback if set. Key.reset is called by Keyboard.reset when changing state. 2014-04-01 04:41:43 +01:00
photonstorm
439cefd481 ArcadePhysics.Body.hitTest(x, y) will return a boolean based on if the given world coordinate are within the Body or not.
Fixed jsdoc method tags in Body.
2014-04-01 03:54:20 +01:00
photonstorm
03b80887f2 SoundManager.removeByKey(key) will remove all sounds from the SoundManager that have a key matching the given value. 2014-04-01 03:42:30 +01:00
photonstorm
3728f25d68 SoundManager.remove(sound) now lets you remove a sound from the SoundManager, destroying it in the process.
Sound.destroy will remove a sound and all local references it holds, optionally removing itself from the SoundManager as well.
2014-04-01 03:38:13 +01:00
photonstorm
e967039e87 Fixed Travis file naming (thanks Windows) 2014-04-01 03:05:37 +01:00
photonstorm
fca1bd97fd New build to test state change in. Also various Gruntfile fixes that arose from the tasks split. 2014-04-01 03:02:36 +01:00
photonstorm
1f32ef721d The Phaser Gruntfile is now split up into option tasks (thanks @xtian, #638) 2014-04-01 01:47:42 +01:00
photonstorm
3d92513f08 Split Gruntfile into multiple files
Conflicts:
	Gruntfile.js
	package.json
2014-04-01 01:41:46 +01:00
photonstorm
b6ad11701e Various jshint fixes. 2014-04-01 01:30:20 +01:00
photonstorm
5ed79dfefe The Phaser jshint process is now running on Travis (thanks @xtian, #656) 2014-04-01 01:24:49 +01:00
photonstorm
5559fea0f8 The State.update function (and thus the update of any sub-classed Sprites or other objects) is now called before Stage, Tweens, Sound, Input, etc (#662) 2014-04-01 01:01:15 +01:00
Richard Davey
e1529a3ffb Merge pull request #662 from ralphsmith80/master
issue#661 update state before values are cleared
2014-04-01 00:56:35 +01:00
photonstorm
9762bff5eb Updated docs to specify callback parameter order (#667) 2014-04-01 00:50:24 +01:00
photonstorm
0198a77fe6 Phaser.Point.centroid static function added to calculate the centroid or midpoint of an array of points (thanks @lewster32, #675) 2014-04-01 00:42:13 +01:00
photonstorm
e3f1c7b21c Added Pointer.positionUp which records the last point at which the pointer left the screen / was raised (thanks @Cryszon ,#676) 2014-04-01 00:40:26 +01:00
photonstorm
407f71b70e Tidied up Sound.js 2014-04-01 00:40:26 +01:00
Richard Davey
12b99a1ae1 Merge pull request #675 from lewster32/dev
Added Phaser.Point.centroid function.
2014-04-01 00:40:11 +01:00
Richard Davey
9a663d0d78 Merge pull request #676 from Cryszon/pointerPositionUp
Added positionUp to Pointer
2014-04-01 00:28:08 +01:00
Richard Davey
1bc3c156c6 Merge pull request #677 from nickryall/dev-text
Fix for 'jagged' strokes on custom fonts.
2014-04-01 00:24:50 +01:00
nickryall
76736a666e Rounded lineJoins for text stroke 2014-04-01 09:03:14 +13:00
nickryall
5f7d38e9fd Rounded lineJoins for text stroke 2014-04-01 09:00:35 +13:00
nickryall
97b372f839 Renable input on Phaser.Image fix 2014-04-01 08:54:54 +13:00
nickryall
772d9ca9f2 Renable input on Phaser.Image fix 2014-04-01 08:54:08 +13:00
Kimmo Salmela
a23c6ee6fd Added positionUp to Pointer 2014-03-31 20:36:51 +03:00
Lewis Lane
1d1e47d68d Update Point.js 2014-03-31 16:03:18 +01:00
Lewis Lane
14b16fb583 Update Point.js 2014-03-31 16:01:35 +01:00
Lewis Lane
c5629008e9 Updated Phaser.Point.centroid function.
Performance boosts and bugfix with averaging.
2014-03-31 16:00:55 +01:00
Lewis Lane
5e2e520e26 Added Phaser.Point.centroid function.
Added static Phaser.Point.centroid function to calculate the centroid or midpoint of an array of points.
2014-03-31 15:21:40 +01:00
photonstorm
3f8911d95f SoundManager.boot will check to see if the AudioContext was created before carrying on (thanks @keyle, fix #669) 2014-03-31 11:22:44 +01:00
photonstorm
4f5b329c07 Fixed Pixi UMD wrapper. 2014-03-31 11:06:15 +01:00
photonstorm
16853d0e82 Updated to Pixi 1.5.2 release. 2014-03-31 11:04:02 +01:00
photonstorm
686706173a Timers can now have a start delay value (thanks @georgiee, #660) 2014-03-31 10:49:53 +01:00
Richard Davey
d57cc9a9e0 Merge pull request #660 from georgiee/timer-start-delay2
Allow a timer to have a start delay
2014-03-31 10:46:30 +01:00