Skip to content

Commit

Permalink
Merge commit '745eb3b21334829ad78107de324577cf66d43c2d' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMyzrailGorynych committed Jun 15, 2024
2 parents f5220d0 + 745eb3b commit 019a13d
Show file tree
Hide file tree
Showing 17 changed files with 180 additions and 3 deletions.
115 changes: 115 additions & 0 deletions app/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,118 @@
## v5.0.0

*Sat Jun 15 2024*

### ✨ New Features

* Add a custom error display in games so players can more easily report failures. Add a toggle to disable error reporting in-game and a field to specify a custom repor link.
* Add a method `tween.value` to the `tween` catmod, and add a Catnip block to animate arbitrary computed values.
* Add an option to main menu to autoapply asset changes before launching a game
* Add community's learning resources and games to the starting screen
* Allow using bitmap labels in buttons and textboxes, and introduce a new base class for Bitmap Text labels. Add an option to increase bitmap font rendering that fixes issues with bitmap fonts
* Behaviors: add Behavior added and Behavior removed events
* Context menu item for styles to create a template with a Text base class from it
* Customize debugger's layout: split-screen, multi-windowed, and automatic (based on the screen count)
* New programming language: Catnip
* New UI themes:
* Alma Sakura
* Golden Eye
* One Dark Pro
* Synthwave '84
* `room.makeCopyAligned` and `room.makeCopyAlignedRef` methods to dynamically add copies that align to camera's boundaries, in the same way you set up them in room editor's UI tools.
* Specify additional typedefs for JS properties of behaviors, templates, and rooms. Available for JavaScript projects only.

### ⚡️ General Improvements

