Code Monkey home page Code Monkey logo

vl.roguesharp's Introduction

VL.RogueSharp

A vvvv gamma wrapper for the open source RogueSharp library by Faron Bracy

Nuget https://www.nuget.org/packages/VL.RogueSharp/


Origin

Original library and documentation https://github.com/FaronBracy/RogueSharp Referencing this nuget version 5.0.0 pre2 https://www.nuget.org/packages/RogueSharp/5.0.0-pre2

RogueSharp is originally intended for game development of roguelikes. It is not a full set of tools to make a game. For example RogueSharp provides the pathfinding but the user would have to create their own movement system using the provided path.


What can it do?

RogueSharp has functions useful for reasoning about 2D grids where some cells are walkable or transparent. For example pathfinding and field of view. Also includes a dice rolling function.

VL.RogueSharp comes with a quick and dirty ASCII preview of the maps using VL.Skia. This is for preview purposes only, it's expected most users would take the map data and plug it into their own prettier drawing system.

Pathfinding

PathFinding

Field Of View

FieldOfView


Install

  • Install VL.RogueSharp via nuget In VVVV Gamma open the top left 'grey square' menu > Manage nugets > Commandline

  • type 'nuget install VL.RogueSharp -version 2.0.0-pre'

  • Open the vvvv gamma help browser and search 'Roguesharp' for example patches


Version history

v2.0.0-pre

  • BREAKING CHANGE Removed int2 datatypes in all nodes and replaced with Vector2.
  • Deprecated SetCell (int2).
  • Deprecated GridCoordToGridIndex (Int2) and GridIndexToGridCoord (int2)
  • Added Vector (Vector2 Split Round) as util to quickly splint a vec2 to integer32s.
  • This is because int2 is a stride datatype. Adds a lot of extra references to a compiled app just for one little convenience datatype.
  • Changed node 'AllCellsEmptyWalkeable' to 'SetAllCells' with transparent and walkable as default.
  • Added option 'ClampInputToGridSize' on all nodes that take X Y input. With this off an out of bounds request will give an exception. It is on by default.
  • Improved helppatches
  • Added option on SetBorders for isWalkable and isTransparent
  • Compatibility checked with vvvv gamma 2022.5.0-577

V1.0.3-pre

  • Ensured compatibility with vvvv 2022.4.11-1312 (RC4)

LICENCE

Released under MIT Licence

vl.roguesharp's People

Contributors

tobyklight avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.