Skip to content

Getting Started

  1. Copy addons/ascendere into your project’s addons/ folder.
  2. Enable the plugin in Project Settings > Plugins.
  3. Systems initialize automatically on scene load.

Register a service with the [Service] attribute:

[Service]
public class MyService : Node
{
public void DoThing() { }
}

Then resolve it anywhere in your code:

var svc = Services.Get<MyService>();
svc.DoThing();

Define an event type:

public record PlayerDied(string PlayerName);

Subscribe to it:

EventBus.Subscribe<PlayerDied>(e => GD.Print($"{e.PlayerName} died"));

Publish it:

EventBus.Publish(new PlayerDied("Hero"));