Stride minimal API / Code only approach
12 lines of code, this is what it takes to run Stride 3D example below (plus some
usings on the top).
This works only with Stride 4.1+.
Follow the steps in this stride-code-only repository.
using var game = new Game();
game.Run(start: (Scene rootScene) =>
var entity = new Entity(new Vector3(1f, 0.5f, 3f));
entity.Add(new ModelComponent(new CubeProceduralModel().Generate(game.Services)));
entity.Scene = rootScene;
Any comments? You can start 🗨 at GitHub Discussions. Edit this page on .