Commit graph

3151 commits

Author SHA1 Message Date
Sean
d620fc7796 Camera tests, some of them not finished because of bugs. 2013-07-13 22:47:32 +08:00
Richard Davey
b3fff37faf Added todo items to repo 2013-07-13 12:38:59 +01:00
Sean
08fb303801 Merge remote-tracking branch 'photonstorm/097' into 097 2013-07-13 08:43:28 +08:00
Sean
945c9c1a0d Add assets and code template of camera fx tests. 2013-07-13 08:43:08 +08:00
Sean
6d21d39b19 Fix scrollfactor test for using new component based sprite. 2013-07-13 08:41:05 +08: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
Sean
b0d3f6e192 Merge branch 'photonstorm/097' 2013-07-03 07:52:36 +08: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
Sean
4695f62d1d Merge branch 'photonstorm/097' 2013-06-28 06:55:26 +08: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
Sean
6648cb3812 Merge branch 'photonstorm/097' 2013-06-22 07:42:09 +08: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
Sean
80f5c0a67d Merge branch 'photonstorm/097' 2013-06-16 09:39:13 +08:00
Richard Davey
0a7513240a Refactor completed. Now to tie the physics and sprites together. 2013-06-14 18:54:12 +01:00
Richard Davey
533a4c2e30 Commiting before a small refactor of Shapes and Joints 2013-06-14 17:55:07 +01:00
Richard Davey
dd8962d4b5 After a mammoth debugging session we now have advanced physics colliding and responding accurately :) 2013-06-14 15:18:41 +01:00
Richard Davey
114d1d2fbf Compiling, but not yet running correctly. Need to add body renderer next. 2013-06-14 04:13:00 +01:00
Richard Davey
232c96cc54 Space and Joints interface added. 2013-06-14 03:20:47 +01:00
Richard Davey
461f7ee54d Added lots more classes into the Advanced Physics package 2013-06-14 02:42:51 +01:00
Sean
d848fa089d Merge branch 'photonstorm/097' 2013-06-14 08:41:39 +08:00
Sean
1bcbf91398 Add assets for tests and a simple camera scroll test. 2013-06-14 08:36:20 +08:00
Sean
7b6beddc0c Fix assets path. 2013-06-14 08:36:07 +08: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
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
59f7a59312 Updated docs 2013-06-01 19:59:20 +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