Commit graph

132 commits

Author SHA1 Message Date
photonstorm
dd695e066f More tilemap tweaks. 2013-10-14 19:37:52 +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
Richard Davey
e85643abf4 Yet more documentation done. 2013-10-02 20:18:24 +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
fa1ed04aa8 Build 2013-09-30 19:54:43 +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
891369b197 Preparing for 1.0.6 release, but moving physics changes to dev. 2013-09-24 15:28:29 +01:00
Richard Davey
b69b3db486 1.0.6a 2013-09-22 23:07:12 +01:00
TheJare
4b6147d3e3 Fix bug in StateManager where a state's update function might not get called if it has an empty preload function 2013-09-20 22:42:04 +01:00
Richard Davey
8c41b3253c 1.0.5 package 2013-09-20 14:00:49 +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
d9a49797c4 1.0.4 release 2013-09-18 06:34:56 +01:00
Richard Davey
17e208a95e 1.0.2 build 2013-09-16 01:53:53 +01:00
Richard Davey
f069107e55 1.0.1 release - fixes issues in tile map collision, additional Animation stop checks and updated package license. 2013-09-15 03:58:38 +01:00
Richard Davey
48161f5c24 1.0 release versions ready. 2013-09-13 17:52:01 +01:00
Richard Davey
62d77e7038 Small new demo and refactored collision list - now far less comparisons to perform! 2013-09-13 04:22:12 +01:00
Richard Davey
79dc3566f4 Fixed some issues in Tilemap collision, updated the Emitter so x/y controls the point of emission (to stop collision getting out of whack) and fixed the postUpdate in body. 2013-09-12 20:59:56 +01:00
Richard Davey
92e86494e3 Tilemap Collision in and working :) Needs testing against Groups now. 2013-09-12 15:39:52 +01:00
Richard Davey
9b6c819e0e Input Component done and new Button object done and included. Also finished the build script. 2013-09-09 00:30:44 +01:00
Richard Davey
1248a6c06e Whole codebase updated to TypeScript 0.9.1, phew! 2013-08-08 19:16:47 +01:00
Richard Davey
73745e5720 Fixed a few things in Tilemap and optimised the renderer a little bit. 2013-08-08 06:29:21 +01:00
Richard Davey
48f6d850c8 Fixed bug where a Tween with both yoyo and loop enabled would get out of sync. 2013-08-08 06:08:53 +01:00
Richard Davey
ab7e55ef27 Added ability for the TimeManager to monitor the pause duration. This is then applied to tweens and other game services, meaning the tweens now restart properly after a pause resumes. 2013-08-08 05:43:22 +01:00
Richard Davey
5768336150 Tidied up the Loader so it now starts automatically, added required Signals and removed the old-style callbacks. 2013-08-08 04:35:13 +01:00
Richard Davey
04dcb29c88 WorldView now takes camera placement into account, so Buttons now work across multiple camera set-ups. 2013-08-08 03:24:26 +01:00
Richard Davey
a174bbc6b3 Vastly optimised InputManager and Pointer is now aware of which camera it is over. 2013-08-08 03:05:59 +01:00
Richard Davey
bc77c3f84e Updated Renderer system, now much easier to expand and maintain. 2013-08-08 01:07:22 +01:00
Richard Davey
d7205992a5 Fixed some issues in dragging sprites with snap-to-center and world coordinates. 2013-08-07 00:00:12 +01:00
Richard Davey
77cc3858d9 Fixed the world drag issue across Sprite and Button. 2013-08-06 04:34:52 +01:00
Richard Davey
11954812c6 Clearing down the To Do list. 2013-08-06 03:14:48 +01:00
Richard Davey
d1da4cbdef Fixed Firefox audio issue with the Loader and added defined functions for anonymous callbacks 2013-08-05 03:43:20 +01:00
Richard Davey
f3dcd3e831 Plugin Support added and CameraFX re-enabled 2013-08-02 19:37:43 +01:00
Richard Davey
982faeedb8 Updating and fixing tests 2013-08-02 18:32:26 +01:00
Richard Davey
4c9c50584e Tidying up the physics libraries 2013-08-02 12:38:56 +01:00
Richard Davey
955909979d Preparing for 1.0 branch 2013-08-01 22:21:29 +01:00
Richard Davey
3038f6fcf8 Added optimised point in circle test to CircleUtils 2013-07-27 10:57:54 +01:00
Richard Davey
3c123293ba New CSS3 Filters component and Net class. 2013-07-19 04:57:14 +01:00
Richard Davey
9827e7522f Multiple fixes to remove the use of reserved words, making the YUI compressor work again. 2013-07-19 02:59:23 +01:00
Richard Davey
a2c756e37f Added ability for full Audio tag playback and iOS touch lock load support. 2013-07-16 23:32:47 +01:00
Richard Davey
72eb22128f SoundManager overhaul nearly finished. Proper Web Audio / Audio tag split, working across desktop and mobile. Includes iOS touch unlock restriction handling, auto decoding, global volume management, audio sprite support (for both web audio and audio tags) and playhead monitoring. 2013-07-16 14:45:08 +01:00
Richard Davey
b3fff37faf Added todo items to repo 2013-07-13 12:38:59 +01:00
Richard Davey
dcce99ec60 Added the new Button game object and various other input and tilemap fixes. 2013-07-12 03:28:46 +01:00
Richard Davey
c81cf0c882 Lots of Tilemap updates, moved the renderer out, added components and new tests. 2013-07-02 23:41:25 +01:00
Richard Davey
c647792c12 Physics updates 2013-06-26 14:18:48 +01:00
Richard Davey
d19ad4976d Merged Advanced Physics with core. 2013-06-26 05:44:56 +01:00
Richard Davey
0591c7f2bd Doing one final commit before the task of merging physics with core. 2013-06-25 15:35:45 +01:00
Richard Davey
ec845155eb After hours and hours of debugging, polygon to polygon collision is now working perfectly :) 2013-06-21 23:39:29 +01:00
Richard Davey
829a1b00e4 Brand new physics system finally (mostly) working. Some poly issues to resolve, but it's running well. 2013-06-18 19:37:09 +01:00