Commit Graph

281 Commits

Author SHA1 Message Date
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
Richard Davey 4ada28ba81 Merge pull request #267 from cocoademon/framerate_example
Add an example to show framerate independence in physics calculations
2013-12-17 17:15:33 -08:00
Cameron Foale 55d69e16b6 Add an example to show framerate independence in physics calculations 2013-12-18 11:58:11 +11: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
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
photonstorm 7917eac255 Added Matching Pairs game and updated fixed to camera example. 2013-12-16 15:16:44 +00:00
Richard Davey 39cae4cc09 Sphere snake wip demo 2013-12-14 02:22:14 +00:00
photonstorm 03ae324d26 New user submitted examples 2013-12-13 23:56:39 +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
photonstorm da5d8c9272 Updated p2.js to latest build. 2013-12-11 03:20:33 +00:00
photonstorm 669570c701 Tidying up the examples and more Tilemap work. 2013-12-10 12:23:42 +00:00
photonstorm 74e0cfb13a Added Tutorial 2. 2013-12-07 02:05:07 +00:00
photonstorm 13a03f3620 TypeScript file updated, now compiles without error in VS and FlashDevelop. 2013-12-06 13:48:40 +00:00
photonstorm 886618c056 Tilemap collision fixed, regardless of rotation, number of overlapping tiles and speed (to a point anyway). Maps also don't crash if they are smaller than the render area. Layers can be positioned successfully anywhere in camera but collision isn't yet offset for this. 2013-12-06 04:34:27 +00:00
photonstorm ca3c71e8f5 Added max overlap clamp. 2013-12-06 02:44:06 +00:00
photonstorm 8e289e6b7c Mostly working, just need to apply a max overlap to avoid tunneling, although a ray would be better. 2013-12-06 02:34:28 +00:00
photonstorm 1f513a333e Fixed an issue where passing null as the Group parent wouldn't set it to game.world as it should have (thanks tito100).
Continued work on the tilemap collision - again, please don't use this version if you need working tilemaps.
2013-12-06 01:07:25 +00:00
photonstorm ea3802a556 Lots of new tilemap code in here. If your game relies on tilemaps then please don't update to this commit unless you want to help debugging! 2013-12-05 18:12:16 +00:00
John 2e11801f9f Added a fix for fullscreen scaling in firefox. 2013-12-05 07:15:50 +00:00
John b978a2b73b Introduced a separate stage.fullScreenScaleMode property that is used to decide scaling when fullscreen. 2013-12-05 01:00:36 +00:00
photonstorm c5c754725a * When a Sprite is destroyed any active filters are removed as well.
* Updated Pixi.js so that removing filters now works correctly without breaking the display list.
2013-12-04 22:39:53 +00:00
photonstorm 666df67453 Tidying up the wip folder and updating pixi. 2013-12-03 20:50:34 +00:00
photonstorm 42c0bed502 Fixed World.scale and Group.scale. 2013-12-03 02:13:57 +00:00
photonstorm 3bfea2101a Start of the Dragonfire game sample 2013-12-01 20:59:52 +00:00
photonstorm 0256117307 Preparing dev branch for 1.1.4 2013-11-29 19:40:28 +00:00
photonstorm d9ffd6afd4 Final version of the Getting Started guide. 2013-11-29 18:28:55 +00:00
photonstorm 00a9897ae2 Updated Filter resolution to a 2f and added Blur and Marble filters. 2013-11-29 12:26:53 +00:00
Richard Davey 378ffc7ade Caustics filter 2013-11-29 10:39:52 +00:00
photonstorm b2fc6c422a Fixed filters for new shader code. 2013-11-28 21:29:16 +00:00
photonstorm f22159e257 Updated documentation. 2013-11-28 15:57:09 +00:00
photonstorm 8da9b67c18 Loader fixed for tilemap data. 2013-11-28 14:22:47 +00:00
photonstorm 780b8a5d6d New filters and demos: LightBeams, Fire and Tunnel. Also Loader can now load script files. 2013-11-28 05:43:35 +00:00
photonstorm a9a46bfbbf Lots of documentation updates and new Loader examples. 2013-11-27 16:33:49 +00:00
photonstorm 4926fac578 New non-conflicting Loading system in place. Creating tests. 2013-11-26 21:10:01 +00:00
photonstorm 2fc5c89c1e Preparing to extend the Loader to handle script loading. 2013-11-26 17:14:21 +00:00
photonstorm 06a17b4b26 Fixed an issue in Text. Fixed the background color issue with Canvas games. Updated the Examples viewer so the side-by-side focuses the iframe now. Added new "Extend Group" example. 2013-11-25 13:12:03 +00:00
photonstorm d30e2974c4 Updated JSHint configuration, README and started working through source files against JSHint. 2013-11-24 12:51:20 +00:00
photonstorm 155c863d69 New Timer class and scale event updates. 2013-11-24 11:04:58 +00:00
photonstorm 7d7aa795e7 New Fire filter. 2013-11-21 12:34:41 +00:00
photonstorm b286093093 Opps forgot to fix a rogue filter which caused the lib to crash. 2013-11-21 05:31:23 +00:00
photonstorm 496639ff25 Added Phaser.Filter and started moving the shaders over into their own filter classes, so they won't all get bundled in unless needed. 2013-11-21 05:00:07 +00:00
photonstorm 577e3f8506 Heroku shader conversion :) 2013-11-20 06:31:49 +00:00
photonstorm 93fcb7acbf Loads more shaders and some fixes and enhancements to PixiShader 2013-11-20 04:04:48 +00:00
photonstorm e620c99479 ShaderToy convertor up and working, lots of shaders being turned into Pixi filters :) 2013-11-20 02:28:28 +00:00
photonstorm 6ed6820429 Grid Gunner: Book demo game 2013-11-19 05:34:08 +00:00
Richard Davey e43571980d Book files 2013-11-19 00:25:55 +00:00
photonstorm b63bd14172 ScaleMode fix, BitmapData change and Device updates. 2013-11-18 20:27:40 +00:00
photonstorm a5f2d65d23 Fixing a few more Pixi issues. 2013-11-17 12:31:57 +00:00