Commit graph

19944 commits

Author SHA1 Message Date
Ben Richards
0a0aa0281d Improve RenderFilters.Replace static function. 2024-11-21 16:35:23 +13:00
Ben Richards
db76e501f1 Facilitate easier use of RenderFilters child as primary interface.
Add `autoFocus` and `autoTransfer` parameters to creation.
Add `filters` and `filtersWrapper` properties to GameObject.
2024-11-21 16:28:22 +13:00
Ben Richards
7411a4b244 Merge remote-tracking branch 'origin/v4.0.0' into v4.0.0 2024-11-21 12:33:32 +13:00
Ben Richards
1ff1ec64d6 Add auto child property transfer option to RenderFilters.
Also add game config settings to RenderFilters cameras.
2024-11-21 12:32:58 +13:00
Richard Davey
e3d0eedba2
Merge pull request #6958 from samme/fix/scene-game-config
Fix TypeError when using scene injection map
2024-11-20 23:32:17 +00:00
Richard Davey
e0b8ac2080
Merge pull request #6959 from samme/fix/matter-image-sprite-submitter
Fix error rendering Matter Image/Sprite
2024-11-20 23:31:20 +00:00
samme
b1e3fd9901 Fix TypeError rendering Matter Image/Sprite 2024-11-20 10:32:58 -08:00
samme
f17d859049 Fix TypeError when using scene injection map 2024-11-20 07:50:39 -08:00
Ben Richards
4df1c19b49 Add RenderFilters.replace for better display list management. 2024-11-20 18:52:04 +13:00
Ben Richards
1a0ab2ab88 Allow RenderFilters to assume display list index of set child.
But not on creation, as it's not yet fully initialized.
2024-11-20 11:44:55 +13:00
Richard Davey
6149767988
Merge pull request #6957 from samme/fix/arcade-body-destroy
Fix Arcade Physics Body destroy
2024-11-19 17:44:29 +00:00
Richard Davey
8df02a57e8 Preparing for beta 3 2024-11-19 16:19:07 +00:00
Richard Davey
6bd18a8fb0 Update README.md 2024-11-19 15:22:36 +00:00
Richard Davey
135efa1de0 v4.0.0 Beta 2 2024-11-19 15:20:35 +00:00
Ben Richards
1abe613cd6 Fix BaseFilterShader GLSL cache key access. 2024-11-19 15:08:51 +13:00
samme
29d690126d Fix error destroying Arcade Bodies 2024-11-18 16:35:14 -08:00
Ben Richards
e71811e40c Fix TileSprite ignoring dimension when other dimension is 0. 2024-11-19 12:14:42 +13:00
Ben Richards
736c0b0cbd Provide DrawingContext to Extern#render. 2024-11-19 12:11:53 +13:00
Ben Richards
3df7470110 Fix Extern stencil handling.
(Don't handle stencil, as we don't use it.)
2024-11-19 11:30:11 +13:00
Ben Richards
af90c85460 Fix WebGLVAOWrapper failing when it can't find an expected attribute.
This can happen on systems with different GLSL compilers,
which optimize entire unused attributes.
2024-11-19 10:44:34 +13:00
Ben Richards
6979e7b96b Fix precision in Flat.vert shader.
It must match the fragment shader if they share uniforms.
This addresses #6951 and #6949.
2024-11-18 19:14:35 +13:00
Ben Richards
9612b0a08d Remove unmanaged GL state changes. 2024-11-18 19:12:11 +13:00
Ben Richards
7b4df69cec Fix DynamicTexture not resizing immediately after creation.
This addresses #6953.
2024-11-18 18:09:30 +13:00
Ben Richards
08606d934c Use UUID names for dynamic textures.
This resolves tighter requirements for texture names.
2024-11-18 16:01:49 +13:00
Ben Richards
63ba370c97 Implement better roundPixels handling.
This bias ensures that vertex coordinates at or close to 0.5
behave predictably, and don't create unexpected 1px distortions.
2024-11-18 14:53:47 +13:00
Ben Richards
136e35099e Revert "Fix reversion of roundPixels handling."
This reverts commit f9d42fe768.
2024-11-18 10:07:11 +13:00
Ben Richards
a4871ea319 Revert "Further fix roundPixels regression."
This reverts commit 79bcca03d8.
2024-11-18 10:07:01 +13:00
Ben Richards
79bcca03d8 Further fix roundPixels regression. 2024-11-15 19:20:05 +13:00
Ben Richards
f9d42fe768 Fix reversion of roundPixels handling. 2024-11-15 18:08:48 +13:00
Richard Davey
4216d8def5
Preparing for beta2 2024-11-14 23:16:39 +00:00
Richard Davey
6ede39b033
v4.0.0-beta.1 2024-11-14 23:08:51 +00:00
Richard Davey
f0ad396974
type errors fixed 2024-11-14 23:06:27 +00:00
Richard Davey
a6f8dc8b25
Fix for output.txt 2024-11-14 22:55:10 +00:00
Ben Richards
4bfa3fa7bf Fix camera scissor. 2024-11-15 11:37:02 +13:00
Richard Davey
b00ba89317
Final removal of Point objects 2024-11-14 21:37:49 +00:00
Richard Davey
e6331d8cfc
Triangle geom to Vector2 conversion 2024-11-14 21:30:04 +00:00
Richard Davey
a23887f73c
Rectangle point to vector2 update 2024-11-14 20:58:30 +00:00
Richard Davey
af4429acc6
Polygon updated from Point to Vector2 2024-11-14 20:44:38 +00:00
Richard Davey
7119b5d419
Updated Line geom functions to use Vector2 2024-11-14 20:40:24 +00:00
Richard Davey
6bf387e1cc Ellipse done 2024-11-14 18:45:04 +00:00
Richard Davey
64074fa001 Working through Point deprecation 2024-11-14 18:37:14 +00:00
Richard Davey
bb8f9be617 Updated Circle functions 2024-11-14 18:23:50 +00:00
Richard Davey
20f1f6df7b Update README.md 2024-11-14 18:21:45 +00:00
Richard Davey
d012c1a953 Working through Point replacement with Vec2 2024-11-14 18:21:43 +00:00
Richard Davey
4527ec67ca Removed PI2 and swapped TAU to it. Added PI_OVER_2. 2024-11-14 18:21:25 +00:00
Richard Davey
1e649e8a43 Update const.js 2024-11-14 18:06:57 +00:00
Richard Davey
d7bee12614 Removed Point class and functions 2024-11-14 18:06:53 +00:00
Richard Davey
a7b7bbf67f Update README.md 2024-11-14 18:01:55 +00:00
Richard Davey
794b0fd6a4 Update index.js 2024-11-14 18:01:52 +00:00
Richard Davey
4280220505 Replacement for GetRectangleFromPoints 2024-11-14 18:01:47 +00:00