Commit graph

532 commits

Author SHA1 Message Date
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
c2533d1146 Finally a fully working bounding box that respects scale and rotation - the "in camera" check is now 100% accurate :) 2013-06-11 23:30:35 +01:00
Richard Davey
c5f6817c4c Working sprite bounds / vertices regardless of scale or rotation 2013-06-11 21:30:15 +01:00
Richard Davey
1f8c809f53 cameraView working for center rotated sprites, just need to handle any point of rotation. 2013-06-07 19:18:39 +01:00
Richard Davey
3b9386727e Small refactoring and massively optimised the canvas renderer, also added new Mat3 class. 2013-06-07 16:27:33 +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
Richard Davey
2de70d07a5 Fixed issue in Camera.inCamera check where it wouldn't take into consideration the Sprites scrollFactor. 2013-06-03 02:38:08 +01:00
Richard Davey
b951b02de8 Input priority IDs working properly for drag events. 2013-06-03 01:22:14 +01:00
Richard Davey
2270da2479 Fixed drag sprite + offsets and center locking 2013-06-02 21:41:00 +01:00
Richard Davey
f9f17ad353 Multi point input handler working 2013-06-02 14:19:12 +01:00
Richard Davey
49fe5ee65f Added Group IDs and references to Sprites, Group sorting, z-index values and child swapping. Also added all of the drag and bounds methods to Input. 2013-06-02 03:47:54 +01:00
Richard Davey
5b532ab2e4 Sprite.Input component added and working nicely. 2013-06-01 02:49:41 +01:00
Richard Davey
b20a6ff85a Working my way through putting all the Tests back in and fixing issues as I go. 2013-06-01 01:30:36 +01:00
Richard Davey
31c4d8cb14 Adding in missing tests and fixing as we go 2013-05-31 19:28:16 +01:00
Richard Davey
d510b785b1 Putting everything back together again :) 2013-05-31 18:21:32 +01:00
Richard Davey
fe372af453 Commit before tidying up redundant files 2013-05-31 15:13:03 +01:00
Richard Davey
23ec3816db Added circleToRect intersection check. 2013-05-31 05:28:36 +01:00
Richard Davey
39e7b84cd9 Flixel level separation merged with the new Physics shapes. 2013-05-31 04:20:49 +01:00
Richard Davey
3e53c0671d About to start re-doing collideShapes 2013-05-30 23:03:56 +01:00
Richard Davey
498725c078 Moved the collision out into separateX and separateY 2013-05-30 13:25:48 +01:00
Richard Davey
ce1523585f ScrollZone back in under the new renderer with new demos 2013-05-30 05:34:35 +01:00
Richard Davey
f2054f8a2a Physics shape offset now finally working 2013-05-30 03:54:51 +01:00
Richard Davey
0fad46e04b Merged updateMotion with new PhysicsManager 2013-05-30 01:09:27 +01:00
Richard Davey
c1eafe865a First pass at integrating the new physics system. 2013-05-29 21:39:08 +01:00
Richard Davey
f3c9049e76 Camera updates, scrollFix check and some new pictures and tests. 2013-05-29 17:31:57 +01:00
Richard Davey
7b4374cabf Added loop and yoyo properties to Tweens 2013-05-29 15:45:34 +01:00
Richard Davey
b1d836dfaf Scale tweaks 2013-05-29 12:24:25 +01:00
Richard Davey
2a26257caa Fixed scale, flippedX/Y and rotation so they all work from a single setTransform in any combination, taking the origin into account. Phew! 2013-05-29 11:40:05 +01:00
Richard Davey
09f57fa346 Preparing new tests 2013-05-29 02:58:56 +01:00
Richard Davey
3c0c349089 More refactoring for 1.0.0 2013-05-28 21:38:37 +01:00
Richard Davey
03b7467018 Tidying up before putting back together again 2013-05-28 09:37:32 +01:00
Richard Davey
4cef0d1d35 Tidying up 2013-05-25 11:17:11 +01:00
Richard Davey
204ec46b2b Refactoring ready for 1.0 release. 2013-05-25 04:21:24 +01:00
Richard Davey
94add2ea6e Updated Loader so it no longer checks if the animation data is valid, passes that control to the AnimationLoader. Also fixed camera bounds check in Sprite. 2013-05-23 15:45:04 +01:00
Richard Davey
c7485301ca Added Starling/Sparrow XML Texture Atlas format support. 2013-05-23 03:08:57 +01:00
Richard Davey
bd54460e80 Added the GameObjectManager 2013-05-23 00:01:58 +01:00
Richard Davey
e2141c91a6 Added VerletManager and lots of new tests 2013-05-21 04:12:54 +01:00
Richard Davey
0b2d818ba8 CollisionMask up and running 2013-05-20 06:21:12 +01:00
Richard Davey
05cc32fbc9 Added final logo and start of CollisionMask 2013-05-19 14:01:11 +01:00
Richard Davey
53aa43566e Updated DynamicTexture.setPixel, added GameMath.shuffleArray, fixed Animation.frame and created a few new tests 2013-05-18 03:05:28 +01:00
Richard Davey
55568592b5 Lots of updates across input, rendering and grouping 2013-05-17 06:49:43 +01:00
Richard Davey
a6e8436e6d Massive input overhaul continued 2013-05-16 21:34:24 +01:00
Richard Davey
3cdd2baff0 New Input handler implemented. 2013-05-16 02:36:58 +01:00
Richard Davey
ce7bfd1fc2 Added FullScreen API support and fixed numerous StageScaleMode issues. 2013-05-14 03:37:38 +01:00
Richard Davey
aaaaf7ede3 Preparing for doc merge 2013-05-10 16:31:19 +01:00
Richard Davey
be982b4322 Updated readme and new minified build 2013-05-02 14:03:41 +01:00
Richard Davey
54a5e6477c Lots of new tile map commands and tests. 2013-05-02 05:01:34 +01:00
Richard Davey
2a5b6ef12a Large Tilemap collision overhaul. Proper callback support, optimised collision checks and lots more. 2013-05-02 03:37:45 +01:00
Richard Davey
e62b300a25 Added Camera Mirror FX and test case. 2013-05-02 01:02:06 +01:00
Richard Davey
7d98a1bb9d New FXManager system and Camera FX now in place. 2013-05-01 04:10:21 +01:00
Richard Davey
c5cccf3283 Large refactoring of the pause and boot screens in Stage and various other small fixes 2013-04-29 02:41:19 +01:00
Richard Davey
9f23c378a1 0.9.4 release 2013-04-28 22:10:12 +01:00
Richard Davey
cb9cb6e894 Github Bug Fixes 2013-04-28 22:04:37 +01:00
Richard Davey
e948f1e3be Fixed daft issue in Camera and fully implemented tilemap collision. 2013-04-28 22:04:36 +01:00
Richard Davey
4c21ac0d87 Tilemap collision is now working but all Camera following seems to be broken as a result. Awesome. 2013-04-28 22:04:36 +01:00
Richard Davey
b2e1434f5e Tilemap collision working but needs speeding up 2013-04-25 20:05:56 +01:00
Richard Davey
53d8e4da2e Fixed Game.boot syntax error. 2013-04-24 09:37:29 +01:00
Richard Davey
3898faf17e New v0.9.3 release - see the changelog in the README for full details. 2013-04-24 02:48:03 +01:00
Richard Davey
1b6fbc1324 Fixed Game.boot issue and Animation issue reported in github. 2013-04-24 00:47:11 +01:00
Richard Davey
268470ef62 Added blaster example to the Test Suite and fixed a rotation bug in the particle emitter. 2013-04-24 00:18:07 +01:00
Richard Davey
6466361f5f Great new thrust ship example added for ScrollZones. Also added rotationOffset value to GameObject base class. 2013-04-23 21:27:45 +01:00
Richard Davey
00fb20f8c2 And ScrollRegions work too :) 2013-04-23 19:24:16 +01:00
Richard Davey
332f715943 Finally fixed a really annoying bug in ScrollZone and it now works perfectly across the board. 2013-04-23 15:15:34 +01:00
Richard Davey
f2678104fa Saving first iteration of the ScrollZone game object. 2013-04-22 01:53:24 +01:00
Richard Davey
2638e598dc Added Stage.disablePauseScreen 2013-04-20 03:50:21 +01:00
Richard Davey
361b8e5779 Version 0.9.2 update. See the change log for full details. 2013-04-20 03:40:17 +01:00
Richard Davey
364492d786 Added grunt file and npm package for OSX debs 2013-04-20 01:24:38 +01:00
Richard Davey
87e0c483bb Version 0.9.1 release - see the release notes for more details. 2013-04-19 18:53:21 +01:00
Richard Davey
e869591410 Added minifed build. 2013-04-18 16:52:20 +01:00
Richard Davey
a90606a28a Complete 0.9 release 2013-04-18 16:49:08 +01:00
Richard Davey
64d57b8e05 Refactoring of the codebase finished. All classes updated. Ready for final push to 1.0 release. 2013-04-18 15:48:06 +01:00
Richard Davey
6bb4c5e3fc Preparing for new release 2013-04-18 14:16:18 +01:00
Richard Davey
25a59b97b4 V0.8 - added DynamicTexture support and 2 examples, plus animation frame names and removed a few bugs. 2013-04-15 22:13:11 +01:00
Richard Davey
ebf83609ae Version 0.7 release. StageScaleMode support added and world input values exposed. 2013-04-14 02:31:00 +01:00
Richard Davey
0541e93db4 Updated so it no longer always tries to run in fullscreen unless you tell it to. 2013-04-13 20:17:51 +01:00
Richard Davey
5f130324c9 Tidying up and adding gitignore for OS X 2013-04-13 13:28:35 +01:00