This directory contains various samples for the UrhoSharp engine and they can be compiled for Android or iOS, or can be executed on Windows and Mac with the published NuGet package.
Some of the samples here include:
- FormsSamples
- FeatureSamples
- SamplyGame
- HoloLens
The 'FormsSamples' solution demonstrates how UrhoSharp can be used in Xamarin.Forms applications as a View element.
The toplevel FeatureSamples
solution showcases 40 independent UrhoSharp
features, each one showcasing a particular element of the framework and runs
on all supported platforms.
The SamplyGame
directory contains a more complete game, it is a sample
inspired by the gameplay and artwork of ShootySkies and shows a more
complete game in action, showing how to load assets, write game code and
structure a game. It is our first game build with this, so be kind.
This directory contains samples for running UrhoSharp on HoloLens and creating augmented reality applications.
All solutions are structured to have their cross platform code written
in the Core
directory, where we build a portable class library. While
we have taken the approach of using Portable Class Libraries, you can
also used Shared Projects.
The structure of each solution is this:
-
Assets
: Contains the shared assets that are used for the various samples. -
Core
: Contains the various samples, one for each feature that is being showcased and it happens to be a Portable Class Library project, so it can be reused as-is across all supported platforms. -
iOS
: Contains the iOS launcher. -
Android
: Contains the Android launcher. -
Mac
: Contains the Mac launcher (but works on Windows too). -
WPF
: Contains the Windows launcher based on WPF. -
WinForms
: Contains the Windows launcher based on WinForms.
- Windows: Use Visual Studio 2015.
- Mac: Use the latest Xamarin Studio