Chroma 0.15.0

2D Game Framework which *doesn't* try so hard to resemble XNA

There is a newer version of this package available.
See the version list below for details.
Install-Package Chroma -Version 0.15.0
dotnet add package Chroma --version 0.15.0
<PackageReference Include="Chroma" Version="0.15.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Chroma --version 0.15.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Chroma, 0.15.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
// Install Chroma as a Cake Addin
#addin nuget:?package=Chroma&version=0.15.0

// Install Chroma as a Cake Tool
#tool nuget:?package=Chroma&version=0.15.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Chroma 0.15

Game

Moved the default scene to its own class.
Constructor now has an optional boolean allowing users to skip the construction of the default scene.

Window

WindowProperties are gone, all its members were moved to Window.
Added MaximumSize and MinimumSize properties.
Renamed Running state boolean to Exists.
CanResize was added to control resizable mode status.
Viewport will now correctly respond to manual resizing.

GraphicsManager

LineThickness moved to GraphicsManager.
Added VerticalSyncMode enum.
EnableVSync was renamed to VerticalSyncMode - defaults to Retrace. Added adaptive vertical sync mode.
Multisample antialiasing support was added.
Maximum supported mulitsampling precision property was added.

Texture

VirtualCenter was added - changes corresponding to VirtualResolution.
Center was renamed to AbsoluteCenter.

Camera

Changed X/Y/Z coordinates to be floats instead of ints.

Color

Supports construction using HSV components.

KeyModifiers

Added Shift, Ctrl, Alt, and Super wildcard modifiers for when users don't care which side was it.

IContentProvider

Interface now requires content providers to implement RegisterImporter<T>, UnregisterImporter<T> and IsImporterPresent<T>.

FileSystemContentProvider

Implements the above new methods.
Improved reliability of content disposal.

TrueTypeFont

Added UseKerning property.

RenderContext

Scissor uses System.Drawing.Rectangle instead of a custom struct now.
Overloaded Rectangle with two new prototypes allowing to specify either Vector2 and Size or straight up System.Drawing.Rectangle.
DrawString for TTFs will honor the kerning settings now.

AudioManager

Supports loading sounds from a Stream now.

Examples

TextInput: Faux terminal emulator.
WindowOperations: How to change window properties.
CustomContentProvider: How to ZIP-based asset loading.
Scissors: How to use drawing scissors.
DrawBatching: How to batch and order the drawing calls.
Clipboard: How to use the clipboard.
EmptyProject: Showing off the default scene.
XboxController: Fixed color swapping
Renamed CustomCursor to CustomHardwareCursor.

Chroma 0.15

Game

Moved the default scene to its own class.
Constructor now has an optional boolean allowing users to skip the construction of the default scene.

Window

WindowProperties are gone, all its members were moved to Window.
Added MaximumSize and MinimumSize properties.
Renamed Running state boolean to Exists.
CanResize was added to control resizable mode status.
Viewport will now correctly respond to manual resizing.

GraphicsManager

LineThickness moved to GraphicsManager.
Added VerticalSyncMode enum.
EnableVSync was renamed to VerticalSyncMode - defaults to Retrace. Added adaptive vertical sync mode.
Multisample antialiasing support was added.
Maximum supported mulitsampling precision property was added.

Texture

VirtualCenter was added - changes corresponding to VirtualResolution.
Center was renamed to AbsoluteCenter.

Camera

Changed X/Y/Z coordinates to be floats instead of ints.

Color

Supports construction using HSV components.

KeyModifiers

Added Shift, Ctrl, Alt, and Super wildcard modifiers for when users don't care which side was it.

IContentProvider

Interface now requires content providers to implement RegisterImporter<T>, UnregisterImporter<T> and IsImporterPresent<T>.

FileSystemContentProvider

Implements the above new methods.
Improved reliability of content disposal.

TrueTypeFont

Added UseKerning property.

