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