Welcome to the Stride source code repository!
Stride is an open-source C# game engine for realistic rendering and an advanced editor (Game Studio) that allows you create and manage the content of your games or applications in a visual and intuitive way.
The engine is highly modular and aims at giving game makers more flexibility in their development.
To learn more about Stride, visit stride3d.net.
This project is supported by the .NET Foundation.
Stride is covered by the MIT License unless stated otherwise (i.e. for some files that are copied from other projects). You can find the list of third party projects here. Contributors need to sign the following Contribution License Agreement.
As a .NET Foundation project, Stride has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
For more information see the .NET Foundation Code of Conduct.
If you are a developer with solid experience in C#, rendering techniques, or game development, we want to hire you! We have allocated funds from supporters on OpenCollective and can pay for work on certain projects. More info about this here.
Find explanations and information about Stride:
Ask for help or report issues:
- Chat with the community on Discord
- Discuss topics on Github discussions
- Report engine issues
- Donate to support the project
- List of Projects made by users
- Localization
-
Latest Git with Large File Support selected in the setup on the components dialog.
-
Visual Studio 2022 with the following workloads:
-
.NET desktop development
with.NET Framework 4.7.2 targeting pack
. -
Desktop development with C++
withWindows 10 SDK (10.0.18362.0)
or newer version (should be enabled by default).MSVC v143 - VS2022 C++ x64/x86 build tools (v14.30)
or newer version (should be enabled by default).C++/CLI support for v143 build tools (v14.30)
or newer version (not enabled by default).
- Clone Stride:
git clone https://github.com/Ethereal77/stride.git
. - Open
Stride.sln
in thebuild
directory with Visual Studio 2022 and buildStride.GameStudio
(it should be the default startup project).
- Install Visual Studio Build Tools with the same prerequisites listed above.
- Add MSBuild's directory to your system's PATH (ex:
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin
). - Clone Stride:
git clone https://github.com/Ethereal77/stride.git
- Navigate to
build
directory with the command prompt, inputmsbuild /t:Restore Stride.sln
thencompile.bat
.
If building failed:
- If you skipped one of the
Prerequisites
thinking that you already have the latest version, update to the latest anyway just to be sure. - Visual Studio might have issues properly building if a previous version is present alongside VS 2022. If you want to keep those version make sure that they are up to date and that you are building Stride through VS 2022.
- Your system's PATH should not contain older versions of MSBuild (ex:
...\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin
should be removed). - Some changes might require a system reboot, try that if you haven't yet.
- Make sure that Git, Git LFS and Visual Studio can access the Internet.
- Close Visual Studio, clear the NuGet cache (in your command prompt
dotnet nuget locals all --clear
), delete the hidden.vs
folder inside\build
, delete the files insidebin\packages
, kill any MSBuild and other Visual Studio (devenv.exe
) processes, build the whole solution, then build and runStride.GameStudio
.
Do note that test solutions might fail but it should not prevent you from building Stride.GameStudio
.
Please check our Contributing Guidelines.
Branch | master |
---|---|
Windows D3D11 | |
Windows D3D12 | |
Tests Windows Simple | |
Tests Windows D3D11 |
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!