Gloam.Core 0.7.0

dotnet add package Gloam.Core --version 0.7.0
                    
NuGet\Install-Package Gloam.Core -Version 0.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gloam.Core" Version="0.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gloam.Core" Version="0.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Gloam.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Gloam.Core --version 0.7.0
                    
#r "nuget: Gloam.Core, 0.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Gloam.Core@0.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Gloam.Core&version=0.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Gloam.Core&version=0.7.0
                    
Install as a Cake Tool

Gloam.Core

Core primitives and utilities for the Gloam roguelike game engine

Overview

Gloam.Core provides the fundamental building blocks for roguelike game development with .NET 9.0. This package includes essential primitives, input handling abstractions, rendering interfaces, and shared utilities.

Features

  • Input Abstractions: Cross-platform input device interfaces with edge detection
  • Rendering Interfaces: Flexible rendering system supporting multiple backends
  • Layer System: Priority-based layer management for complex rendering scenarios
  • Color Management: Comprehensive color system with RGBA support and predefined colors
  • Shared Utilities: Common types and extensions used across the engine

Quick Start

using Gloam.Core.Input;
using Gloam.Core.Rendering;

// Use input abstraction
var inputDevice = new ConsoleInputDevice();
if (inputDevice.WasPressed(Keys.Escape))
{
    // Handle escape key
}

// Work with colors
var color = Colors.Gold;
var customColor = Color.FromHex("#FF6B35");

Key Components

  • Input System: IInputDevice, Keys, KeyModifiers
  • Rendering: ILayerRenderer, LayerRenderingManager
  • Colors: Color struct, Colors static class with 60+ predefined colors
  • Utilities: Extension methods and shared types

Documentation

License

MIT License - see LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Gloam.Core:

Package Downloads
Gloam.Console.Render

High-performance console rendering backend for roguelike games with ANSI color support, optimized text rendering, and buffer pooling.

Gloam.Data

JSON-driven entity management system for roguelike games with automatic schema validation and secure content loading.

Gloam.Runtime

High-performance dependency injection host for roguelike games with optimized game loop, scene management, and layer rendering.

Gloam.Core.Ui

High-performance GUI system for roguelike games with optimized control management, focus handling, and event-driven architecture.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0 72 8/31/2025

Initial release with optimized performance improvements.