Commit graph

19920 commits

Author SHA1 Message Date
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
Richard Davey
1c9f5aeda6 Delete SinCosTableGenerator.js 2024-11-14 18:01:37 +00:00
Richard Davey
9487fee8ad Update README.md 2024-11-14 17:52:55 +00:00
Richard Davey
e0a11b7b9a Added Vector2.projectUnit 2024-11-14 17:52:51 +00:00
Richard Davey
2aa92eec49 Vec2 ceil and floor
* `Vector2.ceil` is a new method that will apply Math.ceil to the x and y components of the vector. Use as a replacement for `Geom.Point.Ceil`.
* `Vector2.floor` is a new method that will apply Math.floor to the x and y components of the vector. Use as a replacement for `Geom.Point.Floor`.
2024-11-14 17:37:57 +00:00
Richard Davey
c4e84cbaf4 Math.GetCentroid is a new function that will get the centroid, or geometric center, of a plane figure from an array of Vector2 like objects. Use as a replacement for Geom.Point.GetCentroid. 2024-11-14 17:37:40 +00:00
Richard Davey
761da9f321 Update README.md 2024-11-14 17:24:00 +00:00
Richard Davey
c6a4590ce3 Update README.md 2024-11-14 17:21:19 +00:00
Richard Davey
29a57b3a4a Update README.md 2024-11-14 17:21:01 +00:00
Richard Davey
e03f8bf2b9 Removed TextureManager.generate method 2024-11-14 17:20:55 +00:00
Richard Davey
53de60076c Removed outdated polyfills 2024-11-14 17:20:43 +00:00
Richard Davey
dabc0b906b Removed 'create' namespace and palettes 2024-11-14 17:14:10 +00:00
Richard Davey
72efe3a79c Create phaser-no-physics.js 2024-11-14 17:13:43 +00:00
Richard Davey
fc7f79e2f3 Update README.md 2024-11-14 17:13:39 +00:00
Richard Davey
09ecea74f3 Expose RenderNode defaults 2024-11-14 17:06:36 +00:00
Richard Davey
04694e369b Removes Set and moved to using JS native Set. Updated functions accordingly. 2024-11-14 16:51:10 +00:00
Richard Davey
3a2ab5b101 v4.0.0 Beta 1 2024-11-14 16:34:01 +00:00
Richard Davey
e550202b28
v4.0.0 Alpha 1 merge 2024-11-14 11:40:26 +00:00
Richard Davey
9281b8bf6c
Update CHANGELOG-v3.87.md 2024-11-14 00:28:01 +00:00
Richard Davey
f9d1b4d5cf
Optimized TweenData.update to achieve the same result with my less repetition. Also fixes an issue where a Tween that used a custom ease callback would glitch when the final value was set, as it would be set outside of the ease callback. It's now passed through it, no matter what. Fix #6939 2024-11-14 00:27:57 +00:00
Richard Davey
ec42bd5aba
Update CHANGELOG-v3.87.md 2024-11-13 23:51:00 +00:00
Richard Davey
1749b38932
Added new FontFile file loader 2024-11-13 23:48:11 +00:00
Richard Davey
bd2f6edca3
Merge branch 'master' of https://github.com/phaserjs/phaser 2024-11-13 22:30:17 +00:00
Richard Davey
aa4dbc7f32
Update CHANGELOG-v3.87.md 2024-11-13 22:30:15 +00:00
Richard Davey
37a6dc6f9f
Merge pull request #6930 from samme/major/particle-anims-optional
Make particle animation state optional
2024-11-13 22:27:47 +00:00