Commit graph

19875 commits

Author SHA1 Message Date
Richard Davey
f10147809f
Merge pull request #6815 from lgtome/fix-parent-parameter-type
JSDoc and type for parent property
2024-06-06 15:12:37 +01:00
Richard Davey
66d15f7624 Update CHANGELOG-v3.85.md 2024-06-06 15:09:22 +01:00
Richard Davey
c4501d2ccf TimelineEvent has a new property called tweenInstance. If the Timeline event has a tween that has been activated, this will hold a reference to it. 2024-06-06 15:09:22 +01:00
Richard Davey
b70d06d475 Calling Timeline.clear and Timeline.destroy will now destroy any currently active Tweens that the Timeline had created. Previously, active tweens would continue to play to completion
Calling `Timeline.pause` will now pause any currently active Tweens that the Timeline had started
Calling `Timeline.resume` will now resume any currently paused Tweens that the Timeline had started
2024-06-06 15:09:22 +01:00
Richard Davey
228736a695
Merge pull request #6818 from rexrainbow/bugfix-expand-scale-mode
Set gameSize equal to baseSize, for EXPAND scale mode
2024-06-06 14:35:53 +01:00
Richard Davey
c508afca0c Update CHANGELOG-v3.85.md 2024-06-06 14:33:01 +01:00
Richard Davey
023d9fb0ba Added all of the missing Loader Config values (such as imageLoadType) to LoaderConfig, so they now appear in the TypeScript defs. 2024-06-06 14:32:58 +01:00
Rex
687903fc76 Expose const EXPAND definition 2024-05-31 11:46:16 +08:00
Jack Le Hamster
f3dd9523e2
Merge branch 'phaserjs:master' into master 2024-05-16 15:48:32 -07:00
Robert Kowalski
6b9b296c0f
Update CHANGELOG-v3.85.md 2024-05-16 16:20:01 -04:00
Richard Davey
b06483ecc6 Update CHANGELOG-v3.85.md 2024-05-15 18:46:23 +01:00
Richard Davey
078c3662ef Moving to v3.85 2024-05-15 15:37:36 +01:00
Richard Davey
9b49655e9c The method TextureManager.checkKey will now return false if the key is not a string, which fixes issues where a texture could be created if a key was given that was already in use 2024-05-15 15:37:19 +01:00
David Négrier
0bcc71d469 Fixing DomElement position when camera zoom != 1
When the camera zoom is set to any other value than one, if a dom element origin
if set to anything other than 0, the final position of the DOM was incorrect.

I traced this back to the DOMElementCSSRenderer.
After some trial and error, I realized the translation needed to be applied after camera multiplication
and not at the beginning.

With this change, DOMElements are correctly positioned.
2024-05-15 16:25:28 +02:00
Richard Davey
946e82b058 Removed .js from require paths (not needed) 2024-05-15 15:02:31 +01:00
Richard Davey
5d1d379991 Updated version to 3.85.0 2024-05-15 15:02:04 +01:00
Rex
4a064214ba Set gameSize equal to baseSize 2024-05-15 21:21:22 +08:00
Richard Davey
fc873c0e6d
Remove .js from require path 2024-05-15 00:40:35 +01:00
Jack Le Hamster
cc1329e85d Revert "Fix bug in all JS files."
This reverts commit 0ffec094a1.
2024-05-14 14:17:03 -07:00
Jack Le Hamster
54f6756977 Revert "Build dist"
This reverts commit f87cffd68c.
2024-05-14 14:16:54 -07:00
Jack Le Hamster
f87cffd68c Build dist 2024-05-14 00:55:43 -07:00
Jack Le Hamster
0ffec094a1 Fix bug in all JS files. 2024-05-14 00:55:03 -07:00
Jack Le Hamster
cde45d8766 Fix null pointer exception:
Uncaught TypeError: Cannot set properties of undefined (setting 'controller')

occurring on Windows when adding effects.
2024-05-14 00:24:41 -07:00
lgtome
22b444abee removed type from d.ts 2024-05-10 01:08:48 +03:00
lgtome
370cfbb52c Fix jsdoc and type for parent property 2024-05-09 23:31:10 +03:00
Albert Montagut Casero
b90fc23236 Fix jsdoc in setWordWrapWidth from Text and TextStyle 2024-05-07 10:36:46 +02:00
samme
f01e2764c9 Add BaseSoundManager#isPlaying 2024-05-03 07:39:37 -07:00
samme
252cb41517 Add Phaser.Loader.LoaderPlugin#removePack() 2024-04-26 09:15:55 -07:00
samme
287c1e86af Add Phaser.Time.Timeline#timeScale 2024-04-25 10:58:44 -07:00
samme
840ff020f8 getPipelineName() is null if pipeline is null
Fixes #6799
2024-04-25 09:10:47 -07:00
Robert Kowalski
e337b6e4d1 The default for inputActivePointers works for this condition now 2024-04-22 09:30:00 -04:00
Robert Kowalski
ec98b33757 Consistently check length for each pointer event Fix #6783 2024-04-21 23:57:18 -04:00
Richard Davey
c1c1a0ffa4 If GetURL returns false File.load will now throw a helpful error instead of crashing 2024-04-21 18:41:17 +01:00
samme
fbc7f57c28 Docs: note velocity units
Phaser.Physics.Arcade.Components.Velocity
2024-04-17 06:54:31 -07:00
samme
73ff013d95 Throw an error for invalid BitmapText key 2024-04-08 08:56:37 -07:00
Rex
f9cf19f479 displayList might be null 2024-04-08 00:36:59 +08:00
Rex
266c1f411d Fix bug 2024-04-06 16:24:08 +08:00
Rex
a2702fd795 Add some helper methods for changing rendering order 2024-04-06 09:24:04 +08:00
samme
f7e029ca2d Improve the audio warnings 2024-04-04 08:40:06 -07:00
samme
e988861f5d
Docs: correct TilemapJSONFile superclass 2024-03-17 18:06:12 -07:00
Lukas Dachtler
f17e1df7f4 declared type for onCollideWith 2024-03-07 00:27:18 +01:00
Lukas Dachtler
929267011a included reference for phaser types 2024-03-06 22:57:05 +01:00
Robert Kowalski
e1d23b98c0 Spelling fixes 2024-03-05 22:21:42 -05:00
Richard Davey
1ba01834ff Updated readme and change log for 3.80.1 2024-02-27 15:56:03 +00:00
Richard Davey
4f7445f8d7 v3.80.1 2024-02-27 15:53:24 +00:00
Richard Davey
8acc797b64 Updated documentation and removed Transform component 2024-02-27 15:48:31 +00:00
Richard Davey
6943c9bbca Reverted a change made in TouchManager that would prevent clicks from outside the game window from being registered. Fix #6747 2024-02-27 15:36:34 +00:00
Richard Davey
229f9232f4 Modified onMouseUpWindow and onMouseDownWindow in the MouseManager so they now check for sourceCapabilities.firesTouchEvents and if found, abort registering the event. This new browser event property is designed to prevent you accidentally registering a Mouse Event when a Touch Event has just occurred (see https://developer.mozilla.org/en-US/docs/Web/API/InputDeviceCapabilities/firesTouchEvents) #6747 2024-02-27 15:36:23 +00:00
Richard Davey
fb47fcf455 Update const.js 2024-02-27 14:59:29 +00:00
Ben Richards
b1806fd721 Remove unsynced flipY from Shader and DynamicTexture textures.
This might be causing some issues with context restore,
and seems entirely unnecessary.
2024-02-27 17:29:49 +13:00