Commit graph

9748 commits

Author SHA1 Message Date
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
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
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
Richard Davey
a6303aad8c Renamed files 2018-04-10 04:01:24 +01:00
Richard Davey
330eac1ebc List is now internally using all of the new Utils.Array functions. 2018-04-10 04:00:39 +01:00
Richard Davey
3c5d3db267 Testing exclusive setting 2018-04-09 17:33:55 +01:00
Richard Davey
ca2a575726 Added jsdocs 2018-04-09 16:46:03 +01:00
Richard Davey
12b6b26838 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-09 16:43:37 +01:00
Richard Davey
04990d6870 Input checks for container parents 2018-04-09 16:42:51 +01:00
Richard Davey
5c69bd054e Added property getters 2018-04-09 16:42:33 +01:00
Felipe Alfonso
9d39bd7b45 Container alpha added 2018-04-09 12:32:08 -03:00
Richard Davey
381963c014 Removed localToWorld (no longer needed) 2018-04-09 16:01:16 +01:00
Richard Davey
d15d910778 Removed camera.cullTilemap because nothing uses it any more 2018-04-09 16:00:33 +01:00
Richard Davey
c2236e47eb Added webpack section to README. 2018-04-09 14:17:17 +01:00
Richard Davey
5c89c9900c BaseSound.config now contains all defaults. Fix #3525 2018-04-09 14:09:04 +01:00
Richard Davey
5f9972c791 LoaderPlugin.isReady referenced a constant that no longer exists. Fix #3503 2018-04-09 13:55:41 +01:00
Richard Davey
c7037628e2 Fixed lint error 2018-04-09 13:48:11 +01:00
Richard Davey
833355a9a4 Tween.resume will now call Tween.play on a tween that was paused due to its config object, not as a result of having its paused method called. Fix #3452 2018-04-09 13:25:20 +01:00
Richard Davey
7a02cac739 Updated change log 2018-04-09 12:57:55 +01:00
Richard Davey
ca2097f4e2 Recoded how the boot data and processing works to allow for more flexibility when setting-up scenes. Updates #3470 2018-04-09 12:57:47 +01:00
Richard Davey
66a9bec9bb Only set data if it's not undefined. 2018-04-09 12:57:03 +01:00
Richard Davey
bf368ab70b ScenePlugin.restart allows you to restart the current Scene. It's the same result as calling ScenePlugin.start without any arguments, but is more clear. 2018-04-09 12:56:28 +01:00
Richard Davey
1a3d4330ac
Merge pull request #3462 from wtravO/master
Addresses issue 3408 - Tween restart after completion bug
2018-04-09 10:27:25 +01:00
Richard Davey
825d7d8a76
Merge branch 'master' into master 2018-04-09 10:27:13 +01:00
Richard Davey
a867add3ea Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-09 10:24:37 +01:00
Richard Davey
6ae000a5a0 Updated change log 2018-04-09 10:24:31 +01:00
Richard Davey
a0dcfdd3fc
Merge pull request #3470 from pixelhijack/fix-issue-3363
[ISSUE #3363] Phaser Scene - passing data to scene init & create methods
2018-04-09 10:20:57 +01:00
Richard Davey
20aeff9a12
Merge pull request #3521 from mchiasson/patch-1
closes #3520
2018-04-09 10:11:35 +01:00
Richard Davey
8172742cf1
Merge pull request #3530 from icbat/master
adding documentation to some files with only one [description] tag
2018-04-09 10:09:50 +01:00
Matt Chiasson
abfd2440a0
fixed travis failure 2018-04-08 21:01:48 -04:00
Evan Cobb
4270660c31 adding documentation to some files with only one [description] tag 2018-04-08 14:13:02 -05:00
Richard Davey
12d27518da
Merge pull request #3522 from icbat/master
documenting UppercaseFirst
2018-04-08 17:04:29 +01:00
Richard Davey
70bedbdce0 Check if animation exists 2018-04-08 17:01:43 +01:00