Welcome to the official ct.js docs!
Learn ct.js, complete tutorials, and contribute to ct.js documentation
Learn JavaScript
Games made in ct.js use JavaScript, or simply JS, to code its gameplay logic. Learn the needed part of it in our little Introduction to JS.
Learn JavaScript →Complete tutorials
The best way to learn is by making, and you can create real games with our step-by-step tutorials:
Learn the core library
See additional methods and properties of copies, camera, rooms, and procedurally create tilemaps, backgrounds, and new copies.
Go to ct.js docs →Notable changes and additions in ct.js v3.2
- You can now create projects in CoffeeScript! You will be asked which language to use every time you create a new project. All tutorials, cheatsheets, and documentation pages now have examples both in CoffeeScript and JavaScript!
- Rooms now have a settings field to automatically follow a template, as an alternative to using
ct.room.follow
. - Ulises Freitas released a new catmod for integration with Game Distribution services, adding ads with rewards to your games!
- A new page of the official ct.js cheatsheet was released: Juice! See it here.
- And oh yeah, the documentation site was updated! Enjoy the new theme selector and automatic dark/light mode!
Join the community
Join our Discord server to meet other game developers, receive help, aid others, and share your creations. Alternatively, you can also post on our forum.
Discord Server →Forum →Contribute
Set up a dev environment to run a local docs server and use simple Markdown syntax to write new tutorials and send fixes.
You can also edit docs on Github — look for "Propose edits" links at the bottom of each page!
Visit the repo →