Commit graph

20 commits

Author SHA1 Message Date
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00
Richard Davey
37713b9f4a Group methods now have optional addToScene and removeFromScene arguments
#3080
2018-01-07 13:16:42 +00:00
Richard Davey
50b1a67043 Added Group.countActive 2017-12-03 17:12:22 +00:00
Richard Davey
8a2ea673b6 Group.createMultipleCallback added 2017-12-02 04:03:22 +00:00
Richard Davey
5f1c022866 lint fix 2017-11-17 18:29:50 +00:00
Richard Davey
ac4f05bc6e Large Group refactor (which will break lots of examples)
Removed all of the Action helpers. It just bulks the class out and you can call them directly with Phaser.Actions anyway. Also added Pool support so you can now easily use a Group as an object pool, with fast recycling, creation, seeding and max sizes.
2017-11-13 23:32:14 +00:00
Richard Davey
671dfcd569 Groups can now pass a config as the first argument.
They also have 2 new callbacks: createCallback and removeCallback.
2017-11-09 03:59:56 +00:00
Richard Davey
870b2a94fc eslint fixes 2017-11-02 17:04:02 +00:00
Richard Davey
fb81fa514b Renamed z property to depth to allow for future 3D cameras 2017-09-14 03:12:00 +01:00
Richard Davey
9eb723cfc2 Added PlaceOnEllipse action and added to Group 2017-08-02 01:24:54 +01:00
photonstorm
d804e056ed Renaming from State to Scene internally.
This is one monster update.
2017-07-14 14:50:51 +01:00
Richard Davey
ad540d95bc Added SetHitArea action 2017-07-13 02:35:29 +01:00
Richard Davey
8d89c421b3 Group configs can now set the classType 2017-07-12 12:57:53 +01:00
Richard Davey
7ae478cf3b Groups can set grid alignment via the config 2017-07-12 12:28:21 +01:00
photonstorm
991ab2576d Broke the lists apart into DisplayList and UpdateList, as the vast majority of Game Objects don't ever need to have their preUpdate methods called as they are empty. 2017-07-04 16:44:16 +01:00
photonstorm
2425d0138e You can now pass a Group config into the Factory / constructor. 2017-06-30 16:58:42 +01:00
Richard Davey
2f605250b3 Added SetZ Action and exposed via Group 2017-06-28 14:16:01 +01:00
photonstorm
bd363553ba Added Group.update method. 2017-06-27 16:21:40 +01:00
Richard Davey
410ffc68c6 Updated Group.add 2017-06-26 22:00:05 +01:00
Richard Davey
a21e472b2e Renamed Layer to Group as per mailing list feedback 2017-06-26 21:08:08 +01:00
Renamed from v3/src/gameobjects/layer/Layer.js (Browse further)