Commit graph

19892 commits

Author SHA1 Message Date
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
Richard Davey
6db4906158
Merge branch 'master' of https://github.com/phaserjs/phaser 2024-11-13 22:26:27 +00:00
Richard Davey
3d1552b672
Update CHANGELOG-v3.87.md 2024-11-13 22:26:23 +00:00
Richard Davey
fd7a6ae780
Merge pull request #6938 from BenAfonso/master
Fix getScene, getScenes return types.
2024-11-13 22:26:06 +00:00
Richard Davey
dc745f8394
Merge branch 'master' of https://github.com/phaserjs/phaser 2024-11-13 22:24:03 +00:00
Richard Davey
352816dd52
Update CHANGELOG-v3.87.md 2024-11-13 22:23:59 +00:00
Richard Davey
4018be0bd3
Merge pull request #6941 from drakang4/master
Fix stream parameter type of video.loadMediaStream
2024-11-13 22:23:39 +00:00
Richard Davey
f259858d6c
Merge branch 'master' of https://github.com/phaserjs/phaser 2024-11-13 22:23:06 +00:00
Richard Davey
d80135083b
Update CHANGELOG-v3.87.md 2024-11-13 22:23:03 +00:00
Richard Davey
a6bffcdf26
Merge pull request #6920 from bagyoni/bitmaptext-idx
Fix calculation of idx in GetBitmapTextSize
2024-11-13 22:21:27 +00:00
Richard Davey
9e0af3afab
Merge branch 'master' of https://github.com/phaserjs/phaser 2024-11-13 22:20:32 +00:00
Richard Davey
c2cddcb5b0
Updating for v3.87 2024-11-13 22:20:24 +00:00
Richard Davey
d4700788a6
Merge pull request #6935 from Jessime/patch-1
loose -> lose typo in Container.js
2024-11-13 21:54:24 +00:00
Heeryong Kang
0123081aa9
Fix stream parameter type of video.loadMediaStream 2024-11-13 12:08:22 +09:00
Ben Afonso
2295d4c5e5
Fix getScene, getScenes return types. 2024-11-04 12:56:55 +01:00
Jessime Kirk
0f6e37ebfd
loose -> lose typo in Container.js 2024-10-29 13:58:28 -07:00
samme
fbdfdb884c Make particle animation state optional 2024-10-23 14:33:11 -07:00
Richard Davey
c78b3a007d
Updated for 3.86.1 2024-10-14 12:49:34 +01:00
Richard Davey
833802c6e5
Added LOG_VERSION 2024-10-14 12:49:25 +01:00
Richard Davey
eb7f17c387
Utils.String.RemoveAt would incorrectly calculate the slice index if it was > 0. It will now remove the correctly specified character. 2024-10-14 12:49:15 +01:00
Attila Bágyoni
95254316b3 Fix calculation of idx in GetBitmapTextSize 2024-10-12 10:39:02 +02:00
Attila Bágyoni
21efdc57e7 Remove dead code in GetBitmapTextSize 2024-10-12 10:22:39 +02:00
Richard Davey
773dc8a2b9 Update CHANGELOG-v3.86.md 2024-10-11 14:33:46 +01:00
Richard Davey
f1c4b0fef2 v3.86.0 release 2024-10-11 14:32:30 +01:00
Richard Davey
c3581595c7
Update CHANGELOG-v3.86.md 2024-10-11 00:41:47 +01:00
Richard Davey
79de922e5d
The Canvas Renderer and WebGL Multi Pipeline now uses the new renderRoundPixels boolean to determine if it can render a Sprite or a Texture with rounded position values, or not. This fixes an issue where black lines would appear between tightly grouped sprites or tiles at non-integer Camera zoom values. Fix #6907 2024-10-11 00:41:43 +01:00
Richard Davey
8e432aee8d
BaseCamera.renderRoundPixels is a new read-only property that is set during the Camera preRender method every frame. It is true if the Camera is set to render round pixels and the zoom values are integers, otherwise it is false. This is then fed into the MultiPipeline when rendering sprites and textures. 2024-10-11 00:08:00 +01:00
Richard Davey
13177a4e4a
Update CITATION.cff 2024-10-10 21:17:01 +01:00
Richard Davey
a5574822bf
Update CHANGELOG-v3.86.md 2024-10-10 21:16:59 +01:00