Skip to content

Commit

Permalink
Merge commit '52e115173e9d156320c0dfbd7cde4c3018864f67'
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMyzrailGorynych committed Oct 13, 2024
2 parents 24c30eb + 52e1151 commit 1736f4c
Show file tree
Hide file tree
Showing 77 changed files with 2,189 additions and 149 deletions.
43 changes: 43 additions & 0 deletions app/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
## v5.2.0

*Sun Oct 13 2024*

### ✨ New Features

* Add methods `u.distance`, `u.direction` (For Catnip, these can be found in Utilities category)
* Object list panel for room editor's select mode, plus hover effect on copies and tiles

### ⚡️ General Improvements

* Add a menu in the app's settings to change app's UI font to Open Dyslexic or Comic Relief
* Catnip: Add "set visibility" block
* Catnip: improve block names for the Place catmod
* Create missing properties and variables when copying Catnip blocks from one asset to another (and in other similar cases)
* Improve how backgrounds and scrolling textures wrap themselves. Closes #535
* Limit the amount of names the confirmation dialog shows when deleting several assets in the asset-browser tag.
* :globe_with_meridians: Update Chinese Simplified translation (#534 and #536 by @emaoshushu)
* :globe_with_meridians: Update Brazilian Portuguese translation (made by Henrique aka hlbarone on Discord)

### 🐛 Bug Fixes

* Catnip: Fix walkOverScript ignoring values in commands' arguments
* Catnip: Hide templates.killRecursive block as it is an internal API
* Fix an extra copy/tile appearing while using a rectangular fill in room editor
* Fix not being able to copy multiple blocks in catnip
* Fix overflowing content exceeding window boundaries in alertify modals. Closes #537
* Fix repeated import of same-named images (or the same image) leading to textures with identical names, which broke exports
* Fix rooms' tile editor not accepting 0 as tile layer depth
* Fix sprited counters not rendering in room editor
* Fix tabs with room editor not opening again if this room editor has an event editor open
* Fix values in room editor's entities properties panel not updating when selecting new copies or tiles
* Fix wrong initial values for rooms' camera restriction boundaries

### 🌐 Website

* :zap: New layout for engine's features
* :bug: Fix issues with package icon and rounded corners on main page's grid layour
* :fire: Remove old translation keys for the homepage
* :zap: :globe_with_meridians: Update wording in the homepage's introductory text for Russian locale
* :zap: Display games from static APIs in the homepage
* :zap: Improve illustration position on various screens

## v5.1.0

*Sat Jul 20 2024*
Expand Down
27 changes: 20 additions & 7 deletions app/data/ct.libs/place/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ declare namespace place {
* @param {number} x The x coordinate to check, as if `me` was placed there.
* @param {number} y The y coordinate to check, as if `me` was placed there.
* @param {String} [cgroup] The collision group to check against
* @catnipName place is free for copy
* @catnipName_Ru место для копии свободно
*/
function free(me: Copy, x: number, y: number, cgroup?: string): boolean;

Expand All @@ -102,7 +104,6 @@ declare namespace place {
*
* @param {Copy} me The object to check collisions on
* @param {String} [cgroup] The collision group to check against
* @catnipName_Ru свободно
*/
function free(me: Copy, cgroup?: string): boolean;

Expand All @@ -116,7 +117,8 @@ declare namespace place {
* @param {String} [cgroup] The collision group to check against
* @returns {Copy|PIXI.Sprite|false} The collided copy or tile, or `false`
* if there is no collision.
* @catnipName_Ru занято
* @catnipName occupying object for
* @catnipName_Ru занимает место для
*/
function occupied(me: Copy, x: number, y: number, cgroup?: string):
Copy | PIXI.Sprite | false;
Expand All @@ -129,12 +131,11 @@ declare namespace place {
* @param {String} [cgroup] The collision group to check against
* @returns {Copy|PIXI.Sprite|false} The collided copy, or `false`
* if there were no collisions.
* @catnipName_Ru занято
*/
function occupied(me: Copy, cgroup?: string): Copy | false;
/**
* @catnipName all occupying
* @catnipName_Ru все занимающие место
* @catnipName all occupying for
* @catnipName_Ru все занимающие место для
*/
function occupiedMultiple(me: Copy, cgroup?: string): Array<Copy|PIXI.Sprite> | false;
function occupiedMultiple(me: Copy, x: number, y: number, cgroup?: string):
Expand Down Expand Up @@ -240,7 +241,8 @@ declare namespace place {
* @param {string} template The name of the template against which copies
* the distance will be measured
* @catnipAsset template:template
* @catnipName_Ru ближайший
* @catnipName nearest copy to point
* @catnipName_Ru ближайшая копия к точке
*/
function nearest(x: number, y: number, template: string): Copy | false;

Expand All @@ -251,7 +253,8 @@ declare namespace place {
* @param {string} template The name of the template against which copies
* the distance will be measured
* @catnipAsset template:template
* @catnipName_Ru наиболее удалённый
* @catnipName furthest copy to point
* @catnipName_Ru самая дальняя копия к точке
*/
function furthest(x: number, y: number, template: string): Copy | false;

Expand Down Expand Up @@ -336,6 +339,8 @@ declare namespace place {
* If omitted, will trace through all the copies in the current room.
* @param {boolean} [getAll] Whether to return all the intersections (true),
* or return the first one.
* @catnipName trace a line
* @catnipName_Ru проброс линии
*/
function traceLine(line: ICtPlaceLineSegment, cgroup: string|false, getAll: true):
Array<Copy|PIXI.Sprite>;
Expand All @@ -352,6 +357,8 @@ declare namespace place {
* If omitted, will trace through all the copies in the current room.
* @param {boolean} [getAll] Whether to return all the intersections (true),
* or return the first one.
* @catnipName trace a rectangle
* @catnipName_Ru проброс прямоугольником
*/
function traceRect(rect: ICtPlaceRectangle, cgroup: string, getAll: true):
Array<Copy|PIXI.Sprite>;
Expand All @@ -368,6 +375,8 @@ declare namespace place {
* If omitted, will trace through all the copies in the current room.
* @param {boolean} [getAll] Whether to return all the intersections (true),
* or return the first one.
* @catnipName trace a circle
* @catnipName_Ru проброс круга
*/
function traceCircle(circle: ICtPlaceCircle, cgroup: string|false, getAll: true):
Array<Copy|PIXI.Sprite>;
Expand All @@ -386,6 +395,8 @@ declare namespace place {
* If omitted, will trace through all the copies in the current room.
* @param {boolean} [getAll] Whether to return all the intersections (true),
* or return the first one.
* @catnipName trace a polyline
* @catnipName_Ru проброс ломаной линии
*/
function tracePolyline(polyline: Array<IPoint>, cgroup: string|false, getAll: true):
Array<Copy|PIXI.Sprite>;
Expand All @@ -402,6 +413,8 @@ declare namespace place {
* If omitted, will trace through all the copies in the current room.
* @param {boolean} [getAll] Whether to return all the intersections (true),
* or return the first one.
* @catnipName trace a point
* @catnipName_Ru проброс точки
*/
function tracePoint(point: IPoint, cgroup: string|false, getAll: true):
Array<Copy|PIXI.Sprite>;
Expand Down
Binary file added app/data/fonts/ComicRelief.ttf
Binary file not shown.
Binary file added app/data/fonts/OpenDyslexic-Bold-Italic.woff2
Binary file not shown.
Binary file added app/data/fonts/OpenDyslexic-Bold.woff2
Binary file not shown.
Binary file added app/data/fonts/OpenDyslexic-Italic.woff2
Binary file not shown.
Binary file added app/data/fonts/OpenDyslexic-Regular.woff2
Binary file not shown.
Loading

0 comments on commit 1736f4c

Please sign in to comment.