Pragma Engine Quickstart #
Initial setup #
A full setup guide for getting Pragma Engine up and running is available via GitHub README, which is accessible once onboarding has started.
Connecting to the engine #
Pragma Engine provides engine-native SDKs for Unreal and Unity. These SDKs expose both raw and rich APIs. We maintain a Postman collection that provides example API calls over HTTP + JSON that can be used to test, experiment, and learn the platform APIs.
The engine hosts multiple API gateways serving different clients, including Players, Operators, and Partner services. Each gateway is hosted on its own port, ensuring secure access to trusted gateways.
The Social and Game gateways are designed to accept WebSocket and HTTP traffic with requests formatted either as JSON or protobuf. This allows for a full socket, binary protocol for production contexts, and HTTP + JSON for tooling and testing. Both protocols share the same session support and the HTTP protocol includes a distinct payload for accepting async notifications, allowing users to build a rich async client if needed.
Running the engine #
Pragma Engine utilizes a microservices configuration to operate a production shard. To support development and internal test environments, the engine can also run all services within a single artifact. This drastically reduces the complexity of configuring and maintaining dev and internal environments, making it practical to run local dev environments and inexpensive test environments.
See the GitHub README for specifics on running the engine.
For instructions on using external tools such as Docker, Postman, and IntelliJ, see the Pragma GitHub README file, which is accessible once onboarding has started.