Skip to content

Commit

Permalink
Merge pull request #143 from stride3d/master
Browse files Browse the repository at this point in the history
Testing recent updates
  • Loading branch information
VaclavElias authored Sep 25, 2023
2 parents d091136 + 5765d2a commit ea28ba8
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/stride-docs-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -22,4 +22,4 @@ jobs:
ACTION_NAME: VaclavElias
OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
MD_FOLDER: wiki
MD_FOLDER: wiki
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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-<version>`. The only exception is latest version, which should be `master`.
Each Stride minor version (i.e. 4.0, 4.1, etc.) should have its own branch, named in the fashion `master-<version>`. The only exception is latest version, which should be `master`.
12 changes: 11 additions & 1 deletion en/manual/files-and-folders/distribute-a-game.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
* [Project structure](project-structure.md)
6 changes: 6 additions & 0 deletions en/manual/physics/raycasting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<PhysicsProcessor>()?.Simulation`.
>- Or through `this.GetSimulation()`, note that the `this` is required as it is an extension method.
## See also
* [Colliders](colliders.md)
6 changes: 3 additions & 3 deletions en/manual/requirements/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
For information about platforms Stride supports, see [Platforms](../platforms/index.md).

0 comments on commit ea28ba8

Please sign in to comment.