Skip to content

Feature: Add tile parameter to .rect files #1821

Description

@Canliferous

Which component should be improved?

Hammer

Describe your feature suggestion in more detail

When hotspots are smaller than the brush face, the selected region is stretched to fill the surface.
This had me manually changing the texture scale back to the 1

In the .rect file I would like a way make it so the hotspot region is tileable

Something like this:

Rectangles
{
	rectangle
	{
    		min "0 512"
            max "1024 1024"
    		rotate  1   // Should this region be randomly rotated?
     		reflect 1   // Should this region be randomly horizontally flipped?
     		tile "x, y" // If tile is set to "x, y" allow texture scale to be locked on that axis - No tile means its back to normal texture scaling.
    		alt 1       // If true, this region belongs to the alternate group.
	}
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureThis is something completely new that will be added.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions