EasyUniversal / DocsДокументация · SDK 0.3Подписка Universal ↗
Easy Universal / Примеры и шаблоны

examples/adapter-demo/source.as

AngelScript · native runtime · локальная сборка
// This source supplies synthetic meter-space positions, not game data.
void collect_fixture() {
    if (!adapter::source_available()) {
        adapter::set_status("unavailable", "Synthetic source not declared");
        return;
    }
    if (!adapter::set_status("ready")) return;
    // Convert fixture screen coordinates to a deliberately simple meter space.
    adapter::add_entity(1, "Fixture A", demo::x() / 100, 0, 0, 100, 1);
    adapter::add_entity(2, "Fixture B", 3, 2, 0, 50, 2);
}
Easy Universal — отдельный проект. Easy External не изменён.