Richard Davey
d204866e71
Update CHANGELOG-v3.61.md
2023-10-04 16:29:10 +01:00
Richard Davey
0cb99a7ecf
Added canCollide
method and used it in all collision checks
2023-10-04 16:29:07 +01:00
Richard Davey
fd899c03e8
Update SetCollisionObject.js
2023-10-04 16:28:29 +01:00
Richard Davey
2461bf076a
Added collision category, collision mask and related methods
2023-10-04 16:28:22 +01:00
Richard Davey
922b756503
Added collision category marker and nextCategory
method
2023-10-04 16:27:37 +01:00
Richard Davey
eda08c20f5
Exposed Collision Component
2023-10-04 16:26:20 +01:00
Richard Davey
a08c25fd35
Added Collision component
2023-10-04 16:26:11 +01:00
Richard Davey
279a25ca88
Create Collision.js
2023-10-04 16:23:23 +01:00
Richard Davey
4e61b9fd13
Create ArcadeCollider.js
2023-10-04 16:23:17 +01:00
Richard Davey
9121ea527d
Create SetCollidesWith.js
2023-10-04 16:23:13 +01:00
Richard Davey
e25e2489c4
Update SetCollisionObject.js
2023-10-04 12:49:27 +01:00
Richard Davey
023b1fd662
Update CHANGELOG-v3.61.md
2023-10-04 12:47:01 +01:00
Richard Davey
49e97291cf
SetCollisionObject
is a new function that Arcade Physics bodies use internally to create and reset their ArcadeBodyCollision
data objects.
2023-10-04 12:46:58 +01:00
Richard Davey
e91d890463
Update CHANGELOG-v3.61.md
2023-10-04 11:57:40 +01:00
Richard Davey
b364995f2f
Added Body.slideFactor vec2
...
* Arcade Physics Bodies have a new property called `slideFactor`. This is a Vector2 that controls how much velocity is retained by a Body after it has been pushed by another Body. The default value is 1, which means it retains all of its velocity. If set to zero, it will retain none of it. This allows you to create a Body that can be pushed around without imparting any velocity to it.
* `Body.setSlideFactor` is a new method that sets the Body's `slideFactor` property.
2023-10-04 11:57:37 +01:00
Richard Davey
563137ac78
Typo fix
2023-10-04 11:57:24 +01:00
Richard Davey
8a97dbce21
Update CHANGELOG-v3.61.md
2023-09-27 18:53:39 +01:00
Richard Davey
a79ae92d44
Calling the Line.setLineWidth
method on the Line Shape Game Object would result in a line with double the thickness it should have had in WebGL. In Canvas it was the correct width. Both renderers now match. Fix #6604
2023-09-27 18:53:36 +01:00
Richard Davey
28e9f753f0
Update CHANGELOG-v3.61.md
2023-09-27 18:44:43 +01:00
Richard Davey
2ad71909f3
The DynamicTexture.fill
method will now correctly draw the fill rectangle if the width
and height
are provided in WebGL, where-as before it would assume the y axis started from the bottom-left instead of top-left. Fix #6615
2023-09-27 18:44:39 +01:00
Richard Davey
cf07c0a2c7
Update CHANGELOG-v3.61.md
2023-09-27 18:22:04 +01:00
Richard Davey
94662cdbc7
StaticBody.setSize
will now check to see if the body has a Game Object or not, and only call getCenter
and the frame sizes if it has. This fixes a bug where calling physics.add.staticBody
would throw an error if you provided a width and height. Fix #6630
2023-09-27 18:22:01 +01:00
Richard Davey
f8f48f55e0
Update CHANGELOG-v3.61.md
2023-09-27 18:15:12 +01:00
Richard Davey
d07d756760
The LoaderPlugin
will now call removeAllListeners()
as part of its shutdown
method, which will clear any event listeners bound to a Loader instance of the Scene, during the Scene shutdown. Fix #6633
2023-09-27 18:15:12 +01:00
Richard Davey
455420c4a0
Merge pull request #6627 from rexrainbow/plane-origin
...
Add read-only originX, originY properties
2023-09-27 18:06:20 +01:00
Richard Davey
2be65ec210
Merge pull request #6632 from samme/docs/tween-persist
...
Docs: change tween `persists` to `persist`
2023-09-27 17:57:36 +01:00
Richard Davey
ba7f2ff22e
Merge pull request #6635 from PresentCreativeLLC/ParticleDocumentationTypoFix
...
Fixed a typo, changed 'Interal' for 'Internal'
2023-09-27 17:57:10 +01:00
Richard Davey
8472087534
Merge pull request #6638 from samme/docs/tween-builders
...
Docs: TweenBuilderConfig and NumberTweenBuilderConfig
2023-09-27 17:53:28 +01:00
samme
720b2ccc6f
Docs: NumberTweenBuilderConfig
...
- Remove the v3.55 "Scope" properties
- Other simplifications
2023-09-27 09:30:15 -07:00
samme
485be95248
Docs: TweenBuilderConfig
...
Clarify onRepeat, onYoyo
2023-09-27 09:27:34 -07:00
Richard Davey
10fd9a6bb1
Update CHANGELOG-v3.61.md
2023-09-27 17:18:13 +01:00
Richard Davey
1be82975f7
The Request Video Frame polyfill will now check first to see if the browser supports HTMLVideoElement
before trying to inspect its prototype. This should help in non-browser environments.
2023-09-27 17:18:10 +01:00
Richard Davey
70ace29d49
Update CHANGELOG-v3.61.md
2023-09-27 16:58:29 +01:00
Richard Davey
6cda06c6b2
The Text.dirty
Game Object property has been removed. It wasn't used internally at all, so was just adding confusion and using space.
2023-09-27 16:58:25 +01:00
Alvaro Estrada
9b4d41d1bf
Fixed a typo, changed 'Interal' for 'Internal'
2023-09-24 22:49:42 -06:00
samme
76a6786fba
Docs: change persists
to persist
2023-09-23 08:12:22 -07:00
Richard Davey
e21c6f4596
Update README.md
2023-09-22 18:46:08 +01:00
Rex
1704e2ca5a
Add read-only originX, originY properties
2023-09-21 11:10:49 +08:00
Richard Davey
cbb802bcff
Merge branch 'master' of https://github.com/photonstorm/phaser
2023-09-14 11:47:33 +01:00
Richard Davey
a1bc5e247b
Clarify set body docs further
2023-09-14 11:47:31 +01:00
Richard Davey
883be33e8d
Merge pull request #6618 from samme/docs/loader-file-types
...
Docs: explain FileConfig.type values
2023-09-13 17:14:53 +01:00
samme
f7571462a0
Docs: explain FileConfig.type values
2023-09-13 08:28:57 -07:00
Richard Davey
5238c0b193
Ready for 3.61 Beta 3
2023-09-07 18:15:47 +01:00
Richard Davey
e06ab0d364
Update CHANGELOG-v3.61.md
2023-09-07 18:12:30 +01:00
Richard Davey
bdcd99d070
Update CHANGELOG-v3.61.md
2023-09-07 18:00:21 +01:00
Richard Davey
59438ad874
Both the Animation Config and the Play Animation Config allow you to set a new boolean property randomFrame
. This is false
by default, but if set, it will pick a random frame from the animation when it _starts_ playback. This allows for much more variety in groups of sprites created at the same time, using the same animation. This is also reflected in the new Animation.randomFrame
and AnimationState.randomFrame
properties.
2023-09-07 18:00:18 +01:00
Richard Davey
5961b821aa
Added missing property
2023-09-07 17:24:19 +01:00
Richard Davey
de48d84699
Updated jsdocs
2023-09-07 17:21:32 +01:00
Richard Davey
232916e3fa
Fixed use of modified Wrap function
2023-09-07 16:42:41 +01:00
Richard Davey
521ef6907c
Update CHANGELOG-v3.61.md
2023-09-07 16:22:41 +01:00