* :bento: Update the `light` catmod for ct.js v5
* Add `'neutralino'` case to `u.getEnvironment` (Closes #517)
* Add additional checks for extended fields and fields in asset types. Fixes not being able to use array fields for asset types in content schemas
* Align table cells to the top
* Improve layout of project scripts
* Improve performance of afterDraw injection of matter.js catmod
* Internal: `'always strict'` on ct.IDE's compiled TS files
* Internal: Enforce stricter type checks in ct.js client library
* Internal: Bundle most node_modules and ct.IDE's scripts into one file. This makes loading ct.IDE faster, as well as reduces the bundle size and install time. It also drops `--mixed-context` nw.js flag.
* Internal: Update `nw-builder` to v4.7.4
* Limit max project name length
* Relayout the debugger screen to open the console in another window. Solves issues with JS breakpoints and "stop on exception" button
* Remember opened assets when a project is saved, and reopen them when a project is loaded
* Rename "editor" to "engine" in the ct.js' devtools banner
* Replace `resedit-cli` with `resedit` for ct.IDE: removes dependency for node.js in desktop exporter.
* Rework ct.js games' CSS to be less invasive to 3rd-party widgets and such
* Rework font asset type into typefaces
* Update patrons screen and move its logic into a module
* Update QR code generator for game debugger

### 🐛 Bug Fixes

* Add a safeguard to `tween.add` to not update values if the animated object was `kill`ed.
* Add proper handling of missing event declaration. Warn user about events that use missing catmods when exporting a project and in a template editro
* Fix `updateWindowMenu` error appearing on non-MacOS devices
* Fix ancient settings for monaco editor that showed errors on ES5+ features
* Fix being able to get several context menus by right-clicking other stuff with an already opened menu
* Fix being able to select game canvas on iOS browsers
* Fix built-in asset gallery not being accessible on Mac
* Fix canvases and code editors in tandem, style, room and scriptable editors disappearing after opening a tab -> switching to another one -> resizing window -> going back to the tab with a code editor or a pixi.js canvas.
* Fix cases when content types' typedefs were not updated
* Fix copy alignment being bound to copy-pasted copies in the room editor
* Fix copy rearrangement effects resetting upon reopening a room.
* Fix emitter's rectangular shapes being misaligned
* Fix error spam about uninicialized position and scale changes in `room-entities-properties`
* Fix monaco-editors hotkeys for changing font size
* Fix old current room name in `templates.copy` documentation
* Fix SnapTarget in room editor interfering with clicks on canvas
* Fix `templates.each` method. It can also be used with arrow function now, too, as it passes a copy to the first argument of your function.
* Fix textboxes' html inputs remaining on screen when a room changes
* Fix the `tween` catmods throwing errors despite using the `silent: true` option or `.catch` handlers
* Internal: Fix `gulp docs` failing on windows with new node.js versions
* Internal: Fix context-menu tags overwriting their `ref` attribute with "root"
* Internal: Fix devSetup.gulpfile.js failing on Node.js v20.13+ and Windows
* Internal: Rename properties of context-menu tag so it doesn't pull in global values
* Make monaco-editor pass Ctrl+S, F5 & Alt+F5 hotkeys to ct.IDE so you can save/launch projects while in a code editor
* Minor visual fixes for tabs
* Prevent dragging sound thumbnails in the sound editor

### 🍱 Demos, Dependencies and Stuff

* Gallery: Add textures for buttons and panels
* Add tutorial projects ported to Catnip by @firecakes
* Add a Catnip example of LabRaid
* Pull the latest docs
* Rename examples by tagging them with used language, remove two unsupported examples
* Update Comments and Debug translation files
* Update the list of boosters

### 📝 Docs

* :bug: Example code error (Follow a copy of a template called "Character") Fixes #133
* :bug: Grammar fixes on homepage
* :bug: Make the patrons list centered
* Add a patron list to README.md
* Add Catnip examples to ct.js tutorials
* Add Learn Catnip category
* 100% russian documentation translation
* Move a couple comments in catnip's declarationExtractor to a proper place

### 🌐 Website

* :bug: Fix the broken "games made with ct.js section", put a button to submit a game
* :bug: Set unique names for forms
* :construction: I may have summoned demons
* :globe_with_meridians: Add Chinese Simplified translation (#44 by @emaoshushu)
* :globe_with_meridians: Add Japanese translation (#45 by @taxi13245)
* :sparkles: Add forms for submitting games and learning resources
* :sparkles: Create an embeddable widget with supporters
* :zap: Add a honeypot for all the fields
* :zap: Add patrons panel to homepage
* :zap: Update wording on the homepage
* Add a nice language comparison thingie

### 👾 Misc

* :fire: Internal: Delete now unused `app/projects` folder from the repo
* :fire: Internal: Remove the `DragonBones` submodule
* :globe_with_meridians: Update Russian UI translation file

## v4.0.2
*Sun Feb 25 2024*

Expand Down
1 change: 1 addition & 0 deletions src/examples/2D Physics (JavaScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -3903,3 +3903,4 @@ assets:
lastmod: 1704096254823
uid: d7r5Pw9Q4dMTBF
extendTypes: ''
globalVars: []
1 change: 1 addition & 0 deletions src/examples/Catsteroids (JavaScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -6586,3 +6586,4 @@ assets:
uid: 8Q7GFCD51PWH6L
origname: f8Q7GFCD51PWH6L.ttf
name: PressStart2P
globalVars: []
1 change: 1 addition & 0 deletions src/examples/Greed platformer (JavaScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -4034,3 +4034,4 @@ assets:
behaviors: []
textStyle: ad511489-1f25-4d45-bbe8-7f33d08257e4
extendTypes: ''
globalVars: []
3 changes: 3 additions & 0 deletions src/examples/JettyCat (Catnip).ict
Original file line number Diff line number Diff line change
Expand Up @@ -2883,6 +2883,8 @@ settings:
tandem: false
script: false
typefaces: !<tag:yaml.org,2002:js/undefined> ''
showErrors: true
errorsLink: ''
branding:
accent: '#446adb'
invertPreloaderScheme: true
Expand All @@ -2895,3 +2897,4 @@ settings:
customLoadingText: ''
fps: 30
palette: []
globalVars: []
1 change: 1 addition & 0 deletions src/examples/JettyCat (JavaScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -1773,3 +1773,4 @@ assets:
uid: pt550aaadb2b36
lastmod: 1699521109972
type: tandem
globalVars: []
3 changes: 3 additions & 0 deletions src/examples/LabRaid shooter (Catnip).ict
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ settings:
tandem: false
typefaces: !<tag:yaml.org,2002:js/undefined> ''
autocloseDesktop: true
showErrors: true
errorsLink: ''
branding:
icon: 4822a271-cc3c-4d88-b7a0-b2aa4cab0a96
accent: '#446adb'
Expand Down Expand Up @@ -14244,3 +14246,4 @@ assets:
behaviors: []
extendTypes: ''
properties: []
globalVars: []
1 change: 1 addition & 0 deletions src/examples/LabRaid shooter (CoffeeScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -12710,3 +12710,4 @@ assets:
follow: -1
behaviors: []
extendTypes: ''
globalVars: []
1 change: 1 addition & 0 deletions src/examples/LabRaid shooter (JavaScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -12844,3 +12844,4 @@ assets:
repeaterSettings:
defaultCount: 3
extendTypes: ''
globalVars: []
1 change: 1 addition & 0 deletions src/examples/Memocats (JavaScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -1321,3 +1321,4 @@ assets:
padding: 1
tiled: true
type: texture
globalVars: []
26 changes: 25 additions & 1 deletion src/examples/MoveBlocks (JavaScript).ict
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ctjsVersion: 4.0.0-next-4
ctjsVersion: 5.0.0
notes: |-
/*
Things to note here:
Expand Down Expand Up @@ -60,6 +60,9 @@ settings:
sound: false
style: false
tandem: false
typefaces: !<tag:yaml.org,2002:js/undefined> ''
showErrors: true
errorsLink: ''
branding:
icon: 25177c05-61f8-491f-be4f-c82bc90ed58c
accent: '#446adb'
Expand Down Expand Up @@ -117,6 +120,7 @@ assets:
right: 16
bottom: 16
style: -1
extendTypes: ''
- name: Pipe_H2
depth: 0
texture: 5084d2e9-a66e-4e22-9828-ee936473cbfc
Expand All @@ -142,6 +146,7 @@ assets:
right: 16
bottom: 16
style: -1
extendTypes: ''
- name: Pipe_H3
depth: 0
texture: 614ef931-af6d-4da3-8147-6fb3c0457dac
Expand All @@ -167,6 +172,7 @@ assets:
right: 16
bottom: 16
style: -1
extendTypes: ''
- name: Pipe_H4
depth: 0
texture: fe8ec368-af9d-4351-917e-b0527c7470c4
Expand All @@ -192,6 +198,7 @@ assets:
right: 16
bottom: 16
style: -1
extendTypes: ''
- name: Pipe_V2
depth: 0
texture: 84deaf6c-1e30-46ab-9770-ad7f20c54158
Expand All @@ -218,6 +225,7 @@ assets:
right: 16
bottom: 16
style: -1
extendTypes: ''
- name: Pipe_V3
depth: 0
texture: 7e9843af-2842-414b-9063-14c08f547c6b
Expand All @@ -244,6 +252,7 @@ assets:
right: 16
bottom: 16
style: -1
extendTypes: ''
- name: Pipe_V4
depth: 0
texture: 2f19f39b-25bb-43cd-ab03-108bd9418695
Expand All @@ -270,6 +279,7 @@ assets:
right: 16
bottom: 16
style: -1
extendTypes: ''
- name: KeyTile
depth: 0
texture: 25177c05-61f8-491f-be4f-c82bc90ed58c
Expand All @@ -295,6 +305,7 @@ assets:
right: 16
bottom: 16
style: -1
extendTypes: ''
- name: PuzzleBlocks
oncreate: ''
onstep: ''
Expand Down Expand Up @@ -2081,6 +2092,7 @@ assets:
isUi: false
follow: -1
behaviors: []
extendTypes: ''
- name: PuzzleBlocks_Simple
oncreate: ''
onstep: ''
Expand Down Expand Up @@ -3768,6 +3780,7 @@ assets:
isUi: false
follow: -1
behaviors: []
extendTypes: ''
- name: Wood_Start
uid: 42e768ce-6c19-4c34-9f14-11e257ecff18
lastmod: 1703584454693
Expand Down Expand Up @@ -3819,6 +3832,9 @@ assets:
max: 1
- min: -1
max: 1
panning:
refDistance: 0.5
rolloffFactor: 1
- name: Wood_End
uid: 55aa6dac-1071-4725-bdc8-b68d98ac72bf
lastmod: 1703584454693
Expand Down Expand Up @@ -3870,6 +3886,9 @@ assets:
max: 1
- min: -1
max: 1
panning:
refDistance: 0.5
rolloffFactor: 1
- name: Success
uid: 2e225de2-b896-4a53-a302-4d2b7ad26dee
lastmod: 1703584454693
Expand Down Expand Up @@ -3921,6 +3940,9 @@ assets:
max: 1
- min: -1
max: 1
panning:
refDistance: 0.5
rolloffFactor: 1
- name: Pipe_H2
untill: 0
grid:
Expand Down Expand Up @@ -4290,3 +4312,5 @@ assets:
readableName: Users can move this tile
lastmod: 1703589268060
uid: PBq9qHtpB2z6N2
extendTypes: ''
globalVars: []
3 changes: 3 additions & 0 deletions src/examples/Platformer Tutorial (Catnip).ict
Original file line number Diff line number Diff line change
Expand Up @@ -15000,6 +15000,8 @@ settings:
tandem: false
script: false
typefaces: !<tag:yaml.org,2002:js/undefined> ''
showErrors: true
errorsLink: ''
branding:
accent: '#446adb'
invertPreloaderScheme: true
Expand All @@ -15012,3 +15014,4 @@ settings:
customLoadingText: ''
fps: 30
palette: []
globalVars: []
1 change: 1 addition & 0 deletions src/examples/Platformer Tutorial (JavaScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -14705,3 +14705,4 @@ assets:
follow: -1
behaviors: []
extendTypes: ''
globalVars: []
1 change: 1 addition & 0 deletions src/examples/Space Shooter (Catnip).ict
Original file line number Diff line number Diff line change
Expand Up @@ -1550,3 +1550,4 @@ settings:
customLoadingText: ''
fps: 30
palette: []
globalVars: []
1 change: 1 addition & 0 deletions src/examples/Space Shooter (JavaScript).ict
Original file line number Diff line number Diff line change
Expand Up @@ -854,3 +854,4 @@ assets:
textStyle: 4f2f6d4b-a339-4e30-98f3-80db10aafc4f
defaultText: 'Score: 60063'
extendTypes: ''
globalVars: []
Loading

0 comments on commit 019a13d

Please sign in to comment.