Skip to content

Getting Started

Before you can start developing with Hybrid, there are a few things you need to set up.


Development IDE

First, download and install your preferred IDE:

Recommended: JetBrains Rider for Windows, Mac, Linux development


Installing .NET 10

Hybrid currently requires .NET 10 only however support for earlier version may be available soon:

  • Download the latest version from the official .NET website.
  • Use the command below to check which workloads you may need:
dotnet workload search

Recommended: 'dotnet workload install maui ios android wasm-tools'


Create a project

  • Clone the official template: git clone https://github.com/Hybrid2D/Template.git
  • Open 'Template.sln' in your favourite IDE such as Rider or Visual Studio
  • Develop in the 'App' project provided to you
  • Build & launch your game

This cross-platform template is designed for minimal setup


How it works

Simply inherit from the Hybrid.App class and override the three methods:

OnInitialize

  • All initialize code goes here.

OnUpdate

  • All update code goes here.

OnRender

  • All rendering code goes here.

Example

using Hybrid;

namespace Application
{
    public class Game : Hybrid.App
    {
        public override void OnInitialize()
        {
            // Initialize logic
        }

        public override void OnUpdate()
        {
            // Update logic
        }

        public override void OnRender()
        {
            // Render logic
        }
    }
}

Documentation

For more detailed usage, check out the documentation for quick reference.