C# でゲームを作ろう。
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);
}
}
ゲームづくりのためのエディター
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。
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 は個人で開発しています。ご支援は開発を続け、エンジンを無料でオープンに保つために役立ちます。