认识 ct.js,全新 2D 游戏编辑器
ct.js 通过其可视化工具, 良好的文档和灵活的模块化库, 使学习编程变得有趣, 游戏开发变得容易.
它是免费的, 开源的, 深受业余爱好者, 专业人士, 教师和他们的学生的喜爱.
下载 v5.1.0![](/img/HomepageScreenshot.png)
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.
创造任何类型的游戏
射击游戏, 街机游戏, 冒险游戏, 生存游戏, 解谜游戏, 视觉小说 — 你来定义!
ct.js 拥有制作游戏所需的一切
具有贴图支持的房间/关卡编辑器
具有错误处理功能的集成代码编辑器
街机碰撞和 2D 物理库
帧动画, 滚动动画, 9-patch 支持以及更多
具有随机效果的音乐和声音管理器
粒子系统, 着色器和照明系统
侧面板笔记和文档, 随时随地
能够使用自定义JavaScript或TypeScript
易于打包和部署
加入游戏开发的世界
完全免费!
Ct.js' patrons
Business cats
Cats
GAKONS
Vint Prox
People who donated to ct.js
Дмитрий Елисеев
Michael Relkowski
GAKONS
Alexandr Chubutkin