Table of Contents

Stride 4.1 Release Notes

July 16th, 2022

Stride contributors are proud to announce a new release now running on .NET 6 supporting the latest C# 10. That means you can now head to the download page and start developing your games using the latest .NET technologies.

Improvements Summary

Here's a non-exhaustive list of new improvements:

Dithered shadows for semi-transparent materials

Produces semi-transparent shadows by poking more and more holes in the shadow map based on the transparency of the object, shadow map filtering will blur those holes with their neighbor which will result in those partially opaque pixels.

Dithered shadow settings

Dithered shadow effect comparison

Physics constraints

Stride's physics system Bullet comes with a set of constraints for you to use in your projects. These constraints are now all visible inside the editor, previewing the constraints using various editor gizmo.

preview(to be removed)

For more information on all the types of constraints, you can read up about them in the Stride documentation or watch the video below.

Physics optimizations

Retrieving collision and contact information was previously done by re-testing all components for collisions, which, as one might expect, led to awful performance for physics heavy scenes (could take up to and above 90% of the frame).

Contacts are now lazily evaluated to reduce overhead when nothing ends up reading them. Users can now read and iterate over all collisions through Simulation.CurrentCollisions.

Improved editor gizmos

The old gizmos weren't very nice to look at, so this feature makes them look better and more user-friendly. It also changes how the rotation gizmo works and adds scale planes to the scale gizmo.

New gizmos

This feature also updates the text on the CameraOrientationGizmo to be XYZ instead of right/left. Still prefer the old text instead of the XYZ coordinate? Don't worry, there's a setting under the viewport settings that swaps it back to the old text.

![Rotation](https://i.imgur.com/W4zIf7J.png =400x160)

Intermediate tutorials

One of the first Open Collective sub-projects is the intermediate C# tutorials project. After discussion in community meetings and with various contributors donating directly to this project, the amount for this project to be included in Stride quickly became a realization.

Intermediate tutorials intro screen

With Stride 4.1, you will be able to select the C# intermediate tutorials project as a new template project. The template project contains (at the moment of writing) 11 topics that every developer will want to have a look at.

  1. UI basics
  2. Collision triggers
  3. Raycasting
  4. Projecting and Unprojecting
  5. Async(hronous) scripts
  6. Scene loading
  7. Animation basics
  8. Audio
  9. First person camera
  10. Third person camera
  11. Navigation

Each tutorial has a video tutorial accompanying it, which can be found on Stride's Youtube channel. Below you can find the full playlist.

Known Issues

Integrated C# Editor

The transition to .NET6 unfortunately broke the help tooltips and the code completion of integrated C# code editor. But we decided to accept it for now, as everyone is using a proper C# editor anyways, such as Visual Studio, Rider or Visual Studio Code.

The reason for the error is that RoslynPad, the underlaying library, also needs an update or fix. We'll adress this in one of the upcoming minor version releases.

A little help

We, contributors, believe that Stride can help .NET game developers make the games they want with ease using their favorite languages. We want to make sure Stride offers the most comfortable environment for developing games, and this takes time and effort.

Since the free and open-source release of Stride, the community has been growing slowly, so we have decided to open a fund to reward developers for any contribution they make to Stride. We set up an Open Collective page to manage our funds and allocate money for features that the community would like to see implemented.

We have various bounties for bug fixes and features (Vulkan support, decals, morph targets, and many others). If you have or know someone with the skills to tackle those bounties, please reach out to us through the respective Github tickets. You can also contact us through our discord server or on Github to propose new bounties.

Contributors

Many thanks to all the contributors who have donated their time and skill by adding features, fixing bugs, managing the build pipelines, adding documentation, and reviewing PRs.

Financial contributors

Also, a huge thanks to the individuals and companies who contributed financially to our Open Collective!