Commit graph

258 commits

Author SHA1 Message Date
photonstorm
b63bd14172 ScaleMode fix, BitmapData change and Device updates. 2013-11-18 20:27:40 +00:00
photonstorm
7ad4164e3a Expanding BitmapData 2013-11-17 04:33:16 +00:00
photonstorm
38bd00b4ed ArcadePhysics.separateTile wasn't returning the value, so the custom process callback wasn't getting called (thanks flameiguana) 2013-11-16 13:47:12 +00:00
photonstorm
83cacb93a0 More updates to BitmapData. 2013-11-15 20:40:55 +00:00
Richard Davey
ebe441666c BitmapData object added 2013-11-13 20:57:09 +00:00
Richard Davey
6a24d6116b Lots of renderTexture updates and examples added 2013-11-13 06:49:24 +00:00
photonstorm
46cf024a35 filter test updates 2013-11-09 02:16:52 +00:00
photonstorm
3f99b691c9 Added in a Group.sort demo, also updated the documentation and build files. 2013-11-07 06:10:15 +00:00
photonstorm
42cd8bd812 Added Group.sort, can sort the Group based on any given numeric property (x, y, health), finally you can do depth-sorting :) 2013-11-07 04:31:37 +00:00
photonstorm
dfb22f1044 Tracked down an evil bug in Group.swap that caused the linked list to get corrupted in an upward (B to A) neighbour swap. 2013-11-06 16:46:21 +00:00
photonstorm
8b793cd8d7 Updated to latest version of Pixi.js. Lovely new WebGL filters now working happily :) 2013-11-06 04:51:23 +00:00
photonstorm
94d9fa6e77 Tidying up some docs. 2013-11-05 21:44:39 +00:00
photonstorm
1eca16a948 ArcadePhysics.updateMotion applies the dt to the velocity calculations as well as position now (thanks jcs) 2013-11-05 16:14:24 +00:00
photonstorm
2e576fa9a7 Input Handler updates, orientation screen and World visibility 2013-11-04 20:44:32 +00:00
photonstorm
19ddad8095 Mouse handler updates. 2013-11-04 20:44:32 +00:00
Richard Davey
c1d60d7e19 getAnimation and RAF callback ID checks added 2013-11-04 00:04:19 +00:00
photonstorm
cc42a71c66 Preparing 1.1.3 dev branch 2013-11-01 19:05:47 +00:00
photonstorm
3e9777e6f4 Updated docs for 1.1.2 release. 2013-11-01 18:16:52 +00:00
photonstorm
160a321a36 Updated invaders demo. 2013-11-01 17:37:32 +00:00
photonstorm
685054eac5 Group.callAll now supports nested functions and a context, making it really powerful! 2013-11-01 17:29:57 +00:00
photonstorm
581d637663 Added Group.cursor. This points to the first item added to a Group. You can move the cursor with Group.next() and Group.previous(). 2013-11-01 02:50:00 +00:00
photonstorm
3c164b466c * Updated: event.preventDefault() has been added to all Mouse event handlers.
* Updated: Sprite.deltaX/Y removed due to non-use. prevX/Y values moved to Sprite._cache.prevX/Y.
* Updated: Due to missing extends parameter the Sprite prototype was picking up functions from classes it never meant to (Button, TilemapLayer), now fully isolated.
2013-11-01 02:07:21 +00:00
photonstorm
01eab3aeb1 Fixed issue 141 - If a Sprite is dragged and you release the Pointer while not over the Sprite, it will think it's still over it (thanks Paratron) 2013-10-31 16:27:10 +00:00
photonstorm
6f93a2ec94 Multiple Anims update, Tilemap fixes and some new examples. 2013-10-31 15:45:19 +00:00
photonstorm
712858cf75 More work on the Invaders game. 2013-10-31 05:31:54 +00:00
photonstorm
ddf15979d0 Fixing up Invaders and Star Struck. Also removing lots of un-used css jsdoc themes. 2013-10-31 01:45:16 +00:00
photonstorm
24c809dd5f Final body / physics / bounds fixes. Also updated various examples, optimised Sprite core loop and enhanced the Invaders example. 2013-10-30 03:46:52 +00:00
photonstorm
3de62907a0 Nearly fixed the tilemap / body issue. More tests needed but then can push to master. 2013-10-29 04:07:26 +00:00
photonstorm
7ceb11ae49 New: You'll now find a complete Basic project Template in the resources/Project Templates folder. Will add more complex ones soon. 2013-10-28 23:29:34 +00:00
photonstorm
a814cc26cc * Fixed issue 135 - Added typeof checks into most ArcadePhysics functions to avoid errors with zero values.
* Fixed issue 136 - distanceTo using worldX/Y instead of x/y.
2013-10-28 10:17:36 +00:00
photonstorm
ea651113df Preparing for 1.1.2 release. 2013-10-28 00:16:20 +00:00
photonstorm
9261160571 1.1.1 release with fix for Phaser.AUTO and a new text example. 2013-10-26 19:14:13 +01:00
photonstorm
2787ed188e Preparing for 1.1.2 release 2013-10-26 12:17:22 +01:00
photonstorm
bd5bca14fe Small url update. 2013-10-25 18:38:01 +01:00
photonstorm
34736fbde5 Final 1.1 release. Here goes nothing :) 2013-10-25 18:35:49 +01:00
photonstorm
65d2bf557b Updated docs and more tidying up. 2013-10-25 17:30:37 +01:00
photonstorm
2659ed7a4a Updated readme. 2013-10-25 06:01:36 +01:00
photonstorm
2921a6de2e Pixel Perfect click detection now works even if the Sprite is part of a texture atlas. 2013-10-25 05:40:46 +01:00
photonstorm
1f28d328a7 Commit before refactoring Sprite guts. 2013-10-24 21:21:00 +01:00
photonstorm
a6fac64248 Loads of issues reported on Github resolved (sprite crop, music resume, etc). 2013-10-24 04:27:28 +01:00
photonstorm
7e5f38d022 Phaser.Time physicsElapsed delta timer clamp added. Stops rogue iOS / slow mobile timer errors causing crazy high deltas. 2013-10-23 17:11:06 +01:00
photonstorm
4a51ac4671 Updated README and sorting out folder case issue. 2013-10-23 13:30:23 +01:00
photonstorm
f1f42e4d41 New Examples area finished, README updated. Getting closer to 1.1 release. 2013-10-23 04:15:44 +01:00
photonstorm
77fd15bf3c Preparing new static examples viewer. 2013-10-22 14:59:43 +01:00
photonstorm
8ed783802e New examples page 2013-10-18 15:12:32 +01:00
photonstorm
7e8b79adf4 Tilemap painting example and other smaller updates. 2013-10-17 21:10:00 +01:00
photonstorm
275fa4641e Added Text.destroy and BitmapText.destroy. 2013-10-17 15:40:44 +01:00
photonstorm
a97f271de7 Fixed Animation index 0 issue and hooked TilemapLayer to camera. 2013-10-16 02:09:12 +01:00
photonstorm
c6bf67c392 Group.alpha exposed and instance returns added to Loader functions. 2013-10-13 20:28:06 +01:00
photonstorm
e98aa205ea Sprite.destroy is back in business. 2013-10-13 01:29:57 +01:00
photonstorm
574f4f351b Github Issue #101 fixed. Plus more Tilemap updates. 2013-10-11 20:02:12 +01:00
photonstorm
b868c2cb1b Started revamp of the Tilemap system. Also removed old 'Advanced Physics' and dropped in p2.js which is what I hope we'll eventually use. 2013-10-11 04:42:11 +01:00
photonstorm
a7230aa769 Sprite.loadTexture added. 2013-10-10 09:03:38 +01:00
photonstorm
f10f9324ad Animation.killOnComplete added and fixed a few issues in the Tanks game. 2013-10-09 13:36:57 +01:00
photonstorm
29acf7fb4b Enemy tanks, now firing. 2013-10-09 07:11:36 +01:00
photonstorm
ca9321ef42 Updated physics body to use localTransform. Updated tanks demo. 2013-10-09 05:13:38 +01:00
photonstorm
83a00862be Lots of new examples and updates. 2013-10-09 04:31:08 +01:00
Richard Davey
1c577d3674 Fixed RandomDataGenerator.sow 2013-10-08 22:55:27 +01:00
photonstorm
f5584bdfe5 Lots of fixes and updates to ArcadePhysics and Group, plus more examples. 2013-10-08 21:09:46 +01:00
photonstorm
ebc4e5dc3d New examples HTML page added. 2013-10-08 12:52:20 +01:00
photonstorm
c307f79102 Added Sprite.fixedToCamera, fixed Angular Velocity and Acceleration, fixed jittery Camera, added skipQuadTree flag and created lots more examples. 2013-10-08 00:58:20 +01:00
photonstorm
1bc6ac25fa Preparing to merge new examples. 2013-10-07 22:15:28 +01:00
Richard Davey
664c512a99 Fixed small typo. 2013-10-06 16:27:39 +01:00
Richard Davey
47e1b1b54b Sprite optimisations. 2013-10-04 19:00:55 +01:00
Richard Davey
c00bf96603 World and Camera updates nearly complete. 2013-10-04 16:51:24 +01:00
Richard Davey
e8bed83ac3 Making some major changes to Camera and World. 2013-10-04 14:41:15 +01:00
Richard Davey
54f073e5cb Testing some new Camera tricks. 2013-10-03 23:20:24 +01:00
Richard Davey
96da57cac0 Fixed up the namespace in the documentation and finished off all sections other than Game Objects and Physics (yuck). 2013-10-03 02:38:35 +01:00
Richard Davey
e85643abf4 Yet more documentation done. 2013-10-02 20:18:24 +01:00
Richard Davey
6ce6330f50 More docs. 2013-10-02 11:22:48 +01:00
Richard Davey
9b4b267e7a Working through building the docs. 2013-10-01 16:15:45 +01:00
Richard Davey
fa15f8015d Fixed bug in LinkedList#remove that could cause first to point to a dead node 2013-10-01 11:28:57 +01:00
Richard Davey
480d90b009 * Removed the callbackContext parameter from Group.callAll because it's no longer needed.
* Updated Group.forEach, forEachAlive and forEachDead so you can now pass as many parameters as you want, which will all be given to the callback after the child.
* Updated build script so it can be run from the command-line and includes UMD wrappers (thanks iaincarsberg)
2013-10-01 02:19:08 +01:00
Richard Davey
8668b82ef6 * Fixed issue causing Keyboard.justPressed to always fire (thanks stemkoski)
* Added Keyboard.addKey() which creates a new Phaser.Key object that can be polled for updates, pressed states, etc. See the 2 new examples showing use.
2013-10-01 01:18:29 +01:00
Richard Davey
16b1913de1 * Fixed issue in Sound.play where if you gave a missing marker it would play the whole sound sprite instead.
* Button.setFrames will set the current frame based on the button state immediately.
* InputHandler now creates the _pointerData array on creation and populates with one empty set of values, so pointerOver etc all work before a start call.
* Added Canvas.setUserSelect() to disable touchCallouts and user selections within the canvas.
* When the game boots it will now by default disable user-select and touch action events on the game canvas.
* Loaded.setPreloadSprite now rounds the width/height values and starts from 1. This fixes canvas draw errors in IE9/10 and Firefox.
2013-09-30 17:12:22 +01:00
Richard Davey
8d17e1f963 Sound duration fixes. 2013-09-30 12:17:21 +01:00
Richard Davey
e846f3cbac Fix for incorrect new particle positioning (issue #73) 2013-09-30 12:17:21 +01:00
Richard Davey
31bbf05ace * Fixed small bug stopping Tween.pause / resume from resuming correctly when called directly.
* Fixed an issue where Tweens.removeAll wasn't clearing tweens in the addition queue.
* Change: When you swap State all active tweens are now purged.
2013-09-30 11:15:50 +01:00
Richard Davey
497d15b5bc Sprite.play 2013-09-27 13:47:22 +01:00
Richard Davey
18c695e9dd PixiPatch and other 1.0.7 features 2013-09-27 09:57:08 +01:00
Richard Davey
6353d8c7ab Fixed some eases. 2013-09-26 15:22:49 +01:00
Richard Davey
891369b197 Preparing for 1.0.6 release, but moving physics changes to dev. 2013-09-24 15:28:29 +01:00
Richard Davey
51049128f5 Collision fixes for testing 2013-09-23 22:23:17 +01:00
Richard Davey
257cbe3be8 Much more stable collision, just need to refactor the Tilemap handling - see if I can optimise it a bit too. 2013-09-23 03:26:08 +01:00
Richard Davey
093bf8343d Graphics fixes and other changes 2013-09-22 22:55:34 +01:00
Richard Davey
d1ea96fd83 Input updates 2013-09-21 13:07:06 +01:00
Richard Davey
a415e779d1 Final 1.0.5 release. 2013-09-20 13:55:33 +01:00
Richard Davey
9e88da5c66 Multiple animation fixes in place. 2013-09-19 23:47:50 +01:00
Richard Davey
3f1cafe21f Put the famous idnetityMatrix typo back in so it doesn't break Pixi 2013-09-19 13:33:51 +01:00
Richard Davey
c5fc5e3394 Fixed various issues in the TweenManager, added length property to Group and improved the build script. 2013-09-19 04:45:08 +01:00
Richard Davey
cf26f68693 Added Math.numberArray 2013-09-18 14:08:26 +01:00
Richard Davey
47834ad478 Fixed issue in FrameData.getFrameIndexes where the input array was being ignored. 2013-09-18 14:02:31 +01:00
Richard Davey
d9a49797c4 1.0.4 release 2013-09-18 06:34:56 +01:00
Richard Davey
a102859622 Added some links to the readme. 2013-09-17 16:59:04 +01:00
Richard Davey
a899d24d4c Small readme update 2013-09-17 16:54:46 +01:00
Richard Davey
3c5ea01e09 1.0.3 release - fixed Text and Bitmap Fonts, Animation documentation and more examples 2013-09-17 16:50:47 +01:00
Richard Davey
17e208a95e 1.0.2 build 2013-09-16 01:53:53 +01:00
Richard Davey
e3869ff3ac * Fixed a bug in the AnimationManager where useNumericIndex was always set to true
* Added in lots of Particle examples
* Added in the start of a Breakout game
* Added in the start of a Platformer game
2013-09-16 01:52:15 +01:00
Richard Davey
e705509d29 Added lots of particles examples. 2013-09-16 01:08:06 +01:00
Richard Davey
8c9a7c8bc7 Adding more examples in. 2013-09-15 20:45:00 +01:00