Code Monkey home page Code Monkey logo

stacklands-fixgrid-mod's Introduction

Stacklands FixGrid Mod

Adjusts the card alignment grid (when pressing E to align card) so that it always perfectly aligns with the map meaning you'll never have cards trying to align into the wall and jump around because they can't again.

Specifically, it increases the space between cards in the grid if necessary to make it align.

It also adds configuration options for the minimum size of the grid and by default slightly decreases the minimal horizontal distance between cards.

On the island, the visible grid can't easily be made to align properly so it will be hidden. The cards will still align to the correct position. If you prefer, you can instead turn the alignment fix off for the island in the config. In that case, the grid size will still be adjusted according to the configuration but the grid won't be perfectly aligned to the edge of the board.

Development

  • Build using dotnet build
  • For release builds, add -c Release
  • If you're using VSCode, the .vscode/tasks.json file allows building via Run Build/Ctrl+Shift+B

Links

Changelog

  • v1.1.1: Don't unpatch when exiting the game
  • v1.1.0: Steam Workshop Support
  • v1.0.2:
    • Compatibility with OffGrid and ToggleGrid mods
  • v1.0.1:
    • Only snap cards on current board to grid
    • Fix island grid alignment (requires hiding the grid there, can be turned off in the config)
  • v1.0: Initial release

stacklands-fixgrid-mod's People

Contributors

benediktwerner avatar

Stargazers

 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.