Skip to content
AdaEnginePublic

About

Cross-platform 2D and 3D game engine written on Swift. Windows, Apple and more.

Topics

Resources

Contributing

Stars

232 stars

Watchers

5 watching

Forks

Repository files navigation

Ada logo

License Ask DeepWiki

What is Ada?

AdaEngine is a game engine written in Swift for building 2D and 3D games and user interfaces. It combines a data-oriented ECS, rendering, physics, animation, and AdaUI. Build games in Swift, or use AdaScript with Ada Studio.

Games made with AdaEngine

Skeletal Garden

Skeletal Garden is a playable 3D demo with animated characters, textured props, lighting, shadows, and a landscape to explore.

Garden: animated yellow robots in a courtyard with trees, textured props, and shadows

Explore the whole garden

Garden overview: wooded hills, paths, and a central courtyard

2D Demo

Medieval Arena is a pixel-art arena game with tile maps, movement, sword combat, and multiplayer gameplay written in AdaScript.

2D Demo — Medieval Arena: a knight with three hearts inside a pixel-art arena

Ada Studio

Ada Studio is the companion editor for AdaEngine. Create projects, edit code and scenes, and run your games from a desktop or mobile workspace.

See the editor guide for workspace navigation and panel resizing.

See Studio build targets and launch settings to configure local runs and exports.

Ada Studio Desktop Ada Studio Mobile
Ada Studio Desktop in a MacBook frame, showing a live scene workspace, entity hierarchy, and component inspector Ada Studio Mobile in an iPhone frame, showing the current project library and a preview captured from Medieval Arena Play

Build and install Ada Studio from the repository root:

# Windows: %LOCALAPPDATA%\Programs\Ada Studio, with a Start menu shortcut
./script/install_studio_windows.cmd
# macOS: /Applications/Ada Studio.app
bash script/install_studio_macos.sh

Windows uses the Studio build prerequisites. macOS requires Xcode, XcodeGen and the editor's build dependencies. Both scripts build Release and install the complete standalone application. Close Studio before updating. Add -Launch (Windows) or --launch (macOS) to open it after installation.

To install an existing build, pass -SourcePath 'path/to/extracted-release' on Windows or --source '/path/to/Ada Studio.app' on macOS. Windows release ZIPs also include install_studio_windows.cmd for installation by double-click after extraction. Override the destination with -InstallDirectory (the app folder) on Windows or --destination (the Applications folder) on macOS; for a per-user Mac install, use --destination "$HOME/Applications".

Design Goals

  • Capable: Offer a complete 2D feature set.
  • ECS: Ada is based on the data-oriented paradigm using a self-written ECS. Ada has been inspired by Apple's RealityKit framework.
  • Simple: Ada is easy to use, and our main goal is to enable a quick start and deliver quick results.

📕 Docs

⭐️ Examples

Getting started

We recommend checking out the Create your first project guide for a brief introduction.

To draw a plain window with standard functionality use:

import AdaEngine

@main
struct AdaEditorApp: App {
    var body: some AppScene {
        DefaultAppWindow()
            .windowMode(.windowed)
            .windowTitle("Ada")
    }
}

👥 Community

If you want to discuss this library or have a question about how to use it to solve a particular problem, there are a number of places you can discuss with fellow

  • For long-form discussions, we recommend the discussions tab of this repo.

👨‍💻 Contributing to Ada

You are welcome to contribute to Ada. Currently, it is under development, and we are working towards our roadmap goals. If you find a bug or have some improvements, we would be glad to see your pull request! See CONTRIBUTING.md for details.

🛠️ How to build

See the Building guide for development and integration steps.

Quick start: open Package.swift in Xcode 26.3 or build from the command line with swift build.

For standalone Studio, toolchain setup and web builds, use the cross-platform Python CLI:

python ada_tool.py doctor
python ada_tool.py prepare
python ada_tool.py install studio          # Release Standalone
python ada_tool.py install studio --debug  # Debug alongside Release

Requires Python 3.9+ (python3 on macOS/Linux if needed). See the CLI guide for build, WASM, playground and preview commands.

For editor interaction testing, see Studio interaction flows.

About

Cross-platform 2D and 3D game engine written on Swift. Windows, Apple and more.

Topics

Resources

Contributing

Stars

232 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages