Skip to content

Latest commit

 

History

History
 
 

samples

Stride Samples

  • Each sample must be a self-contained Stride Game Package, created with GameStudio
    • It means that a sample package must not reference assets/files outside its directory
  • A sample package must use a package name that is unique and can be replaced by a simple regex in files using it (.csproj, .cs ...etc.). For example: SimpleAudio
  • We are currently using the following categories as directories to group samples under a same category
    • Audio : All samples related to audio
    • Games : All small game samples
    • Graphics : All graphics samples (display 3d models, sprites, text...etc.)
    • Input : All input samples (touch, mouse, gamepad...etc.)
    • UI : All UI samples
    • Tutorials : All Tutorial sample projects with a related video or Stride documentation page
    • StrideSamples.sln : A top level StrideSamples.sln referencing all Game Packages (sdpkg)
  • Inside a category, we store a package in its own directory. For example SimpleAudio in Audio
    • Audio
      • SimpleAudio
        • .sdtpl : Directory containing icons/screenshots used to display the template in the UI
        • Assets : contains assets (.sd files)
        • Resources : contains resource files (.jpg, .fbx ... files)
        • SimpleAudio.Android : Android executable
        • SimpleAudio.Game : Common Game code
        • SimpleAudio.iOS : iOS executable
        • SimpleAudio.Windows : Windows Desktop executable
        • SimpleAudio.sdpkg : Package description
        • SimpleAudio.sdtpl : Package Template description