Page 1 of 1

Pattern Generator Utility

Posted: Wed Apr 02, 2025 3:21 am
by Hutchboy
Hi,

[ Note: I updated the attached pattern generator stack so you can save the generated images. This makes it much easier to import into a new image library (in the Development menu) should you want to use them in that way.]

The attached Pattern Generator allows you to create 32 x 32 and 64 x 64 pixel images with different pattern styles and includes an option to create images with transparency. I have embedded core handlers from the Minimum Drawing Library (see Games) so this does not require the library to operate. I am releasing it as open source under the MIT license

This utility will help create pattern libraries that can be used with graphic objects. To use, generate images then, in edit mode, copy the patterns you want to your own stack. Get the id of the new pattern image you copied to your stack and assign it as the id of the backgroundPattern of the graphic object you wish to fill with the pattern.



-Mike

Re: Pattern Generator Utility

Posted: Wed Apr 02, 2025 8:44 am
by richmond62
This is obviously very clever, but I am struggling to find a use-case for the resulting tiles.

Re: Pattern Generator Utility

Posted: Wed Apr 02, 2025 11:05 am
by richmond62
Well, perhaps not so . . .
-
Screenshot 2025-04-02 at 19.32.18.png