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
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
49a6ba2c02
Updated Group to fix some issues with not checking children
2013-09-15 00:14:45 +01:00
Richard Davey
ad0d32b7aa
Formatting updates.
2013-09-13 16:42:33 +01:00
Richard Davey
505e808318
Updated README.
2013-09-13 16:34:11 +01:00
Richard Davey
f664a4971b
Tidying up for 1.0 release push to master.
2013-09-13 16:16:48 +01:00
Richard Davey
09def364c3
Farewell TypeScript, see you on the other side.
2013-08-28 07:02:57 +01:00
Richard Davey
ecf61fc80c
Updated Game.switchState to accept state objects and fixed the OrientationScreen.
2013-08-25 09:59:23 +01:00
Richard Davey
619b8415ed
Reverting back to the only version of TypeScript that really works :(
2013-08-13 04:22:24 +01:00
Richard Davey
0b1bcaf270
Set the default camera to direct itself to the Stage.
2013-08-09 18:44:45 +01:00
Richard Davey
8b2f1cca51
Various small fixes
2013-08-09 17:02:47 +01:00
Richard Davey
9bf7d070f5
Added in the JS source files for doc generation and the definitions to csproj XML script.
2013-08-09 03:12:33 +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
a7873a3b74
Removed the FX project as it's no longer needed and tidied up the build folder.
2013-08-06 03:43:53 +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
982faeedb8
Updating and fixing tests
2013-08-02 18:32:26 +01:00
Richard Davey
955909979d
Preparing for 1.0 branch
2013-08-01 22:21:29 +01:00
Richard Davey
4f2c26df77
Fixed issue with Pointer speed not resetting and moved some more render methods to the Debug class.
2013-07-29 00:43:10 +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
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
d0e886259d
Getting ready to overhaul the sound manager.
2013-07-15 21:45:26 +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
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
0a7513240a
Refactor completed. Now to tie the physics and sprites together.
2013-06-14 18:54:12 +01:00
Richard Davey
038cb213e8
Starting merge of the Advanced Physics classes and splitting off Flixel physics into ArcadePhysics.
2013-06-13 17:15:16 +01:00
Richard Davey
7dac2b6506
Added Group.bringToTop and updated Input component to use sprite getXY handler.
2013-06-13 01:55:32 +01:00
Richard Davey
2389c6c231
Added ability to detect if a given point is within a sprite or not, taking rotation and scaling into account.
2013-06-12 19:53:48 +01:00
Richard Davey
c5f6817c4c
Working sprite bounds / vertices regardless of scale or rotation
2013-06-11 21:30:15 +01:00
Richard Davey
a30762ed8c
Fixed world drag support and other input modifications.
2013-06-07 07:35:28 +01:00
Richard Davey
730594835a
New Texture and Transform components which are now used by Sprite, Group and Camera.
2013-06-06 02:47:08 +01:00
Richard Davey
2f03f5fc43
Updated Loader component and fixed a few Pointer issues.
2013-06-05 02:58:16 +01:00
Richard Davey
d42f396ba0
Lots of tweaks and fixes to the orientation and fullscreen classes
2013-06-05 01:49:08 +01:00
Richard Davey
82d4ba4538
Re-done the pointer handler so it respects the top-most rendered sprite in priority to anything below it, for both mouse over and click events.
2013-06-03 12:03:34 +01:00
Richard Davey
1c37cd1a96
Created DebugUtils class and started moving renderInfo methods to it.
2013-06-03 03:08:24 +01:00