Creating Games

C# Scripting

Scripts, scene transitions, and game logic.

C# Scripting

Amza Studio Game Engine uses C# scripting concepts for application and gameplay logic. Exact engine API signatures depend on the editor release and should be verified against the installed scripting reference.

A Familiar Language

C# supports object-oriented design, events, and reusable components. Scripts can be organized by responsibility, such as player movement, inventory, level transitions, and UI actions.

Illustrative C# Example

The following is standard C# syntax, not a guaranteed engine API example:


public sealed class PlayerState
{
    public int Score { get; private set; }
    public void AddScore(int points) => Score += points;
}

Scene Transitions

Pass only the data necessary for the next scene. Store persistent gameplay state in a dedicated, well-defined object rather than coupling unrelated scenes.

API Reference

Detailed, version-verified engine method signatures will be added as they are validated against release source. Avoid copying speculative API calls into production gameplay.