Richard Davey
0e14b43623
Added maxSize
, jsdocs and ts def fixes
2018-04-11 16:58:48 +01:00
Richard Davey
9bc6237831
TS defs fix
2018-04-11 16:58:32 +01:00
Richard Davey
64b07c6ecb
eslint fix
2018-04-11 16:58:25 +01:00
Felipe Alfonso
5e2699f1a4
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-11 12:55:54 -03:00
Felipe Alfonso
23cd9868b4
Added getWorldTransformMatrix to Container and added support to parent container transform to GetBounds component.
2018-04-11 12:55:32 -03:00
Richard Davey
a1e10a4bbc
Added missing extends and removed setSF because defaults are 1,1 anyway
2018-04-11 15:39:30 +01:00
Felipe Alfonso
091d947eae
Container scroll factor implemented to the render functions
2018-04-11 11:02:04 -03:00
Richard Davey
53425bdae9
Matter Image and Matter Sprite didn't define a destroy
method, causing an error when trying to destroy the parent Game Object. Fix #3516
2018-04-11 14:35:18 +01:00
Richard Davey
70c7732a1e
When shutting down a Matter World it will now call MatterEvents.off, clearing all events, and also removeAllListeners
for any local events.
2018-04-11 14:00:58 +01:00
Richard Davey
011e67d0f0
The Matter SetBody Component will no longer try to call setOrigin
unless the Game Object has the origin component (which not all do, like Graphics and Container)
2018-04-11 13:47:22 +01:00
Richard Davey
30d73a0197
Container can now be assigned an arcade physics body
2018-04-11 13:37:38 +01:00
Richard Davey
f80db91429
Allowing to work with Containers
2018-04-11 13:17:53 +01:00
Richard Davey
276ae03aff
TODO
2018-04-11 13:17:42 +01:00
Richard Davey
e2a0a4a5a7
Start of getBounds
2018-04-11 13:17:35 +01:00
Richard Davey
2c37ce106d
Added default TMs
2018-04-11 13:17:26 +01:00
Richard Davey
9eeef7e33e
lint
2018-04-11 13:17:16 +01:00
Richard Davey
ffd1d218e6
Rectangle.Union will now cache all vars internally so you can use one of the input rectangles as the output rectangle without corrupting it.
2018-04-11 12:44:37 +01:00
Richard Davey
28744bd0a3
Updated change log
2018-04-11 11:25:40 +01:00
Richard Davey
60cd5ab22b
Tighter dropzone test and container warning
2018-04-11 11:25:31 +01:00
Richard Davey
e135f132d9
Added missing properties needed for input to work
2018-04-11 11:25:11 +01:00
Richard Davey
7aae84a790
Calling Impact.World.remove(body) during a Body.updateCallback would cause the internal loop to crash when trying to access a now missing body. Two extra checks are in place to avoid this
2018-04-11 10:39:20 +01:00
Richard Davey
211ce8c378
Merge pull request #3533 from sebashwa/scene-config-for-add-map
...
Add a config to merge keys into scene InjectionMap
2018-04-11 10:28:50 +01:00
Richard Davey
f425cfb925
Merge branch 'master' into scene-config-for-add-map
2018-04-11 10:28:28 +01:00
Richard Davey
fd3d408d19
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-11 10:22:52 +01:00
Richard Davey
fc6a7e84f7
Updated Change Log
2018-04-11 10:22:44 +01:00
Richard Davey
bca3df1064
Merge pull request #3541 from josephjaniga/staticbody-offset
...
[bugfix] StaticBody.setOffset fix for issue #3465
2018-04-11 10:20:55 +01:00
Richard Davey
2df61ab96b
Merge pull request #3543 from rexrainbow/master
...
Add 'destroy' event of sound object
2018-04-11 10:14:55 +01:00
Richard Davey
c9363355b9
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-11 10:12:36 +01:00
Richard Davey
3e223211aa
Updated log
2018-04-11 10:12:31 +01:00
Richard Davey
0baa15e3fe
Merge pull request #3542 from jdotrjs/jdotrjs/#3535/fix-arcade-collisions
...
[fixes #3535 ] Fix constructed functions in RTree
2018-04-11 10:12:01 +01:00
Hua
978c179054
Add description of this PR
2018-04-11 16:35:17 +08:00
Hua
cd42ce981a
Add destroy event of sound object
...
Add destroy event of sound object
2018-04-11 16:29:29 +08:00
jdotrjs
6c6d5f4aa1
somebody forgot their ;s
2018-04-10 23:49:46 -07:00
jdotrjs
d089e16345
[ fixes #3535 ] Fix constructed bounding box functions for RTree
...
The previous patch didn't take into account that the accessors passed
in as the format array were dot-prefixed due to the previous eval-based
construction.
The only two uses of RTree that I found were in World.js:
```javascript
this.tree = new RTree(this.maxEntries, [ '.left', '.top', '.right', '.bottom' ]);
this.staticTree = new RTree(this.maxEntries, [ '.left', '.top', '.right', '.bottom' ]);
```
It's likely that this could be updated to just not pass dotted attribute
names but I wasn't super comfortable that they weren't needed in this form
elsewhere despite a quick search. I'd honestly say that it might be a better
change if we remove the dots before merge but I'll leave that up to the
discretion of the reviewers/merger.
I'm not super familiar with Phaser's style but I passed lint sooo :D
Buyer beware: the only testing I did was on the repo case I left in the
bug and I did not verify that this is still within the twitch CSP (though
it should be).
2018-04-10 23:11:14 -07:00
Joe Janiga
8ee9805596
work in progress on Static Body offset functionality... should Sprite.setPosition(x,y) effect Sprites static body?
2018-04-11 00:16:08 -04:00
Richard Davey
97cd94b3de
Updated log
2018-04-11 02:18:30 +01:00
Richard Davey
86abef20c2
Merge pull request #3537 from Antriel/master
...
fix Timeline#destroy
2018-04-11 01:17:54 +01:00
Richard Davey
f084178929
Merge pull request #3539 from pixelpicosean/fix_animation_complete_event
...
Fix animationcomplete event name typo
2018-04-11 01:16:33 +01:00
Sean Bohan
b6480a0db7
Fix animationcomplete event name typo
2018-04-11 04:51:34 +08:00
Felipe Alfonso
14a651e509
Fixed inverted rotation on TransformMatrix
2018-04-10 14:13:23 -03:00
Richard Davey
1fa909081c
eslint fixes
2018-04-10 17:35:14 +01:00
Felipe Alfonso
1eaee870c7
Set rotation of container to be negative at render time. Removed unnecessary call to multiply on TransformMatrix rotate
2018-04-10 13:25:13 -03:00
Richard Davey
c5cc126a6e
Updated change log
2018-04-10 15:55:06 +01:00
Richard Davey
be7b52b1b9
No longer extends List, but implements its own methods directly.
2018-04-10 15:21:46 +01:00
Richard Davey
82e99bf130
All now using SafeRange to cut down on duplicated code
2018-04-10 15:21:30 +01:00
Richard Davey
9fb1a72b70
Typo
2018-04-10 15:21:10 +01:00
Richard Davey
68ef6f8630
Removed parentContainer reference
2018-04-10 15:21:04 +01:00
Richard Davey
bf81a7dd06
TransformMatrix.destroy is a new method that will clear out the array and object used by a Matrix internally.
2018-04-10 15:20:50 +01:00
Antriel
47dc14079b
fix Timeline#destroy
2018-04-10 14:19:51 +02:00
Richard Davey
cdfe2e0ea2
Fixed references
2018-04-10 04:13:38 +01:00