Ultraviolet 2023.8.0.3
dotnet add package Ultraviolet --version 2023.8.0.3
NuGet\Install-Package Ultraviolet -Version 2023.8.0.3
<PackageReference Include="Ultraviolet" Version="2023.8.0.3" />
paket add Ultraviolet --version 2023.8.0.3
#r "nuget: Ultraviolet, 2023.8.0.3"
// Install Ultraviolet as a Cake Addin #addin nuget:?package=Ultraviolet&version=2023.8.0.3 // Install Ultraviolet as a Cake Tool #tool nuget:?package=Ultraviolet&version=2023.8.0.3
For questions and discussion, check out our Discord.
What is Ultraviolet?
![Join the chat at https://discord.gg/ehQMumHJ]
Ultraviolet is a cross-platform, .NET game development framework written in C# and released under the MIT License. It is heavily inspired by Microsoft's XNA Framework, and is intended to be easy for XNA developers to quickly pick up and start using. However, unlike MonoGame and similar projects, Ultraviolet is not intended to be a drop-in replacement for XNA. Its current implementation is written on top of SDL2 and OpenGL, but its modular design makes it (relatively) easy to re-implement using other technologies if it becomes necessary to do so in the future.
At present, Ultraviolet officially supports Windows, Linux, and macOS using .NET 6, as well as Android through Xamarin. Support for iOS is no longer provided due to a lack of the requisite development hardware. If anyone wants to take responsibility for providing this support, please Create an issue.
Some core features of the Ultraviolet Framework:
A runtime content pipeline
Easily load game assets using Ultraviolet's content pipeline. Unlike XNA, Ultraviolet's content pipeline operates at runtime, meaning no special Visual Studio projects are required to make it work. Content preprocessing is supported in order to increase efficiency and decrease load times.
High-level 2D rendering abstractions
Familiar classes like SpriteBatch allow you to efficiently render large numbers of 2D sprites. Ultraviolet includes built-in support for texture atlases and XML-driven sprite sheets.
High-level 3D rendering abstractions
Built-in support for glTF 2.0 models and skinned animation makes it easy to get started with 3D rendering. Alternatively, you can write your own GLSL shader programs to take full control of the rendering process, and support for additional model types can be provided by extending the runtime content pipeline.
Low-level rendering functionality
In addition to the abstractions described above, Ultraviolet's graphics subsystem allows you to push polygons directly to the graphics device, giving you complete control.
A powerful text formatting and layout engine
Do more than draw plain strings of text. Ultraviolet's text formatting engine allows you to change your text's font, style, and color on the fly. The layout engine allows you to easily position and align text wherever you need it.
XML-driven object loader for easy content creation
Ultraviolet's object loader allows you to easily create complicated hierarchies of objects from simple XML files. This is more than just an XML serializer—because it is integrated with Ultraviolet, it has direct knowledge of your game's content assets and object lists, making it possible to reference them in a simple, flexible, and readable way.
The Ultraviolet Framework's source code is available on GitHub.
Getting Started
If you don't want to build Ultraviolet yourself, official packages are available through NuGet.
The wiki contains a quick start guide for development using .NET 6.
A dedicated repository contains a number of sample projects which demonstrate various features of the Framework.
Requirements
Ultraviolet can be used with any version of .NET which supports .NET Standard 2.1.
Building Ultraviolet requires .NET 6 SDK.
Building the mobile projects requires the appropriate Xamarin tools to be installed.
The following platforms are supported for building the Framework:
- Windows
- Linux (Ubuntu)
- Android
- macOS
Please file an issue if you encounter any difficulty building on any of these platforms. Linux distributions other than Ubuntu should work, assuming that they can run .NET 6 and you can provide appropriate versions of the native dependencies, but only Ubuntu has been thoroughly tested.
Building
Desktop Platforms
The Sources
folder contains several solution files for the various platforms which Ultraviolet supports. Alternatively, you can run msbuild Ultraviolet.proj
from the command line in the repository's root directory; this will automatically select and build the correct solution for your current platform, and additionally will copy the build results into a single Binaries
folder.
Mobile Platforms
Building Ultraviolet for Android requires that Xamarin be installed. As with the desktop version of the Framework, you can either build the appropriate solution file or Ultraviolet.proj
, but in the latter case you must also explicitly specify that you want to use one of the mobile build targets, i.e.:
msbuild Ultraviolet.proj /t:BuildAndroid
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- SharpGLTF.Core (>= 1.0.0-alpha0030)
- Ultraviolet.Core (>= 2023.8.0.3)
NuGet packages (26)
Showing the top 5 NuGet packages that depend on Ultraviolet:
Package | Downloads |
---|---|
Ultraviolet.SDL2
The Ultraviolet Framework is a .NET game development framework written in C#. This package contains the SDL2 implementation of the Framework's platform and input subsystems. Quick start guides for development using the Ultraviolet Framework are available on the project's wiki at https://github.com/UltravioletFramework/ultraviolet/wiki Additional licensing information is available at https://www.ultraviolet.tl/licenses |
|
Ultraviolet.BASS
The Ultraviolet Framework is a .NET game development framework written in C#. This package contains the BASS implementation of the Framework's audio subsystem. Quick start guides for development using the Ultraviolet Framework are available on the project's wiki at https://github.com/UltravioletFramework/ultraviolet/wiki Additional licensing information is available at https://www.ultraviolet.tl/licenses |
|
Ultraviolet.OpenGL
The Ultraviolet Framework is a .NET game development framework written in C#. This package contains the OpenGL implementation of the Framework's graphics subsystem. Quick start guides for development using the Ultraviolet Framework are available on the project's wiki at https://github.com/UltravioletFramework/ultraviolet/wiki Additional licensing information is available at https://www.ultraviolet.tl/licenses |
|
Ultraviolet.Presentation
The Ultraviolet Framework is a .NET game development framework written in C#. This package contains the Ultraviolet Presentation Foundation, a WPF-like framework for building user interfaces in the Ultraviolet Framework. Quick start guides for development using the Ultraviolet Framework are available on the project's wiki at https://github.com/UltravioletFramework/ultraviolet/wiki Additional licensing information is available at https://www.ultraviolet.tl/licenses |
|
Ultraviolet.Shims.Android
The Ultraviolet Framework is a .NET game development framework written in C#. This package contains the platform compatibility shim for Android. Quick start guides for development using the Ultraviolet Framework are available on the project's wiki at https://github.com/UltravioletFramework/ultraviolet/wiki Additional licensing information is available at https://www.ultraviolet.tl/licenses |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2023.8.0.3 | 844 | 8/19/2023 |
2023.8.0.1 | 641 | 8/10/2023 |
2023.7.0.11 | 541 | 7/31/2023 |
2023.7.0.10 | 560 | 7/31/2023 |
2023.7.0.5 | 588 | 7/29/2023 |
2023.7.0.3 | 609 | 7/29/2023 |
2023.7.0.2 | 633 | 7/29/2023 |
2023.7.0.1 | 577 | 7/29/2023 |
2021.5.0.4569 | 2,648 | 5/8/2021 |
2021.5.0.4566 | 2,209 | 5/7/2021 |
2021.5.0.4563 | 2,304 | 5/4/2021 |
2021.5.0.4560 | 2,157 | 5/4/2021 |
2021.5.0.4557 | 2,153 | 5/4/2021 |
2021.5.0.4553 | 2,173 | 5/4/2021 |
2021.2.0.4548 | 2,253 | 2/20/2021 |
2020.12.0.4543 | 2,515 | 12/13/2020 |
2020.12.0.4516 | 2,062 | 12/10/2020 |
2020.12.0.4513 | 2,188 | 12/4/2020 |
2020.12.0.4509 | 2,274 | 12/3/2020 |
2020.11.0.4500 | 2,271 | 11/9/2020 |
2020.10.0.4488 | 2,387 | 10/10/2020 |
2020.9.0.4451 | 2,336 | 9/29/2020 |
2020.9.0.4388 | 2,335 | 9/3/2020 |
2020.9.0.4380 | 2,218 | 9/3/2020 |
2020.9.0.4377 | 2,267 | 9/3/2020 |
2020.9.0.4371 | 2,124 | 9/3/2020 |
2020.7.0.4298 | 2,150 | 7/10/2020 |
2020.4.0.4287 | 2,315 | 4/18/2020 |
2020.4.0.4278 | 2,305 | 4/16/2020 |
2020.4.0.4271 | 2,232 | 4/15/2020 |
2020.4.0.4267 | 2,125 | 4/14/2020 |
2020.4.0.4263 | 2,276 | 4/14/2020 |
2020.2.0.4055 | 5,536 | 2/4/2020 |
2019.9.0.4045 | 5,542 | 9/28/2019 |
2019.7.0.4030 | 5,293 | 7/19/2019 |
2019.6.0.4011 | 5,155 | 6/28/2019 |
2019.6.0.4004 | 5,550 | 6/24/2019 |
2019.6.0.4002 | 2,094 | 6/24/2019 |
2019.5.0.3923 | 5,474 | 5/31/2019 |
2019.3.0.3907 | 5,474 | 3/24/2019 |
2019.3.0.3902 | 5,490 | 3/16/2019 |
2019.3.0.3898 | 5,453 | 3/7/2019 |
2019.2.0.3893 | 5,483 | 2/21/2019 |
2019.2.0.3890 | 5,223 | 2/20/2019 |
2019.1.0.3888 | 5,383 | 2/1/2019 |
2018.12.0.3869 | 5,791 | 1/1/2019 |
2018.10.0.3805 | 6,751 | 10/29/2018 |
2018.10.0.3802 | 2,907 | 10/29/2018 |
2018.10.0.3801 | 2,784 | 10/29/2018 |
2018.8.0.3710 | 4,945 | 8/31/2018 |
2018.7.0.3669 | 3,901 | 8/1/2018 |
2018.5.0.3633 | 3,966 | 5/31/2018 |
2018.5.0.3604 | 4,073 | 5/7/2018 |
2018.5.0.3601 | 3,945 | 5/7/2018 |
2018.5.0.3594 | 3,918 | 5/4/2018 |
2018.5.0.3578 | 3,775 | 5/3/2018 |
2018.4.0.3555 | 4,025 | 4/28/2018 |
2018.4.0.3554 | 2,869 | 4/28/2018 |
2018.3.0.3429 | 4,226 | 3/30/2018 |
2018.3.0.3425 | 5,206 | 3/30/2018 |
2018.2.0.3374 | 5,213 | 2/25/2018 |
2018.2.0.3367 | 5,152 | 2/22/2018 |
2018.1.0.3301 | 5,073 | 1/27/2018 |
2017.12.0.3131 | 3,965 | 12/26/2017 |