Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Stride3D tutorials and examples in .NET 5 using C# 9.0 or .NET 6 using C# 10.

License

Notifications You must be signed in to change notification settings

VaclavElias/Stride3DTutorials

Repository files navigation

Stride Game Engine Tutorials

Warning

All content has been moved to the Stride Community Toolkit repository, which can be found here: https://github.com/stride3d/stride-community-toolkit.

This repo is going to list some tutorials and examples for Stride - Open-source C# Game Engine.

https://www.stride3d.net/

All examples are in .NET 5 using C# 9.0 or .NET 6 using C# 10.

Stride3D tutorials and examples

Example/Tutorial Status
Drag and Drop Research
Code Only Approach Research
Multi Screen Research

Drag And Drop

Very basic implementation of drag and drop window, using Canvas. This demo is using:

  • DragAndDropContainer and DragAndDropCanvas
  • Multiple drag and drop windows
  • Window button triggering entity creation

Q1: The font is not sharp and white?

Additional set up (Clean UI) is needed stride3d/stride#1154.

Q2: Why are cubes moving funny once landed?

  • The first issue was that I set collider size the same as entity scale, that means also collider was scaled.
  • The second issue was that Static Collider - Infinity Plane is causing sliding, also in Unity. I changed it to Box type and it seems ok

Q3: Why the application gets problem with 10,000 boxes?

  • Probably there is a better way to instance boxes

Code Only Approach

Project https://github.com/VaclavElias/stride-code-only

ToDos

  • Make some examples
  • Code Only for 2D
  • Code Only for 3D
    • Code Only with nice set up (lights, sky, ..) out of the box

Why would you use Code Only and not Stride Editor?

There might be many reasons, including:

  • You don't want to install anything on your computer
  • You want to start very quickly
  • You want to learn C# programming with a nice visual output instead of console
  • You want to learn game programming in the most simple way, without using the game editor
  • You find coding and coding tools very complex to understand and navigate around
  • You want to start with game development basics before you even start exploring the game editor

Please, let me know through Issues if you find any other reasons.

Used Resources

https://github.com/IceReaper/StrideTest

Multi Screen

This will be an example of using SignalR and Stride, to use a browser for a game output, simple interaction from a browser with a game. I wish we had multi screen games where the other screens could be used as a Dashboard or Control Panels or anything you would like to see but not have it in the main game window, still some interactions from these side screens would be nice.

I have got a working prototype just need to make is more user friendly to move here.

Other Stride3D tutorials and examples

About

Stride3D tutorials and examples in .NET 5 using C# 9.0 or .NET 6 using C# 10.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages