RogueSharp 4.0.0-pre
See the version list below for details.
dotnet add package RogueSharp --version 4.0.0-pre
NuGet\Install-Package RogueSharp -Version 4.0.0-pre
<PackageReference Include="RogueSharp" Version="4.0.0-pre" />
paket add RogueSharp --version 4.0.0-pre
#r "nuget: RogueSharp, 4.0.0-pre"
// Install RogueSharp as a Cake Addin #addin nuget:?package=RogueSharp&version=4.0.0-pre&prerelease // Install RogueSharp as a Cake Tool #tool nuget:?package=RogueSharp&version=4.0.0-pre&prerelease
A portable class library for roguelike developers to provide utilities frequently used in roguelikes or 2D tile based games. Inspired by libtcod
New features:
* Optimized cave map generator (Thanks to James Neal)
* Optimized DijkstraShortestPath.FindPath method (Thanks to flend for this update)
* Multiple new "Try" methods which return null instead of throwing exceptions
* Diagonal paths can be found by using new constructors on GoalMap and PathFinder
* Map.GetCellsInCircle and Map.GetBorderCellsInCircle to get cells within a circular radius
Breaking changes:
* Point and Rectangle classes are now structs (Thanks to James Neal)
* Updated all appropriate references to Cell with ICell (Thanks to Courtney Strachan)
* Map.ComputeFov and Map.AppendFov both return a ReadonlyCollection of ICell instead void
* The Path returned from PathFinder.ShortestPath now includes the source cell in the returned Path
* Map.GetCellsInArea was renamed to Map.GetCellsInSquare
* Map.GetCellsInRadius was renamed to Map.GetCellsInDiamond
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RogueSharp:
Package | Downloads |
---|---|
VL.RogueSharp
Pathfinding and line of sight functions on a 2D grid, originally intended for roguelike game development |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.0.0-pre4 | 1,875 | 5/25/2020 |
5.0.0-pre3 | 914 | 5/22/2020 |
5.0.0-pre2 | 1,138 | 1/14/2020 |
5.0.0-pre | 1,130 | 6/30/2019 |
4.2.0 | 7,254 | 1/1/2019 |
4.1.0 | 2,399 | 8/4/2018 |
4.0.0 | 1,532 | 7/29/2018 |
4.0.0-pre | 2,216 | 4/24/2017 |
3.0.0 | 6,253 | 2/19/2016 |
3.0.0-pre | 2,104 | 10/4/2015 |
2.0.0 | 3,974 | 2/14/2015 |
1.2.0 | 2,171 | 1/15/2015 |
1.1.0 | 2,466 | 6/23/2014 |
1.0.1 | 2,322 | 5/5/2014 |
1.0.0 | 2,067 | 5/5/2014 |
New features:
* Optimized cave map generator (Thanks to James Neal)
* Optimized DijkstraShortestPath.FindPath method (Thanks to flend for this update)
* Multiple new "Try" methods which return null instead of throwing exceptions
* Diagonal paths can be found by using new constructors on GoalMap and PathFinder
* Map.GetCellsInCircle and Map.GetBorderCellsInCircle to get cells within a circular radius
Breaking changes:
* Point and Rectangle classes are now structs (Thanks to James Neal)
* Updated all appropriate references to Cell with ICell (Thanks to Courtney Strachan)
* Map.ComputeFov and Map.AppendFov both return a ReadonlyCollection of ICell instead void
* The Path returned from PathFinder.ShortestPath now includes the source cell in the returned Path
* Map.GetCellsInArea was renamed to Map.GetCellsInSquare
* Map.GetCellsInRadius was renamed to Map.GetCellsInDiamond