Commit graph

96 commits

Author SHA1 Message Date
Richard Davey
1f8276ac76 Updated copyright year, company and author 2024-02-19 17:12:24 +00:00
Richard Davey
0ee06b65b3 Docs fix 2024-02-19 16:27:07 +00:00
Richard Davey
450c8fcae0 Removed generics that were breaking Layer in TypeScript 2023-11-10 15:27:07 +00:00
Richard Davey
0b32610e56 Updated version to 3.70 2023-11-10 15:04:01 +00:00
Richard Davey
eea31c7be8 Structs.Map.setAll is a new method that allows you to pass an array of elements to be set into the Map. This is a chainable method. 2023-11-08 12:09:05 +00:00
Trissolo
255eb85723 Added missing parameter to some function calls 2023-08-02 10:40:10 +02:00
Richard Davey
468bf7821d Updated copyright year 2023-01-02 17:36:27 +00:00
Richard Davey
d48f548472 TS defs update. Fix #5665 2022-11-17 18:40:24 +00:00
Richard Davey
c5e10cd3f1 Fix #6052 2022-11-10 22:14:18 +00:00
Richard Davey
10ff7a3712 Improved jsdocs 2022-10-19 21:14:31 +01:00
Richard Davey
023343c789 All events have a type of string. Fix #6136 2022-09-21 22:01:03 +01:00
Richard Davey
186fe4a04b Game Objects that were created and destroyed (or moved to Containers) in the same frame were not correctly removed from the UpdateList. Fix #5803 #5817 #5818 #6052
* `ProcessQueue.isActive` is a new method that tests if the given object is in the active list, or not.
* `ProcessQueue.isPending` is a new method that tests if the given object is in the pending insertion list, or not.
* `ProcessQueue.isDestroying` is a new method that tests if the given object is pending destruction, or not.
* `ProcessQueue.add` will no longer place the item into the pending list if it's already active or pending.
* `ProcessQueue.remove` will check if the item is in the pending list, and simply remove it, rather than destroying it.
2022-06-07 16:43:56 +01:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00:00
Richard Davey
83fbeb97a8 Fixed jsdoc 2021-05-24 17:34:06 +01:00
Rex
62ea171971 Add MoveAbove, MoveBelow methods of List structure
MoveAbove: Moves the given array element above another one in the array.
MoveBelow: Moves the given array element below another one in the array.
2021-04-26 15:17:42 +08:00
Richard Davey
02c34cd64e Replace integer with number 2020-11-23 10:22:13 +00:00
Richard Davey
ef1ddb29d9 Improved docs 2020-10-27 13:55:09 +00:00
Richard Davey
8f8a90bedd Utils.Array.StableSort has been recoded. It's now based on Two-Screens stable sort 0.1.8 and has been updated to fit into Phaser better and no longer create any window bound objects. The inplace function has been removed, just call StableSort(array) directly now. All classes that used StableSort.inplace have been updated to call it directly. 2020-09-02 12:24:27 +01:00
Richard Davey
07865a5823 Final set of namespace changes. Fix #5062 2020-09-01 20:28:42 +01:00
Richard Davey
7f5e4d4538 ProcessQueue.checkQueue is a new boolean property that will make sure only unique objects are added to the Process Queue. 2020-08-24 19:21:01 +01:00
halilcakar
6915fd3420 Fix incorrect event names in ProcessQueue.js#205, 222 2020-08-09 19:55:09 +03:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Josh Soref
d6820e6da8 spelling: envelope 2019-10-29 01:53:22 -04:00
Josh Soref
4d1683c9ee spelling: component 2019-10-29 01:49:23 -04:00
Richard Davey
7212945bea ProcessQueue now extends Event Emitter. Also added removeAll method and length getter. 2019-10-02 12:13:07 +01:00
Richard Davey
f3cc1f82fe Added new ProcessQueue events 2019-10-02 12:12:37 +01:00
Richard Davey
67e28efd2e Removed dead code 2019-08-30 03:47:58 +01:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
1830480fec Added Size.setCSS method 2019-04-09 23:28:05 +01:00
Richard Davey
39e18a5b41 Updated docs 2019-03-07 13:36:01 +00:00
Richard Davey
b75db77db8 Updated docs 2019-03-05 09:25:19 +00:00
Richard Davey
57970f1149 Added Size.resize and Size.setAspectRatio methods. 2019-01-25 12:13:26 +00:00
Richard Davey
fac2efedc4 Container + List.sort scope fixed and custom handler option added. Fix #4241 2019-01-24 11:04:36 +00:00
Richard Davey
ebb926bdaf Added copy method. 2019-01-22 14:45:54 +00:00
Richard Davey
1eccff1e3b Fixed jsdoc links and markdown bullet lists 2019-01-18 15:20:56 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
58c8ae8202 JSDoc update 2019-01-12 12:44:29 +00:00
Richard Davey
aa3b80371b Should be envelop, not envelope :) 2019-01-12 12:36:21 +00:00
Richard Davey
ed6e3f596f Fixed min size clamp. 2019-01-11 18:05:43 +00:00
Richard Davey
f9f162f499 Default is now zero again. 2019-01-09 17:13:43 +00:00
Richard Davey
80b14368c1 Refactored how snap is applied and consolidated the fit and envelope methods into one. 2019-01-09 14:19:17 +00:00
Richard Davey
e7fcc0bb1a Finished the Size component and JSDocs. 2019-01-09 00:16:36 +00:00
Richard Davey
92396ba9d8 Finalizing the Size component 2019-01-08 23:07:54 +00:00
Richard Davey
ad0e2a6435 Refactoring the Size component 2019-01-08 17:23:20 +00:00
Richard Davey
874929d807
Merge pull request #4250 from jcyuan/Branch_v3.15.1
doc improvement & minor bug fix
2019-01-04 13:15:20 +00:00
Omar Shehata
9abb11cba5 Remove unecessary type description 2018-12-26 10:51:01 -05:00
Richard Davey
cc280d8950 Removed dead code 2018-12-21 02:47:10 +00:00
Richard Davey
ef0b18f88b If a Map entry exists, it is updated with the new value, rather than skipped. 2018-12-20 12:12:49 +00:00
Richard Davey
52519a1932 Updated docs and added envelope method. 2018-12-20 12:12:31 +00:00
J.C
580cc36ad4
Merge branch 'master' into Branch_v3.15.1 2018-12-20 12:42:25 +08:00