Commit Graph

400 Commits

Author SHA1 Message Date
photonstorm 0a0e775ea5 Removed temp. debug vars. 2014-01-09 17:12:24 +00:00
photonstorm 10d105d5ce Acceleration tested and working fine. Proper accurate friction added and working really nicely, so much better than 'drag' used to. Considering removing drag, although will break the API history. 2014-01-09 03:42:58 +00:00
photonstorm 754219a978 Fixed some documentation typos. 2014-01-09 01:23:23 +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
photonstorm 35e61172e1 Device.quirksMode is a boolean that informs you if the page is in strict (false) or quirks (true) mode.
Canvas.getOffset now runs a strict/quirks check and uses document.documentElement when calculating scrollTop and scrollLeft to avoid Chrome console warnings.
The Time class now has three new methods: addEvent, repeatEvent and loopEvent. See the new Timer examples to show how to use them.
2014-01-08 11:21:48 +00:00
photonstorm 67e2caafbc Added new Contributors guide. 2014-01-08 11:21:48 +00:00
photonstorm 428e331a11 Groups can now be added to other Groups as children via group.add() and group.addAt().
Groups now have an 'alive' property, which can be useful when iterating through child groups with functions like forEachAlive.
2014-01-06 01:39:23 +00:00
photonstorm aa3a86df6e Timer class overhaul. 2014-01-04 02:53:32 +00:00
photonstorm 7aa45b5872 Added BitDeli badge, also updating Timer class. 2014-01-03 12:43:58 +00:00
photonstorm c3183dcea9 Angular Physics re-implemented, most tests now working as expected. 2014-01-03 04:50:31 +00:00
Richard Davey f7329e0661 Further physics modifications 2014-01-03 02:24:06 +00:00
photonstorm 5526a7322b Warning: This version has a new ArcadePhysics handler in it. Don't upgrade if you need this for live game code, wait until we go to master. Otherwise, this commit contains lots of new physics demos and a new updateMotion and Body class to try and fix, once and for all, the physics issues with applied forces. 2014-01-02 23:28:22 +00:00
photonstorm 902ffee808 Loader.progressFloat contains the actual non-rounded progress value, where-as Loader.progress contains a rounded value. Use progressFloat if you've > 100 files to load. 2013-12-31 17:35:40 +00:00
photonstorm d1cd1df9a5 Lots of fixes and updates to the Button class, InputHandler for snap offsets, Sound looping and Stage scaling. 2013-12-31 17:03:09 +00:00
photonstorm 86f6ddcbc8 Two new particle examples and a group animation example. Also fixed CocoonJS sound issue and Cache sound locked bug. 2013-12-31 03:37:11 +00:00
photonstorm 3b87ce9fc9 Brand new Gamepad API support fully implemented (thanks to Karl Macklin), with examples to show use. 2013-12-31 01:45:30 +00: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 ba74bea4b4 New Group.destroy example and patched the desyrel font xml. 2013-12-30 21:36:50 +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
photonstorm fdbdd81b7b Updated some docs, added the new renderHidden parameter for Canvas and updated the RenderTexture examples as a result. 2013-12-27 00:26:21 +00:00
Richard Davey 2c8077835c Merge pull request #251 from cocoademon/physics_self_collide_fix
Don’t test self-collisions
2013-12-26 15:10:28 -08:00
Richard Davey 923a10ee81 Input no longer sets cursor to default if already set to none 2013-12-26 00:52:01 +00:00
photonstorm 167a498a5e Phaser.Game constructor can now be passed a single object containing game settings + Stage settings, useful for advanced configurations. 2013-12-24 03:18:55 +00:00
photonstorm 0acef49a7c RenderTexture now displays correctly in Canvas games.
Stage.display property added. A direct reference to the root Pixi Stage object (very useful for RenderTexture manipulation)
2013-12-23 04:20:09 +00:00
photonstorm bf72b4d3b0 Tilemap.createFromObjects can now turn a bunch of Tiled objects into Sprites in one single call, and copies across all properties as well. 2013-12-22 04:27:12 +00:00
photonstorm 63d90a0176 Sprites that are fixedToCamera can now be input dragged regardless of world position. 2013-12-22 03:46:08 +00:00
photonstorm 3cbb820349 You can now load any binary file via the Loader: game.load.binary(key, url, callback) - the optional callback allows for post-load processing before entering the Cache. 2013-12-20 18:27:36 +00:00
photonstorm 352749e803 Collision commands in and working. Updated sci-fly example. Multiple layers rendering. Mixed tile size on one layer rendering, but collision is grid bound. 2013-12-19 05:09:49 +00:00
photonstorm 4c7a4ebf62 Tiled map loader now working much better, rendering, layering properly. 2013-12-19 03:49:28 +00:00
photonstorm 5cf7ed4fdb More TypeScript updates. 2013-12-18 16:56:14 +00:00
photonstorm f991f9cee8 Tweens have a new event: onLoop.
Tweens - Example showing how to use the tween events, onStart, onLoop and onComplete.
Lots of documentation fixes in the Tween class.
Tweens fire an onLoop event if they are set to repeat. onComplete is now only fired for the final repeat (or never if the repeat is infinite)
Tween.onStart is now called when the tween starts AFTER the delay value, if given (thanks stevenbouma)
2013-12-18 13:02:01 +00:00
photonstorm b2c680811b New unified Tiled loader. 2013-12-18 13:02:01 +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
photonstorm dd7ae12271 ArcadePhysics.overlap and collide now recognise TileSprites in the collision checks. 2013-12-17 16:48:03 +00:00
Richard Davey a0961f27df Merge pull request #266 from cocoademon/physics_instability_fix
Physics instability fix. I'm merging this in so I can test it against the updates here.
2013-12-17 04:36:38 -08:00
photonstorm 896e9af9f5 TilemapLayers now render tiles correctly, with our without debugging overlay. Collision working well across single and index ranges. 2013-12-17 05:07:00 +00:00
Cameron Foale b8dbb5d125 Take dt into account for gravity calculations 2013-12-17 14:38:44 +11:00
Cameron Foale 388e42c80a Remove invalid multiply by 60 in Phaser.ArcadePhysics.updateMotion 2013-12-17 13:45:15 +11:00
photonstorm 7917eac255 Added Matching Pairs game and updated fixed to camera example. 2013-12-16 15:16:44 +00:00
photonstorm a361a18616 Updated IE11 check, forces IE11 to use Canvas renderer even in AUTO mode. 2013-12-13 14:04:14 +00:00
Richard Davey 1b954066a6 Merge pull request #247 from cocoademon/trim_fix
Switch method of using trimmed sprites to support scaling and rotation
2013-12-11 16:52:01 -08:00
photonstorm da5d8c9272 Updated p2.js to latest build. 2013-12-11 03:20:33 +00:00
Cameron Foale 56389fcaf4 Fix riding on platforms 2013-12-11 10:25:57 +11:00
photonstorm 669570c701 Tidying up the examples and more Tilemap work. 2013-12-10 12:23:42 +00:00
photonstorm af5847e8e4 Tilemap and game core loop updates. 2013-12-09 16:40:48 +00:00
Richard Davey 2071fc22fc Merge pull request #253 from jcd-as/dev
fix Pixi bug (#425) - fix incorrect width property for multi-line Bitmap...
2013-12-09 02:01:24 -08:00
Cameron Foale 3e1207e1a3 Split world update into preUpdate and update.
This allows moving the state.update() call to before world.update(),
meaning results of collisions checked in the state are available to
objects in their own update().
2013-12-09 15:46:02 +11:00
Josh Shepard (jcs) 8ade29d982 fix Pixi bug (#425) - fix incorrect width property for multi-line BitmapText
(Pixi has already merged the fix)
2013-12-08 09:50:21 -08:00