All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Austin Decker 5bb101eb58 Initial commit 1 year ago
..
css Initial commit 1 year ago
lang Initial commit 1 year ago
libs Initial commit 1 year ago
src Initial commit 1 year ago
templates Initial commit 1 year ago
CHANGELOG.md Initial commit 1 year ago
LICENSE Initial commit 1 year ago
README.md Initial commit 1 year ago
module.json Initial commit 1 year ago

README.md

DragonFlagon Curvy Walls

Forge Installs Latest Version Foundry Hub Endorsements

Curvy Walls Banner

Adds Bezier Curves and Ellipse tools to the walls layer. This gives you the ability to generate wall segments along a curve quickly and easily. You can also increase or decrease the number of wall segments used along the curve.

Cubic Bezier Curve Quadratic Bezier Curve
Cubic Curve Quadratic Curve
Ellipse With Slicing Rectangle with Segmented Sides
Ellipse Curve Rectangle
become a patron If you want to support me or just help me buy doggy treats! Also, you can keep up to date on what I'm working on. I will be announcing any new modules or pre-releases there for anyone wanting to help me test things out!

Dismiss Current Tool Shortcut

You can quickly remove and disable the current tool by Ctrl + Right-Clicking anywhere on the screen. This is useful if you've just placed a curved wall and want to jump back into making regular walls again without having to go and click the tool's toggle button.

Bezier Curves

Supports both a Quadratic and Cubic curve to give differing forms of curve generation. The Quadratic curve may be of very niche use but gives a very fast way to create a simple curve. The Cubic curve is very powerful though, and provides a great to create "just the right" curve.

Ellipse Curve

Generates a simple ellipse that can be squished and stretched. You can cut a "slice" out of the ellipse to create an opening, and you can specify the arc offset of the walls so the segments are position at the right point along the curve.

You can place a perfect circle by holding the Alt key while placing or adjusting the ellipse tool.

You can have the tool grow the circle out from a center point by holding the Ctrl key while placing the ellipse tool. Useful if you know where the center of a room is and just want to grow the wall tool out from there.

Rectangle Tool

Generates walls in a rectangle. This also allows you to specify the number of segments for each side, including having a side with no walls!

You can place a perfect square by holding the Alt key while placing or adjusting the ellipse tool.

You can have the tool grow the rectangle out from a center point by holding the Ctrl key while placing the ellipse tool. Useful if you know where the center of a room is and just want to grow the wall tool out from there.

Special placement of Ellipse and Rectangle tools

Shape Tracing

For the Quadratic Bezier Curve, Ellipse, and Rectangle tools, you can now plot points along the shape to fit the placement tool to. Unfortunately Cubic Bezier curves can not be easily approximated, and therefore it is not traceable. Also, ellipses cannot be generated by fewer than 5 points and each points needs to be precisely placed, so the trace tool will only generate perfect circles using 2 points (the first being the center and the second being the edge) or 3 points (all three points are on the edge of the circle).

To place points, simply Left-Click on the canvas. You can also drag an existing point by Left-Click Drag. To remove a point, simply Ctrl + Left-Click

Shape Tracing for Tool Placement

Move or Place Most Recent Configuration

If you have configured a tool to match that perfect circle for a tower but have a couple more identical towers to do, you can simply Ctrl + Left-Click the canvas to place the tool using the most recent configuration.

Clone recent tool config to new location

Uses the Current Wall Type Selection

Wall Type Selection

Community Libraries Used

Contributors

Changelog

You can find all the latest updates in the CHANGELOG



Building the module

This module requires NPM in order to be compiled as it uses TypeScript and Gulp.

  • Make sure you have NPM installed: Get NPM
  • Open a terminal in the module directory /path/to/repo/dragonflagon-fvtt/df-curvy-walls/
  • Run the following npm install
  • After that finishes you can simply run npx gulp
  • You will find the compiled module in the now available dist/ folder.

Auto-deploy to local FoundryVTT

If you want to have the compiled module output to the FoundryVTT installation instead of to the dist/ folder, you can do the following:

  • Open the package.json file.
  • Change the "devDir": "..." value to your own installation of Foundry's module folder.
  • Run the following command npx gulp dev to build the project and have the result copied to your Foundry Modules folder.