认识 ct.js,全新 2D 游戏编辑器

ct.js 通过其可视化工具, 良好的文档和灵活的模块化库, 使学习编程变得有趣, 游戏开发变得容易.

它是免费的, 开源的, 深受业余爱好者, 专业人士, 教师和他们的学生的喜爱.

下载 v5.1.0

Three programming languages. Same powers. Yours to choose.

JavaScript & TypeScript

JavaScript is the language of the web, and optional TypeScript features provide rich coding tools.
// Event for a collision with a bullet
var damage = 5;
// 15% crit chance!
if (random.chance(15, 100)) {
    damage *= 2;
}
this.hp -= damage;

// Destroy the projectile
other.kill = true;

if (this.hp <= 0) {
    this.kill = true;
}

CoffeeScript

A python-like language with a concise and beginner-friendly syntax.
# Event for collision with a bullet
damage = 5

# 15% crit chance!
if random.chance 15, 100
    damage *= 2

@hp -= damage

# Destroy the projectile
other.kill = true

if @hp <= 0
    @kill = true

Catnip

A visual programming language made specially for ct.js that works similarly to Scratch, but better.
SetdamagevalueIfrandom chance
Setdamagevaluedamage×
Decreasehpbydamage Destroy the projectileWith copyother
Destroy this copy
Ifhp
Destroy this copy

创造任何类型的游戏

射击游戏, 街机游戏, 冒险游戏, 生存游戏, 解谜游戏, 视觉小说 — 你来定义!

Ill Fated

这是一款吸血鬼-幸存者风格的射击游戏, 你的角色只会随着时间的推移而变得越来越弱. 抵挡无尽的怪物, 看看在你屈服于敌人之前你能得到多少诅咒.

Vacation of Fusion

这是一款轻松的岛屿建造游戏, 你可以混合各种元素来创造新的贴图. 具有创意模式, 卡通图形和自拍模式!

Welcome to the VOID

一个关于重启宇宙的故事. 在无尽的黑暗宇宙中畅游, 参与太空战斗, 登陆行星进行探险任务, 探索失落的科技.

ct.js 拥有制作游戏所需的一切

具有贴图支持的房间/关卡编辑器

具有错误处理功能的集成代码编辑器

街机碰撞和 2D 物理库

帧动画, 滚动动画, 9-patch 支持以及更多

具有随机效果的音乐和声音管理器

粒子系统, 着色器和照明系统

侧面板笔记和文档, 随时随地

能够使用自定义JavaScript或TypeScript

易于打包和部署

加入游戏开发的世界

完全免费!

我们的合作伙伴

Mini Jam 是在itch.io上每两周举办一次的开放式游戏jam. 加入他们的Discord服务器访问他们的官方网站!

Ct.js' patrons

Business cats

Leo🦁

Cats

GAKONS
Vint Prox

People who donated to ct.js

Дмитрий Елисеев
Michael Relkowski
GAKONS
Alexandr Chubutkin

Become a patron

帮助 ct.js 成长!

分享给你的朋友