andya
New Member
Posts: 14
|
Post by andya on Aug 21, 2020 23:02:31 GMT
Hi All. I've re-created the Fast JB Sprie Maker utility program, that I originally posted on the old JB Forum. This time around, I wrapped it up in a simple GUI, and added a simple html 'Help File'. All that it does is take a plain old BMP (bitmap) file and adds a sprite 'mask' for use in the JB sprite system. For normally sized sprites, it takes less than a second to read the original BMP, and create a ready to use 'mask sprite'. You can get it here. Best Regards, Andy
|
|
|
Post by cundo on Aug 22, 2020 2:11:41 GMT
Hi Andy!! How are you? Thanks for sharing, your tools are always great.
|
|
andya
New Member
Posts: 14
|
Post by andya on Aug 22, 2020 5:11:23 GMT
Hi Cundo!
I'm doing fine. I'ts been quite a while, but let's see if I can get back in the swing of things.
I hope someone who does graphic programming will find the little utility useful.
Cheers,
Andy
|
|
|
Post by B+ on Aug 22, 2020 19:30:19 GMT
|
|
|
Post by Rod on Aug 22, 2020 20:33:08 GMT
Andy’s original code was the inspiration for my recent app. I went down the drawing/tweaking route. But I got way to complex so a plain masking tool is a welcome addition.
|
|
andya
New Member
Posts: 14
|
Post by andya on Aug 22, 2020 21:08:42 GMT
B+Rod's fine 'Sprite Creator' is aimed at a totally different audience than my tool. Bluatigor's tool is not the easiest for me to wrap my mind around. 'Sprite Creator' will get you up and running with a minimum of effort, while my 'Fast Sprite Masker' is for more experienced users or for those who work with odd sized, or large sized sprites. My tool first came out in 2006, but was lost when the old Conforums closed down. Most other sprite masking tools came out much later. Of course you knew nothing about the history of these tools, since you're a relative new comer.
|
|
|
Post by B+ on Aug 22, 2020 21:44:52 GMT
Rod and Andy, Thanks for helping me distinguish the difference without having to figure it out myself!
|
|
|
Post by Sprout on Aug 25, 2020 2:59:11 GMT
This is great for me! I love making little games, and I like to create my own sprites. I recently switched to Ubuntu, and I couldn't find an easy way to make a sprite mask. I just used Microsoft Paint before because I don't know how to use fancy drawing programs like GIMP. Thank you!
|
|
andya
New Member
Posts: 14
|
Post by andya on Aug 25, 2020 19:09:44 GMT
Hi Sprout,
I have never use Linux myself, but it's good to know that JB under Ubuntu/Wine works well for you. It's seems like Sprite Maker uses such simple JustBasic commands, which is why it works under Ubuntu/Wine.
|
|
|
Post by Sprout on Aug 25, 2020 20:14:46 GMT
JB works pretty much the same on Ubuntu, however there is the occasional crash when I try to run code with an error. This doesn't matter too much because I save my code before running it.
|
|
|
Post by tsh73 on Feb 17, 2021 7:38:05 GMT
Hello Andy I was trying to run your tool on sprite from JB installation It produced a jugged mask I thought "Aha, it should be about color depth" Indeed your code is written for 24-bit but JB sprites are 8 bit And you have a check - but it happened you had it wrong
If Left$(info$,2)<>"BM" And Mid$(info$,29,1)<>Chr$(24) Then Would you correct it in archive to
If Left$(info$,2)<>"BM" OR Mid$(info$,29,1)<>Chr$(24) Then ?
|
|
andya
New Member
Posts: 14
|
Post by andya on Feb 17, 2021 23:58:05 GMT
Hi tsh73, Changed the 'AND' to an 'OR' on that particular line and it works fine now. Thanks for the notification. I have updated the .zip file at the JB Archive, and have added some text to remind everyone that this little Sprite Masker only works with 24-bit images. Cheers
|
|