Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
A Basic Scale and Margin calculations tool for Godot.1) Scale tool:* "How much to scale by": Calculates the target scale based on original dimensions and the target minimum (or maximum) size in pixels for either width or height* "What are the new dimensions of the sprite once scaled": Calculates the dimensions based on a given scale2) Margin tool:* "Where to put the item based on margins": Calculates where the (center of) the sprite should be, based on the margins/distance to a defined reference position and direction(I put those two tools together because I personally need to use both at the same time for my own game).
A Basic Scale and Margin calculations tool for Godot.
1) Scale tool:
* "How much to scale by": Calculates the target scale based on original dimensions and the target minimum (or maximum) size in pixels for either width or height
* "What are the new dimensions of the sprite once scaled": Calculates the dimensions based on a given scale
2) Margin tool:
* "Where to put the item based on margins": Calculates where the (center of) the sprite should be, based on the margins/distance to a defined reference position and direction
(I put those two tools together because I personally need to use both at the same time for my own game).
Reviews
Quick Information
A Basic Scale and Margin calculations tool for Godot.1) Scale tool:* "How much to scale by": Calculates the target scale based on original dimensions and the target minimum (or maximum) size in pixels for either width or height* "What are the new dimensions of the sprite once scaled": Calculates the dimensions based on a given scale2) Margin tool:* "Where to put the item based on margins": Calculates where the (center of) the sprite should be, based on the margins/distance to a defined reference position and direction(I put those two tools together because I personally need to use both at the same time for my own game).