Page 1 of 1

Bitmap and 9 slice stuff

Posted: Sun Dec 18, 2016 4:34 pm
by Frad
Hey all, only recently decided to pick up flowstone to make some synths.
The bitmap drawer that comes with is okay but felt quite restricted... So I created 2 variants, one can define custom ways of scaling graphics to the holder and the other is 9 sliced sprite. I noticed the original ruby bitmap drawer had some sort of horizontal tiling going on so I brought that over to x/y on both these modules. I'm sure my ruby programming can be optimized. Also I'm not exactly sure what already exists out there, so maybe this already existed :P

-Fred

Re: Bitmap and 9 slice stuff

Posted: Sun Dec 18, 2016 4:52 pm
by Spogg
Hey nice work Frad!

Thanks for sharing.

Cheers

Spogg

Re: Bitmap and 9 slice stuff

Posted: Sun Dec 18, 2016 5:02 pm
by DigiTonix
Hi Frad!...: , It looks cool!... :), Thanx!

... I asked for the creation of these templates, there is no answer.
viewtopic.php?f=2&t=6200

Re: Bitmap and 9 slice stuff

Posted: Sun Dec 18, 2016 5:27 pm
by Frad
ah yes, to recreate those would take some time, since I only have been looking into this Ruby stuff for a few days hard to say how achievable it would be, maybe something similar that is pretty much built on presets that you modify, well depending on how you want to define the shapes I suppose since I don't think Flowstone allows reading pixels that it's drawing on like Photoshop's effects does (or shaders)

Re: Bitmap and 9 slice stuff

Posted: Sun Dec 18, 2016 6:30 pm
by Frad
Since I needed to make a switch next, here it is. I simply put my stuff on top of the old switch, and defaulted to 2x2 cells:
top left: normal off
top right: normal on
bottom left: pressed off
bottom right: pressed on

Re: Bitmap and 9 slice stuff

Posted: Mon Dec 19, 2016 7:59 am
by DigiTonix
Perhaps this is not as easy as I thought :? ...
In any case, your efforts benefit !, I know Photoshop and blender, but poorly with Ruby ..., thank you for sharing your experience!

Re: Bitmap and 9 slice stuff

Posted: Mon Dec 19, 2016 9:03 am
by Spogg
Nice switch!

Now firmly in my toolbox so many thanks!

Spogg