Commit graph

7920 commits

Author SHA1 Message Date
Richard Davey
d999151d30 Added in start of the support for a parent transform 2017-12-15 04:08:25 +00:00
Richard Davey
76f27ed706 Added parent, setParent and fixed destroy 2017-12-15 04:08:05 +00:00
Richard Davey
912b318d3e Formating 2017-12-15 04:07:45 +00:00
Richard Davey
8632fe5410 Inlined the depth sort 2017-12-15 04:07:32 +00:00
Richard Davey
61769526d4 Skip children that won't render 2017-12-15 04:07:16 +00:00
Richard Davey
d42aa4cffd Updated Container class and factory 2017-12-15 04:06:50 +00:00
Pavle Goloskokovic
c1ba98be96 Merge remote-tracking branch 'origin/master' 2017-12-14 14:09:26 +01:00
Pavle Goloskokovic
287dc70d61 Simplified rate updates logic in setRate method 2017-12-14 14:09:00 +01:00
Pavle Goloskokovic
06362216d1 Fixed issue with changing rate on a sound with delayed playback 2017-12-14 14:04:05 +01:00
Richard Davey
b279308234 Backface culling support added to tris 2017-12-14 02:29:30 +00:00
Richard Davey
c49f7de3ce Updated to use new ParseObj data format 2017-12-14 02:01:30 +00:00
Richard Davey
4a5f4a853e Brand new obj parser - far more complete, handles tris, quads and polys properly and returns a comprehensive model object 2017-12-14 02:01:16 +00:00
Richard Davey
4db457c464 Added Graphics.fillPoints and the option to specify an endIndex argument to strokePoints 2017-12-14 02:00:36 +00:00
Richard Davey
4320524119 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-12-13 22:08:18 +00:00
Richard Davey
8ec688c597 Removed use of offset props and swapped to bounding rect 2017-12-13 22:08:15 +00:00
Pavle Goloskokovic
0c84f78e9e Merge remote-tracking branch 'origin/master' 2017-12-13 22:51:11 +01:00
Pavle Goloskokovic
7adb101d7e Updating rate updates correctly if delay has not yet elapsed 2017-12-13 22:49:13 +01:00
Pavle Goloskokovic
8ea3dbd6af Removed completed TODO 2017-12-13 22:48:27 +01:00
Pavle Goloskokovic
2126381bdd Updated startTime property description 2017-12-13 22:48:05 +01:00
Pavle Goloskokovic
b21331fb1c Returning difference between playTime and startTime from seek getter if delay has not yet elapsed 2017-12-13 22:47:39 +01:00
Pavle Goloskokovic
e173cac7d5 Ignoring seek setter calls on delayed playing sound if delay has not yet elapsed 2017-12-13 22:46:02 +01:00
Michael Hadley
ca7753e611 v2 -> v3, split lines using splitRegExp property 2017-12-13 15:44:59 -06:00
Pavle Goloskokovic
7ee1f78f18 Ignoring resume calls on delayed playing sound if delay has not yet elapsed 2017-12-13 22:44:59 +01:00
Pavle Goloskokovic
a17ffeb5b9 Ignoring pause calls on delayed playing sound if delay has not yet elapsed 2017-12-13 22:43:42 +01:00
Pavle Goloskokovic
1993aabbf4 Resetting startTime when stopping buffer source 2017-12-13 22:42:16 +01:00
Pavle Goloskokovic
b087a92612 Setting startTime to value when sound should start playing and playTime to correct relative value 2017-12-13 22:41:33 +01:00
Pavle Goloskokovic
d4645313f4 Added startTime property to keep track of the time when the sound actually started playing music 2017-12-13 22:39:24 +01:00
Pavle Goloskokovic
52d2be65f3 Updated playTime property description 2017-12-13 22:36:57 +01:00
Pavle Goloskokovic
ca3a4b9373 Renaming startTime property to playTime 2017-12-13 22:32:34 +01:00
Michael Hadley
be74f40df9 Updating v2 comments to match v3 style 2017-12-13 15:30:43 -06:00
Pavle Goloskokovic
e8617a87a3 Taking delay config setting into account when playing sound source 2017-12-13 22:29:55 +01:00
Michael Hadley
9357b835b4 Jsdoc wrapping methods 2017-12-13 15:28:52 -06:00
Michael Hadley
0415a9bc01 Remove accidental duplicate of GetValue 2017-12-13 15:28:36 -06:00
Pavle Goloskokovic
58da23987c Removing completed TODO 2017-12-13 22:26:54 +01:00
Pavle Goloskokovic
f7ab4ca402 Resetting delay value in resetConfig method 2017-12-13 22:26:32 +01:00
Pavle Goloskokovic
e87fdb71ec Added default delay value to initial sound marker config 2017-12-13 22:25:58 +01:00
Pavle Goloskokovic
7369f04b99 Added default delay value to initial sound config 2017-12-13 22:25:22 +01:00
Michael Hadley
58b00a12e1 Make word wrap functions more pure so they are easier to share with other GOs later 2017-12-13 15:14:16 -06:00
Michael Hadley
d003945a66 v2's PrecalculateWordWrap -> getWrappedText 2017-12-13 15:09:06 -06:00
Michael Hadley
2fe60ffbf9 Add wrapping to Text & ensure context's font stays in sync 2017-12-13 15:08:43 -06:00
Michael Hadley
f6bd7ecb1b Add TextStyle wrap properties & parse with GetValue over GetAdvancedValue 2017-12-13 15:07:37 -06:00
Michael Hadley
0c3f144f88 Port v2 text wrapping functions to Text 2017-12-13 15:04:57 -06:00
Pavle Goloskokovic
7aa519c5e4 Merge remote-tracking branch 'origin/master' 2017-12-12 20:30:18 +01:00
Pavle Goloskokovic
a13f90b4a1 Removed completed TODO 2017-12-12 20:26:11 +01:00
Pavle Goloskokovic
dca07e84fb Setting loop value at the end of applyConfig method 2017-12-12 20:21:42 +01:00
Pavle Goloskokovic
0e5b2594c5 Removing unneeded logic from loop property setter 2017-12-12 20:20:45 +01:00
Pavle Goloskokovic
95abc59e3e Resetting config when looping sound in order to reset any non-zero seek value 2017-12-12 20:18:51 +01:00
Pavle Goloskokovic
bb281605c6 Checking if looping is enabled when sound ends and if it is creating and playing source sound again 2017-12-12 20:17:42 +01:00
Pavle Goloskokovic
1f5d4f2769 Removed createBufferSource method since its logic was used only in one place 2017-12-12 20:13:58 +01:00
Pavle Goloskokovic
67477708b2 Ditching loopSource approach as logic would be too complicated when taking playback rate into account 2017-12-12 20:11:46 +01:00