mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Added down some ideas into a repo doc.
This commit is contained in:
parent
ad43925215
commit
9446af0895
1 changed files with 23 additions and 0 deletions
23
v3/dev-guide/IDEAS.md
Normal file
23
v3/dev-guide/IDEAS.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Phaser 3 Thoughts and Ideas
|
||||
|
||||
Arcade Physics
|
||||
--------------
|
||||
|
||||
Idea: Collision Groups.
|
||||
|
||||
Allowing you to do Group vs. Group collisions without them needing to be in the same _display_ oriented Group. Also Collision Groups could have properties, like custom callbacks, or the ability to do things to children such as remove them from the Group, or auto-kill on collision, or be for overlap checks only.
|
||||
|
||||
Conditional checks would be handy, so you can say: If Sprite A overlaps with Sprite B AND collides with Sprite C then callback. Perhaps possible via Group chaining.
|
||||
|
||||
|
||||
Shape Container
|
||||
---------------
|
||||
|
||||
A special display-list container that can take any Phaser Geometry object, and combine it with a texture (or color / gradient) and allow you to render it in your game, without needing to use a Graphics object or similar. Would be pretty intensive re: rendering, but that could be covered in the docs. Lots of people ask why they can't add a Phaser.Rectangle to the display list, and this would solve that.
|
||||
|
||||
|
||||
Timeline
|
||||
--------
|
||||
|
||||
Tweens work great, but aren't very flexible, and a frame based Timeline object would be much more useful. Would allow you to set events to occur on specific frames on the timeline, to adjust and read the playhead, to go in reverse, to apply custom easing to sections of the timeline, etc. Much like the Flash timeline really, but code based and quick to create (and small enough to be used lots without a big overhead)
|
||||
|
Loading…
Reference in a new issue