コンポーネント指向 · C#/.NET · MPL 2

C# でゲームを作ろう。

C# コンポーネントとホットリロード Vulkan 1.3 · Silk.NET 自己完結型の配布
Spinner.cs — Assets/Scripts/
namespace Usercode;

public class Spinner : Component
{
    /// Rotation speed in degrees per second — editable in the inspector.
    public float speed = 90f;

    public override void OnUpdate(float deltaTime)
    {
        Node.Transform.SetRotationX(Node.Transform.Rotation.X + speed * deltaTime);
    }
}
terminal
$ turian-cli compile ./my-game
$ turian-cli export ./my-game --standalone
→ cooked 12 assets · compiled game · 1 standalone binary ✓
.NETマネージドランタイム
1全レイヤーで一貫したプログラミング言語
1GPU バックエンド
1単一の自己完結型パッケージ
MPL 2シート料・ロイヤリティ無料
すべてを一つのウィンドウで

ゲームづくりのためのエディター

Turian はビジュアルな編集作業と C#/.NET 10 を組み合わせます。エンジンもゲームコードも同じ言語で書けます。

Visual editor

Scene hierarchy, inspector, asset browser and a live 3D viewport — all in a single window built on the Gaya platform.

Component system

Inherit from Component in any C# class and it appears in the Add Component menu with full field inspection.

Live script discovery

Drop a .cs file into Assets/Scripts and your component shows up immediately — compiled and refreshed while the editor runs.

Asset pipeline

Loads glTF 2.0 / GLB, OBJ, PNG, JPG and more, with GUID-stable references that survive moves and renames.

Headless CLI

turian-cli compile builds your game without opening the GUI — the same pipeline your editor produces, ideal for CI.

Built on .NET 10

A single language from scripts to engine internals: C# on .NET 10, with a Vulkan 1.3 renderer and Guinevere immediate-mode UI.

スクリプティング

コンポーネントは C# クラス

Component を継承するとエディターが認識します。公開フィールドは Inspector に表示され、ライフサイクルのメソッドは必要なときだけ実装できます。

  • コードの検出: エディターは実際の C# をコンパイルし、.NET の診断を利用します。
  • 型付きの Inspector フィールド: float、int、bool、ベクトル、オブジェクトやアセットへの参照を自動表示します。
  • おなじみのライフサイクル — awake, enable, start, update, disable, destroy。

チュートリアルを読む →

Follower.cs — Assets/Scripts/
namespace Usercode;

public class Follower : Component
{
    /// Drag a GameObject from the Hierarchy onto this field.
    public NodeRef target = new();
    public float speed = 4f;

    public override void OnStart()
    {
        var node = target.Resolve();
        if (node is not null)
            Console.WriteLine($"following '{node.Name}'");
    }
}
ゼロからビルド・配布まで

書く。配置する。配布する。

プロジェクトの作成

turian-cli new で初期シーン付きの新規プロジェクトを作成します。

スクリプトと配置

Turian Studio を開き、コンポーネントを追加し、シーンを構成し、インスペクターでフィールドの値をリアルタイムに調整します。

ビルドと共有

turian-cli compile でアセットとコードをビルドし、export で自己完結型の実行ファイルを作ります。

オープンソース · オープンドア

コミュニティに参加する

質問の投稿、作品の共有、エンジンの方向性への提案など、どなたでも大歓迎です。

開発を継続するために

Turian の開発を支援する

Turian は個人で開発しています。ご支援は開発を続け、エンジンを無料でオープンに保つために役立ちます。

何か作ってみませんか?

turian-cli でプロジェクトを作り、Studio で開いて始めましょう。