Richard Davey
52c0c85cb6
Fixed eased range grid stagger
2019-07-01 12:49:02 +01:00
Richard Davey
2b713b0038
Pre-calc the grid values
2019-07-01 12:19:05 +01:00
Richard Davey
95ad802c27
Getting Grid Range working
2019-06-30 16:59:58 +01:00
samme
0530fb2b56
Abort clearRenderToTexture() for missing renderer
2019-06-29 13:39:42 -07:00
samme
268d206e41
Fix scene arg in createFromObjects()
2019-06-29 12:13:15 -07:00
Richard Davey
2f60afe8f7
Finished all non-grid options, including proper ease, range and direction
2019-06-29 11:26:26 +01:00
Richard Davey
e81d21a4f3
Merge pull request #4626 from rexrainbow/master
...
Fix render offset issue
2019-06-28 19:38:01 +01:00
Richard Davey
adaa5893ea
Grid working properly with static value and range
2019-06-28 19:35:54 +01:00
Richard Davey
7222a53a23
Update StaggerBuilder.js
2019-06-28 18:08:32 +01:00
Richard Davey
bf592808f3
Use the TweenData.index property now. Much cleaner.
2019-06-28 18:08:26 +01:00
Richard Davey
58f076a125
TweenData now holds the target index and has a new signature
2019-06-28 18:02:18 +01:00
Richard Davey
496ac0f979
Supports ranged staggers
2019-06-28 17:42:34 +01:00
Richard Davey
5203be3189
More accurate types
2019-06-28 17:42:16 +01:00
Richard Davey
293c28b83c
LoadValue functions now take new arguments and updated types and docs
2019-06-28 17:42:03 +01:00
Richard Davey
4baf88b8d1
Updated comments
2019-06-28 17:20:57 +01:00
Rex
fa6eb360dc
Fix render offset issue
...
- Fix render offset issue
- Fix size issue when setting radius
2019-06-29 00:03:08 +08:00
Richard Davey
79b2048ae0
Fixed addBlendMode type. Fix #4625
2019-06-28 14:53:12 +01:00
Richard Davey
864c484856
'start', 'from' and 'ease' all working
2019-06-28 14:38:48 +01:00
Richard Davey
70368a8808
Removed commented-out code
2019-06-28 12:22:14 +01:00
Richard Davey
bafc771f85
Stagger function change
2019-06-28 12:22:05 +01:00
Richard Davey
594d75c26a
Much more flexible in allowing the ease string input format
2019-06-28 12:21:52 +01:00
Richard Davey
f792f13d7a
Added new quantity property to GroupCreateConfig
2019-06-28 11:14:59 +01:00
Richard Davey
422fbec238
Added this argument
2019-06-27 23:35:58 +01:00
samme
4ae2280dba
New types for the optional scene methods
2019-06-27 12:04:51 -07:00
Richard Davey
2d82eca8c5
Added start of StaggerBuilder
2019-06-27 17:14:39 +01:00
Richard Davey
d0f1e5ca28
Added new typedefs for getActive
2019-06-27 16:28:16 +01:00
Richard Davey
23d1c0e1c7
Now supports from
, to
and start
Tween config objects
2019-06-27 16:16:37 +01:00
Richard Davey
4f344efd22
Refactored the updateTweenData method so force start/end values, support getActive and use more local vars
2019-06-27 16:16:14 +01:00
Richard Davey
ea03f81ec1
Added new optional getActive function
2019-06-27 16:15:26 +01:00
Richard Davey
7b9b264146
Added dispatchTimelineEvent method and improved docs
2019-06-27 13:04:32 +01:00
Richard Davey
f7d2410a76
JSDoc fix
2019-06-27 13:04:14 +01:00
Richard Davey
cf51e1a551
Removed loopCounter value as it was incorrect
2019-06-27 13:04:07 +01:00
Richard Davey
f3200ec3d1
Added isSeeking
flag and consolidated all the event and callback handling into two methods.
2019-06-27 12:41:37 +01:00
Richard Davey
46b56c4d2b
All changes to Tween.state
are now set _before_ any events or callbacks, allowing you to modify the state of the Tween in those handlers
2019-06-27 12:02:45 +01:00
Richard Davey
9582a21d4f
Tween JSDocs complete
2019-06-27 11:50:24 +01:00
Richard Davey
34bf26592e
Fixed missing loop callback
2019-06-27 01:37:36 +01:00
Richard Davey
14a6864f21
If you called Scene.destroy
within a Game Object pointerdown
or pointerup
handler, it would cause the error "Cannot read property 'game' of null" if the event wasn't cancelled in your handler. It now checks if the manager is still there before accessing its property. Fix #4436
2019-06-27 01:13:27 +01:00
Richard Davey
aad9d38e13
You can now specify easeParams
for any custom easing function you wish to use. Fix #3826
2019-06-27 01:06:25 +01:00
Richard Davey
eeb02c69b4
Finished all the new Tween Events
2019-06-27 01:00:37 +01:00
Richard Davey
5e4e6ca49f
Tween.seek
has been rewritten so you can now seek to any point in the Tween, regardless of repeats, loops, delays and hold settings. Fix #4409
2019-06-26 23:17:52 +01:00
Richard Davey
bd99ff36d8
New onActive callback
2019-06-26 17:45:32 +01:00
Richard Davey
c1578012c0
Tween now extends EventEmitter
...
Also added startDelay, hasStarted and new onActive callback. onStart now only fires when the Tween actually starts tweening. Lots of debug stuff left to remove.
2019-06-26 17:45:01 +01:00
Richard Davey
c89fac2288
Adding new Tween events
2019-06-26 17:43:43 +01:00
Richard Davey
d97fb97cf6
Typo
2019-06-26 00:36:47 +01:00
Richard Davey
a79da485c3
Added glTexture property
2019-06-26 00:36:40 +01:00
Richard Davey
fc3c93b578
Added flipY argument
2019-06-26 00:35:42 +01:00
Richard Davey
c0d58ee69e
Better flip handling
2019-06-26 00:35:22 +01:00
Richard Davey
3bf3057da0
WebGLRenderer.setScissor
will default the drawingBufferHeight
if no argument is provided, stopping NaN scissor heights.
2019-06-25 23:03:57 +01:00
Richard Davey
356c57c07b
The Shader will no longer set uniforms if the values are null
, saving on GL ops.
2019-06-25 22:49:30 +01:00
Richard Davey
a61207b890
Math.ToXY
is a new mini function that will take a given index and return a Vector2 containing the x and y coordinates of that index within a grid.
2019-06-25 16:57:05 +01:00
Richard Davey
8ecab7a1a1
JSDocs fix
2019-06-25 16:56:56 +01:00
Richard Davey
280e0e2744
Abort filter checks if renderToTexture
2019-06-25 10:10:00 +01:00
Richard Davey
63ac456c45
Flag swap
2019-06-24 14:42:34 +01:00
Richard Davey
a3763d1468
Added setSampler2DBuffer
method and willRender
override.
2019-06-24 12:31:47 +01:00
Richard Davey
839e298c4e
Pointer.getDuration
would return a negative / static value on desktop, or NaN on mobile, because the base time wasn't being pulled in from the Input Manager properly. Fix #4612
2019-06-24 10:58:44 +01:00
Richard Davey
f323097714
Sprites need to flip the UV if the source is a GLTexture
2019-06-23 22:12:14 +01:00
Richard Davey
33e15dca48
Marked argument as optional. Fix #4607
2019-06-22 11:38:24 +01:00
Richard Davey
7fc6424c37
Merge pull request #4608 from rexrainbow/master
...
Set customHitArea to false if shape is not defined
2019-06-22 11:33:26 +01:00
Richard Davey
a83b59d860
Merge branch 'master' of https://github.com/photonstorm/phaser
2019-06-22 11:20:09 +01:00
Richard Davey
bb29aed88a
Matter.Factory.constraint
wouldn't allow a zero length constraint to be created due to a falsey check of the length argument. You can now set length to be any value, including zero, or leave it undefined to have it automatically calculated
2019-06-22 11:19:56 +01:00
Fabadiculous
255232dd2a
Fix bug where graphics methods were not renamed
2019-06-22 16:55:50 +10:00
Rex
16a038674f
Set customHitArea to false if shape is not defined
...
In setHitArea method, use setHitAreaFromTexture if shape is undefined. Suppose that it is not a case of `customHitArea`
2019-06-22 09:37:49 +08:00
Richard Davey
96f96a7258
Opps! Clear the texture :)
2019-06-21 17:20:15 +01:00
Richard Davey
9d94e35e91
If a GLTexture is given as a sampler2D it will extract the textureData from it correctly
2019-06-21 16:35:31 +01:00
Richard Davey
c33cf85456
Added isGLTexture property
2019-06-21 16:34:47 +01:00
Richard Davey
1e9ef314c9
Added addGLTexture
method to save WebGL Textures directly into the Texture Manager.
2019-06-21 16:10:26 +01:00
Richard Davey
b0b5f202fe
Fixed some jsdocs and added WebGLTexture support
2019-06-21 16:08:47 +01:00
Richard Davey
ba0c380109
Support rendering a shader to a texture instead of the display list
2019-06-21 16:08:29 +01:00
Richard Davey
22b107b903
Added setRenderToTexture
method and supporting properties
2019-06-21 16:08:14 +01:00
Richard Davey
9a6fe49000
Typo
2019-06-21 12:25:08 +01:00
Richard Davey
67b28d6764
The Scale Manager would throw the error 'TypeError: this.removeFullscreenTarget is not a function' when entering full-screen mode. It would still enter fullscreen, but the error would appear in the console. Fix #4605
2019-06-21 10:53:27 +01:00
Richard Davey
d811713905
Moving to 3.19.0 dev
2019-06-20 10:09:09 +01:00
Richard Davey
f999e640e1
3.18.1 release
2019-06-20 09:59:17 +01:00
Richard Davey
6004237d37
Get the correct time value
2019-06-20 09:58:59 +01:00
Richard Davey
8837cb3fd1
JSDocs fix
2019-06-20 09:58:48 +01:00
Richard Davey
db433656c3
Preparing for 3.19 dev
2019-06-19 17:02:27 +01:00
Richard Davey
8fe4b37a94
JSDoc fix
2019-06-19 15:52:08 +01:00
Richard Davey
6c575ca20e
Arcade.Events.WORLD_STEP
is a new event you can listen to. It is emitted by the Arcade Physics World every time the world steps once. It is emitted _after_ the bodies and colliders have been updated. Fix #4289
2019-06-19 15:41:45 +01:00
Richard Davey
ef4b3cfe89
Improved update
handler to cut down on body iteration and stepping without an update due. Fix #4529
2019-06-19 15:32:17 +01:00
Richard Davey
96298cf920
Added new resetFlags
method and willStep
and delta
arguments to preUpdate
.
2019-06-19 15:31:29 +01:00
Richard Davey
ae591c1c34
Timeline.setTimeScale
would only impact the Timeline loop and completion delays, not the actively running Tweens. It now scales the time for all child tweens as well. Fix #4164
2019-06-19 12:34:41 +01:00
Richard Davey
6d173434eb
Looped Tween Timelines would mess-up the tween values on every loop repeat, causing the loop to fail. They now loop correctly due to a fix in the Tween.play method. Fix #4558
2019-06-19 12:23:24 +01:00
Richard Davey
bb27213f12
Improved jsdocs
2019-06-19 11:25:33 +01:00
Richard Davey
8f22f37dca
Tween.restart
wouldn't restart the tween properly. Fix #4594
2019-06-19 11:05:27 +01:00
Richard Davey
1676f22360
Automatically handle the drag values in rotated containers
2019-06-19 10:41:48 +01:00
Richard Davey
4a91b1e560
Added dragStartXGlobal
and dragStartYGlobal
properties
2019-06-19 10:41:26 +01:00
Richard Davey
5fa4264219
Added new Transform.getParentRotation method
2019-06-19 10:40:47 +01:00
Richard Davey
b917a0611f
ESLint fix
2019-06-19 09:46:38 +01:00
Richard Davey
f5cae5a48b
Added in Text justification feature. Fix #4291
2019-06-19 09:46:32 +01:00
Richard Davey
61827f3539
Preparing for 3.18 release
2019-06-19 09:29:02 +01:00
Richard Davey
57fd8c9ce1
Merge pull request #4540 from BdR76/patch-2
...
drawDebug, display checkCollision sides
2019-06-19 09:28:31 +01:00
Richard Davey
2e64f4c5cc
Merge pull request #4588 from rexrainbow/master
...
Update displayOriginX, displayOriginY after size changed
2019-06-19 09:25:38 +01:00
Richard Davey
aa7f4da0d9
Merge pull request #4587 from samme/fix/emitter-op-random
...
Fix EmitterOp config with { random: false }
2019-06-19 09:24:20 +01:00
Richard Davey
932583402c
Merge pull request #4589 from samme/x/arcade-static-body-setSize
...
Change arguments to Arcade.StaticBody#setSize
2019-06-19 09:21:00 +01:00
ldd
4cd8787212
Fix some JSDoc descriptions
2019-06-17 16:03:22 -04:00
samme
9a3340ff7c
Exit if scene was removed during create()
2019-06-14 13:00:13 -07:00
Richard Davey
89fe81a5ab
Merge branch 'master' of https://github.com/photonstorm/phaser
2019-06-12 23:20:25 +01:00
Richard Davey
a786298c66
Updated Line docs. #4590
2019-06-12 23:20:22 +01:00
samme
7bba56be16
Change arguments to StaticBody#setSize
...
`center` replaces `offsetX`, `offsetY`
2019-06-12 10:59:07 -07:00
Richard Davey
ea8bb89554
Exposed all of the Tilemap Parser functions. Fix #4318
2019-06-12 12:35:41 +01:00