NuGet Package RogueSharp

A .NET Standard class library providing map generation, path-finding, and field-of-view utilities frequently used in roguelikes or 2D tile based games.

Inspired by libtcod

New features:
* Weighted pool class for randomly picking items.
* Pathfinder class caches graph and dijkstra result for speedier performance with multiple lookups.
* Added Map.GetCellsInRectangle method. (Thanks to Andre Odendaal)
Breaking changes:
* Bug fix - Change Map.Create to be generic, returning the same map type as the creation strategy's map.

(Thanks to Andre Odendaal)
* Bug fix - Update Map Save and Restore methods to track IsExplored status. (Thanks to Andre Odendaal)
* Map.Initialize is virtual so that it can be overridden in derived classes
* Map.Clone is now virtual and generic so that it can be overridden in derived classes.

Info

Version: 5.0.0-pre
Author(s): Faron Bracy
Last Update: Sunday, June 30, 2019
.NET Fiddle: Online Example
Project Url: https://github.com/FaronBracy/RogueSharp
NuGet Url: https://www.nuget.org/packages/RogueSharp


Install
Install-Package RogueSharp
dotnet add package RogueSharp
paket add RogueSharp
RogueSharp Download (Unzip the "nupkg" after downloading)

.NETFramework 4.0
  • No dependencies.
.NETStandard 1.0


Tags



STATS

must-have-score

2.8

avg-downloads-per-day

6

days-since-last-release

111