RenderContext

Scissor uses System.Drawing.Rectangle instead of a custom struct now.
Overloaded Rectangle with two new prototypes allowing to specify either Vector2 and Size or straight up System.Drawing.Rectangle.
DrawString for TTFs will honor the kerning settings now.

AudioManager

Supports loading sounds from a Stream now.

Examples

TextInput: Faux terminal emulator.
WindowOperations: How to change window properties.
CustomContentProvider: How to ZIP-based asset loading.
Scissors: How to use drawing scissors.
DrawBatching: How to batch and order the drawing calls.
Clipboard: How to use the clipboard.
EmptyProject: Showing off the default scene.
XboxController: Fixed color swapping
Renamed CustomCursor to CustomHardwareCursor.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Chroma:

Package Downloads
Chroma.SabreVGA
VGA emulator for Chroma Framework to aid in creation of text-based games.
ChromaSynth
ChromaSynth is an extension to the Chroma Framework allowing for audio synthesis at runtime.
Chroma.Shine
Various utilities that make life easier but don't quite fit into the core of Chroma Framework.
Chroma.Audio.Sfxr
Sfxr playback engine for Chroma Framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.40.1 65 3/24/2021
0.40.0 37 3/23/2021
0.39.1 37 3/22/2021
0.39.0 37 3/22/2021
0.38.1 77 3/10/2021
0.38.0 32 3/9/2021
0.37.4 40 3/4/2021
0.37.3 78 2/27/2021
0.37.2 51 2/25/2021
0.37.0 57 2/15/2021
0.36.0 41 2/13/2021
0.35.1 66 2/13/2021
0.35.0 50 2/13/2021
0.34.0 53 2/11/2021
0.33.0 40 2/9/2021
0.32.0 49 2/4/2021
0.31.0 70 1/26/2021
0.30.0 49 1/25/2021
0.29.0 74 1/24/2021
0.28.0 80 1/19/2021
0.27.3 90 12/22/2020
0.27.2 88 12/22/2020
0.27.1 89 12/16/2020
0.27.0 171 12/15/2020
0.26.0 113 11/20/2020
0.25.0 114 11/12/2020
0.24.0 100 11/11/2020
0.23.5 195 11/2/2020
0.23.4 196 11/1/2020
0.23.2 113 11/1/2020
0.23.1 131 11/1/2020
0.23.0 167 11/1/2020
0.22.0 120 10/31/2020
0.21.2 140 10/21/2020
0.21.1 133 10/20/2020
0.21.0 175 10/14/2020
0.20.0 241 9/19/2020
0.19.0 133 9/18/2020
0.18.0 213 9/18/2020
0.17.1 271 7/29/2020
0.17.0 207 7/25/2020
0.16.2 220 7/19/2020
0.16.1 137 7/16/2020
0.16.0 167 7/14/2020
0.15.0 221 7/11/2020
0.14.0-alpha 183 6/30/2020
0.13.0-alpha 144 6/24/2020
0.12.0-alpha 195 6/23/2020
0.11.0-alpha 183 6/22/2020
0.10.0-alpha 165 6/21/2020
0.9.0-alpha 248 5/31/2020
0.8.1-alpha 173 5/28/2020
0.8.0-alpha 158 5/27/2020
0.7.0-alpha 191 5/25/2020
0.6.0-alpha 180 5/25/2020
0.5.0-alpha 175 5/23/2020
0.4.0-alpha 192 5/19/2020
0.3.2-alpha 185 5/16/2020
0.3.1-alpha 183 5/15/2020
0.3.0-alpha 159 5/12/2020
0.2.1-alpha 178 5/11/2020
0.2.0-alpha 163 5/10/2020
0.1.3-alpha 154 5/10/2020
0.1.2-alpha 153 5/10/2020
0.1.1-alpha 186 5/10/2020
0.1.0-alpha 165 5/10/2020
Show less