diff --git a/.github/workflows/stride-docs-wiki.yml b/.github/workflows/stride-docs-wiki.yml index 1b25d7f9d..51fb62d0c 100644 --- a/.github/workflows/stride-docs-wiki.yml +++ b/.github/workflows/stride-docs-wiki.yml @@ -2,14 +2,14 @@ name: Publish to GitHub Wiki on: push: branches: - - staging + - master paths: - wiki/** workflow_dispatch: jobs: build: - #if: github.repository == 'stride3d/stride-docs' + if: github.repository == 'stride3d/stride-docs' runs-on: ubuntu-latest steps: @@ -22,4 +22,4 @@ jobs: ACTION_NAME: VaclavElias OWNER: ${{ github.repository_owner }} REPO_NAME: ${{ github.event.repository.name }} - MD_FOLDER: wiki \ No newline at end of file + MD_FOLDER: wiki diff --git a/README.md b/README.md index f009369d0..ec08c5bdd 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Stride Docs website is _not_ released under a regular cadence; new updates arriv The staging website allows us to test new features and significant changes before their official release. -The staging website is available at https://stride-docs-staging.azurewebsites.net/ +The staging website is available at https://stride-doc-staging.azurewebsites.net/ ## 🗺️ Roadmap @@ -61,4 +61,4 @@ Don't forget to change `$version` in [deploy.ps1](build/deploy.ps1) when branchi ### Manage multiple Stride versions -Each Stride minor version (i.e. 4.0, 4.1, etc.) should have its own branch, named in the fashion `master-`. The only exception is latest version, which should be `master`. \ No newline at end of file +Each Stride minor version (i.e. 4.0, 4.1, etc.) should have its own branch, named in the fashion `master-`. The only exception is latest version, which should be `master`. diff --git a/en/manual/files-and-folders/distribute-a-game.md b/en/manual/files-and-folders/distribute-a-game.md index 8efd0de0f..4cd2a033b 100644 --- a/en/manual/files-and-folders/distribute-a-game.md +++ b/en/manual/files-and-folders/distribute-a-game.md @@ -37,6 +37,16 @@ When you're ready to publish your game, create a release build from Visual Studi > [!Tip] > You might want to rename the **Release** folder to something more descriptive (such as the title of your game). +## To build using terminal instead of VS + + 1. You would need to install VS to get **Developer Command Propmt for VS (Version)** + 2. This is needed to run the msbuild command + + 3. The following command is to build the project to a folder of your choosing + 4. ```console + C:\User> msbuild PathToSln\NameOfProject.sln /p:Configuration=Release /p:OutputPath=YourPreferredPath + ``` + ## 2. Delete unnecessary files In the release folder in your project bin folder (eg *MyGame/Bin/MyPlatform/Release*), you can delete the following unnecessary files: @@ -67,4 +77,4 @@ To run games made with Stride on Windows, users need: * [Add or remove a platform](../platforms/add-or-remove-a-platform.md) * [Version control](version-control.md) -* [Project structure](project-structure.md) \ No newline at end of file +* [Project structure](project-structure.md) diff --git a/en/manual/physics/raycasting.md b/en/manual/physics/raycasting.md index d72c2e082..4422d2165 100644 --- a/en/manual/physics/raycasting.md +++ b/en/manual/physics/raycasting.md @@ -47,5 +47,11 @@ public static bool ScreenPositionToWorldPositionRaycast(Vector2 screenPos, Camer } ``` +>[!Note] +>There are multiple ways to retrieve a reference to this `Simulation` from inside one of your `ScriptComponent`: +>- The recommended way is through a reference to a physics component, something like `myRigidBody.Simulation` or `myCollision.Simulation` as it is the fastest. +>- Then through `SceneSystem` by calling `SceneSystem.SceneInstance.GetProcessor()?.Simulation`. +>- Or through `this.GetSimulation()`, note that the `this` is required as it is an extension method. + ## See also * [Colliders](colliders.md) diff --git a/en/manual/requirements/index.md b/en/manual/requirements/index.md index 1614b22e1..dc7b2fa29 100644 --- a/en/manual/requirements/index.md +++ b/en/manual/requirements/index.md @@ -34,10 +34,10 @@ To develop for mobile platforms, you also need: To run games made with Stride, you need: -- .NET 6 -- DirectX11 (included with Windows 10 and later), OpenGL, or Vulkan +- .NET 6 if your application is not [self-contained](https://learn.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained) +- DirectX11 (included with Windows 10 and later), OpenGL, or Vulkan depending on the platform, and the graphics API override set in your `.csproj` - Visual C++ 2015 runtimes (x86 and/or x64, depending on what you set in your project properties in Visual Studio) ## Supported Platforms -For information about platforms Stride supports, see [Platforms](../platforms/index.md). \ No newline at end of file +For information about platforms Stride supports, see [Platforms](../platforms/index.md).