Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi! Thanks for the positive feedback!

There are two functions in the scripting API that you may want to have a look at:

An updated example of this workflow is described on the preview scripts page of the program’s documentation.

The UV mapping is generated by iterating over every pixel in animation. For every non-transparent pixel at ax, ay with the color ac, the algorithm looks for the pixel coordinates of the color ac in map, which we will call mx, my. Each color in map should occur exactly once. The algorithm then samples the color at mx, my in texture, which we will call tc. The color tc is then assigned to the pixel at ax, ay of the result image. Not that this is not exactly like aarthificial’s implementation, where the red and green color channels of pixels in the lookup map encode pixel coordinate data.

Here are a couple of video tutorials you can check out if you haven’t come across them yet:

They are slightly outdated, should still help you understand the how to achieve this in Stipple Effect. Notably, the older video (flag example) uses the functions gen_lookup() and tex_col_repl() instead of $Graphics.gen_lookup() and $Graphics.uv_mapping().

I plan on creating updated tutorials and to go into more depth with scripting tutorials in the near future.

I hope that answers your question! Let me know if it didn’t or if I can help you further! Have you had a chance to use Stipple Effect? Also, feel free to send me your assets and let me know if you’d like me to write you up a script for your particular use case to get you up and running.