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
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
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
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
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
Ben Richards
1b77881dd4
Ensure TextureSource.setFlipY
always updates the texture.
...
When it's a Canvas or Video, at least.
2024-02-27 15:17:52 +13:00
Ben Richards
ec4a9d7328
Also revert release name.
2024-02-27 11:40:33 +13:00
Ben Richards
2615cf6a0f
Prepare 3.80.1 bugfix release.
2024-02-27 11:24:04 +13:00
Ben Richards
37ba3510f2
Fix RenderTexture crashing in the presence of a light.
...
More generally, anything with a default/no normal map should be fixed.
2024-02-26 17:45:52 +13:00
Ben Richards
7eede9d236
Standardise texture update in Shader.initSampler2D
.
2024-02-26 16:19:24 +13:00
Ben Richards
cab4bab15e
Eliminate duplicate code in WebGL video handling.
...
This involves a new method, `videoToTexture`.
2024-02-23 19:16:18 +13:00
Ben Richards
9a5b51dd27
Eliminate duplicate code in WebGL texture creation/update.
...
This should make the code lighter and more maintainable.
`UNPACK_FLIP_Y_WEBGL` is now always set, where previously it was allowed
to just remain default (false); this is necessary for the new code path.
`Uint8Array` sources are now allowed to generate MIPMaps.
`WebGLTextureWrapper.update` now checks the type of `pixels`, although
it should only ever be the final case.
2024-02-23 18:43:27 +13:00
Ben Richards
42039a144e
Fix failure to restore compressed textures after WebGL context loss.
2024-02-23 17:55:03 +13:00
Ben Richards
3cd756dbe9
Fix new WebGLTextures remaining bound after creation.
...
This caused an error when calling `Shader.setRenderToTexture()`
after the game started running.
The leftover texture caused a temporary cyclic reference with the new
Framebuffer. The actual rendering pipeline was not affected.
2024-02-22 19:01:03 +13:00
Richard Davey
e0f9e7d1d0
Preparing for v3.90 development
2024-02-21 23:15:21 +00:00
Richard Davey
a4aa78bf80
v3.80 Release
2024-02-21 22:41:51 +00:00
Richard Davey
66ab05f89b
Update README.md
2024-02-21 22:39:36 +00:00
Richard Davey
57b7b09597
Fixed jsdoc
2024-02-21 22:39:29 +00:00
Robert Kowalski
64416f986d
Update CHANGELOG-v3.80.md
2024-02-21 17:10:00 -05:00
Richard Davey
143d1d9be9
Merge branch 'master' of https://github.com/phaserjs/phaser
2024-02-21 21:31:54 +00:00
Richard Davey
89afecc597
Swapped to the ComputedSize component, moved metadata handler logic to the new inline setSizeToFrame method
2024-02-21 21:31:51 +00:00
Robert Kowalski
60aa42fec4
Quick cleanup and documentation update
2024-02-21 16:12:29 -05:00
Robert Kowalski
7e848e66fa
Add documentation about fixed frame size on plane animation
2024-02-21 16:07:24 -05:00
Ben Richards
198598882e
Document non-optional texture update flags correctly.
2024-02-22 09:56:17 +13:00
Ben Richards
a0aa09ff31
Fix WebGL errors when updating video textures.
2024-02-22 09:18:12 +13:00
Richard Davey
52554ea962
Update CHANGELOG-v3.80.md
2024-02-21 17:42:42 +00:00
Richard Davey
e97336acb5
v3.80 build files
2024-02-21 13:32:36 +00:00
Richard Davey
5a12f2a193
Preparing for v3.80 release
2024-02-21 13:31:13 +00:00
Richard Davey
c1e61e6421
Update CHANGELOG-v3.80.md
2024-02-21 13:25:30 +00:00
Richard Davey
ff945e1595
Fix merge error
2024-02-21 13:25:08 +00:00
Richard Davey
c445303ffb
Revert define changes as they don't work
2024-02-21 13:23:52 +00:00