GithubHelp home page GithubHelp logo

microtransactionsmattertoo / rasterpainter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.19 MB

A mod to add basic raster graphics capabilities to Dungeondraft

License: MIT License

GDScript 96.94% GLSL 2.97% ShaderLab 0.09%

rasterpainter's Introduction

RasterPainter

RasterPainter banner logo

ko-fi

Raster Graphics for Dungeondraft

RasterPainter is a mod for Dungeondraft that implements basic raster graphics capabilities in the form of a simple layer based editor.

Features

  • Import external files into your map (WebP, PNG and JPEG supported)
  • Export raster layers to image files for editing (Export formats: WebP, PNG and JPEG)
  • Use your light assets as brushes
  • Full Undo and Redo Support (Requires _Lib)
  • Draw and blend terrain seamlessly
  • Layer opacity and tinting
  • Layers persist even if map is loaded without the mod (they won't be visible though)

Installation

Download the zip of the repo from here or using the green Code button, and unzip it into your mod directory Then install _Lib

IMPORTANT!

Due to limitations of Dungeondrafts modding API, layers are stored in your .dungeondraft_map file, which will increase file sizes, save and load times, sometimes quite significantly. This can be mitigated to an extent by modifying the Render Scale in settings (requires _Lib to be installed). I'd also recommend only using the mod primarily to make finishing touches, rather than to build your entire map.

Also, please make a backup of your map file while using the mod! I've done my best to avoid crashes, but I can't make guarantees

This mod can be quite heavy on RAM, especially at lower render scales, so be aware of this if you edit primarily on a laptop.

FAQ

  • Q: Painting is slow and freezes up Dungeondraft for a bit after every stroke A: Unfortunately this is something I can't completely resolve. To improve responsiveness, lower your render scale in settings
  • Q: The ends of lines drawn using a brush have a line running through them A: Unfortunately this isn't resolveable at present, but if it's really bugging you and you have a very good computer and a lot of RAM, you can set your render scale to 1
  • Q: Drawing on a large map is blurry and pixelated A: Due to engine limitations, raster layers cannot have a resolution greater than 16384 x 16384. To avoid a confusing crash, RasterPainter will automatically reduce the render scale until the raster layer will fit into this limitation
  • Q: I tried using a custom assets as a brush, but the stroke is broken A: Not all light textures are suitable for use as brushes, particularly those that have a lot of empty space.
  • Q: I can't undo or redo strokes! A: Full Redo and Undo functionality, along with the configuration menu, require _Lib to be installed to function
  • Q: I've run into a crash or bug! A: If you're running into crashes or other bugs, please file an issue on the Github repository.

Donations

If this mod has been useful to you, feel free to drop me 5 bucks on my Ko-Fi. It's much appreciated

rasterpainter's People

Contributors

microtransactionsmattertoo avatar

Watchers

 avatar

rasterpainter's Issues

Crashes Dungeondraft

Dungeondraft v11.0.5
Windows 11 Pro
RasterPainter 1.0.2

Crashes Dungeondraft whenever I try to open a new map or an existing map.

Tried the following combinations but it still crashes)
Large maps ( > 60x60 squares )
Small maps (10x10 squares)
0 asset packs enabled
6 asset packs enabled
20 asset packs enabled

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.