ct.js v1.0.0-next-3 — Actions system, Russian docs, and tons of fixes and tweaks
Here comes another update! It brings a new Actions system, which unifies different input methods into one convenient API, brings documentation translations for Russian community, and tons of edits and improvements in docs, ct.IDE and its UI. It also fixes the issue with jagged camera movement in "Welcome to the VOID" game, and others that use automatic camera alignment.
Edit: issues with missing legacy versions and dropbox uploads are now fixed.
The road to ct.js v1.0 is a long path, and more tweaks and architectural changes await. Join our discord to follow development news and find other gamedevs.
Ct.js is a free software and its development is supported by donations. You can name your own price on itch.io, or support the developers on Patreon page.
Changelog
✨ New Features
- Introduce Actions — a new unified system for any input methods
⚡ General Improvements
- Add a pool for killed copies to limit garbage collection calls
- Remove non-existent modules from a project, if there are such
🍱 Demos and Modules
- Add keyboard.polyfill for IE and old browsers. Enable it by default in new projects
- Update demos and tutorials
🐛 Bug Fixes
- Bundle scripts of catmods on one level with ct.js (this solves issues with itch.io and GameJolt games)
- Clarify a cryptic error that appears if one provides a non-existing type name to
ct.types.copy
- Clear input value to be able to reselect the same font
- Display a catmod's license on the "Info" tab
- Fix a font not showing up after being renamed
- Fix an issue when you can't import the same texture twice in a row
- Fix ct.mouse.down not working
- Fix ct.room.followDrift overshooting on low values and low FPS
- Fix ct.touch that used
ct.width
andct.height
instead ofct.viewWidth
andct.viewHeight
, resulting in incorrect coordinates on some scaling methods - Fix ct.u.ext not returning the extended object
- Fix flawed
this.xprev
,this.yprev
handling in ct as it is and in ct.place - Fix UI problems of font deletion
- Fix importing font on Windows
- Fix mouse coordinates not updating on view shift (in-game)
- Fix non-working "Open" options in context menus for rooms, sounds and textures
- Fix wrong calculation of rotated rects in ct.place, that turned rectangles into points
- Prevent unwanted name change when importing a sound
- Remove this.updateList(); call that caused a UI update error after deleting a font
- Update ace.js autocomplete list
- Update graphics, sounds, rooms panels after opening a project from a hamburger menu
- Update shape and anchor of a copy while changing a texture
- Update the type picker in the room editor after deleting a type
- Refresh the preview immediately when activating fill and selecting diffuse in a style
💄 UI Improvements
- 🎨 Rename "graphic assets" into "Textures"
- Add a zoom control to graphics editor
- Add an icon in the module info that shows that a module provides additional input methods
📝 Docs & Tutorials
- Add an example to ct.inputs.addAction
- Document actions and ct.inputs
- Document ct.sound.playing
- Document ct.vkeys
- Document the way of adding new input methods with catmods
- Fix
ct.keyboard.clear();
docs - Provide docs for the new ct.mouse
- Rename "Graphic assets" into "Textures"
- Tons of minor fixes in tut-making-platformer
- Update Platformer_tutorial
- Update Space Shooter tutorial
- ⚡️ Add a link to ct.u that shows a difference between a shallow and a deep copy
- ⚡️ Clarify ct.u.unlerp
- ⚡️ Minor fixes and clarifications at Making Space Shooter tutorial
- ⬆️ Update vuepress to 1.0@next
- 🌐 Add ct.md for Ru locale
- 🌐 Add readme.md and tut-making-platformer fot RU locale
- 🌐 Translate "Making Space Shooter" tutorial to Russian
- 🌐 Translate catmoddocs.md to Ru
- 🌐 Translate ct.inputs.md to Ru locale
- 🌐 Translate ct.res.md to Ru locale
- 🌐 Translate ct.rooms.md to Ru locale
- 🌐 Translate ct.sound.md to Ru locale
- 🌐 Translate ct.styles.md to Ru locale
- 🌐 Translate ct.types.md to Ru locale
- 🌐 Translate ct.u.md to Ru locale
- 🐛 Move a note about event sequence and
this.kill
to the right place at ct.types.md - 🐛 Update ct.md to reflect v1.0
- 🐛 Update ct.res.md
- 🐛 Update description of ct.rooms.switch
- 💥 Remove ct.mouse. Document the change in the migration guide.
👽 Misc
- ⌛ Provide docs for ct.mouse.legacy
- ⌛ Add a legacy version of ct.keyboard
- ⌛ Connect legacy versions of ct.keyboard and ct.mouse to older projects
- ✏ A typo in autocompletion: ct.types.addSpeed has (copy, speed, dir) parameters
- 🍎 Add long-press menus for Mac
Files
Get Ct.js game engine
Ct.js game engine
Create cool 2D games with a free game maker!
Status | In development |
Category | Tool |
Author | Cosmo Myzrail Gorynych |
Tags | 2D, ctjs, gamedev, game-development, Game engine, GameMaker, html5, javascript, Moddable, nwjs |
Languages | German, English, Spanish; Castilian, French, Romanian Moldavian Moldovan, Russian, Ukrainian, Chinese (Simplified) |
Accessibility | High-contrast |
More posts
- v5.2.1 — Bug fixes and improvements to Catnip19 days ago
- v5.2.0 — Object list in room editor and general improvements41 days ago
- Announcing the 4th ct.js game jam!Aug 13, 2024
- v5.1.0 — Enumeration asset type, asset searchbar, and QoL improvementsJul 20, 2024
- v5.0 releases with a visual programming language Catnip!Jun 15, 2024
- Ct.js v4.0.1 — minor bug fixes and improvementsFeb 18, 2024
- Ct.js v4.0.0 — more than a year worth of work with hundreds of new features an...Feb 10, 2024
- Ct.js v3.3.0Dec 13, 2023
- v3.2.0 — Support for CoffeeScript, a simple, easy to write language that can d...Dec 25, 2022
- Work in progress: CoffeeScript in ct.js!Nov 20, 2022
Leave a comment
Log in with itch.io to leave a comment.