Releases: ct-js/ct-js-old
Releases · ct-js/ct-js-old
Virtual joysticks, new UI theme, 3D audio, and more!
🐛 Bug Fixes
- Debugger should never run in fullscreen mode
- Fix broken packages for macOS
- Fix MacOS access issues
- Fix
ct.sound.globalVolume
method - Fix Ctrl-plus and Ctrl-minus hotkeys on code editors
- Fix improper archives generated by "export to zip" command
- Fix migration code that was re-applied on already updated/newly created projects
- Fix module settings panel not working for modules with dots in their name
- Fix security issues in npm packages
- Fix unstable movement under different FPS in the Catformer example
📝 Docs
- Add an entry about pausing a game, in "Tips & tricks"
- Document
ct.sound.spawn
options forct.sound.howler
- Make the vague description of
ct.sound.howler
use relative toct.sound
more clear - Fix links that led to a now deprecated name of
PIXI.AnimatedSprite
🍱 Examples & Demos
- Add a scale-in animation to cards in Memocats example
- Refresh Catformer project file
⚡ General improvements
- Add a parameter for
ct.touch.hovers
to ease handling touchend (touch release) events. - Add a party carrot to the "new version available" notice at the starting screen
- Add
ct.delta
to code completions - Add
ct.touch.enabled
property to determine whether a device is using touch events - Better alignment of the project selector
- Better highlighting of paired brackets, by @qualitymanifest
- Better QR code legibility on dark themes in the integrated debugger
- Catch the case of
mouse.legacy
with manually updated projects made in a dev version between next-2 and next-3 ct.sound.howler
: Updatehowler.js
to v2.1.2- Enable local code completions
- Make ct.js message in console even prettier
- Update PIXI to v5
- Set a max width to a project selector, so that it is usable on smaller screens
🌐 Internationalization
- Add a German translation by Wend1go from GitHub.
- Add a Spanish translation by FoxamStudios (Stunx from Discord).
- Add a Romanian translation by andithemudkip aka ((andi)) from Discord.
Nice work, mates!
✨ New Features
- Add a
ct.cutscene
module - Add a setting control to support retina screens
- Add a settings field for max FPS
- Add an ability to set a custom font for code editors, currently by devtools only with
localStorage.fontFamily = '...'
- Add
ct.flow
module for easier asynchronous flow control - Add
ct.u.degToRad
,ct.u.radToDeg
- Add virtual joysticks to
ct.vkeys
- Control the rate of sounds at ct.sound.spawn
- Horizon UI theme
- Spacial plugin for Howler.js: add 3D sounds to the ct.sound.howler module
- Support
ct.touch
module inct.vkeys
- Update
ct.touch
to v2.0.0: support for Actions system, pinch, rotation and panning gestures