Hi!
I'm just adding Thumby support to a collection of 'retro' 8x8px fill patterns.
e.g. https://github.com/ace-dent/8x8.me#11-symbols
The idea is to make it easy to copy& paste code to get the artwork.
I've crafted the `# BITMAP...` comment to support importing into the web based IDE / bitmap editor.
I would appreciate any feedback.
Thanks :-)
This is really cool! Once you're in a good spot we should add a link to this in the documentation, or something like that.
You should link this in the Discord: https://discord.gg/nkwR3WBBXD
Thanks Jason.
I'm new to Python and Thumby... does the generated code look reasonable?
I'd like to refine it to 100%, before converting hundreds of images! ;D
Quote from: acedent on September 28, 2022, 06:32:40 PM
Thanks Jason.
I'm new to Python and Thumby... does the generated code look reasonable?
I'd like to refine it to 100%, before converting hundreds of images! ;D
Yup, looks good enough.
I also tested it on Thumby and the emulator and it works. Importing the comment string into the bitmap builder is also functional.
@Jason - I appreciate the testing and review.
Currently assigning the bitmap to a Sprite class is commented out as default. I figured this wasted RAM (/ program memory?) if the user chooses another blitting method or if the sprite is never used...?
Is that a fair assumption?
Might the API be extended in the future, with other blitting classes? (e.g. simple non-masked bitmap, or a screen pattern fill, etc.)
Quote from: acedent on September 29, 2022, 11:46:38 AM
@Jason - I appreciate the testing and review.
Currently assigning the bitmap to a Sprite class is commented out as default. I figured this wasted RAM (/ program memory?) if the user chooses another blitting method or if the sprite is never used...?
Is that a fair assumption?
Might the API be extended in the future, with other blitting classes? (e.g. simple non-masked bitmap, or a screen pattern fill, etc.)
Commenting the sprite by default seems like a good idea. As you said, it would use ram.
The Thumby API is always open to being extended. I think a pattern fill function would be great!
Right now, the Thumby API lives here: https://github.com/TinyCircuits/TinyCircuits-Thumby-Code-Editor/tree/master/ThumbyGames
I've changed the formatting style to better match my tastes...
e.g. https://github.com/ace-dent/8x8.me/blob/main/01-Dots/Dots.thumby.py#L18-L29
Hopefully moving the big comment block inside the byte array won't offend people!?
Hi,
I finished up my asset pack of 'retro' 8x8px repeating tile patterns:
http://8x8.me
Public Domain - free to use.
The Thumby code snippets encode the image as a bytearray (and sprite), and original png images are provided.
Appreciate any feedback; hope it's useful :-)
(//)
💀 ℌ𝔞𝔭𝔭𝔶 ℌ𝔞𝔩𝔩𝔬𝔴𝔢𝔢𝔫! 💀
~ 𝒮𝑒𝒶𝓈𝑜𝓃𝓈 𝒢𝓇𝑒𝑒𝓉𝒾𝓃𝑔𝓈 ~ ❄️👾❄️
invaders (https://github.com/ace-dent/8x8.me/blob/main/14-Symbols/README.md)) x
Hello, I'm new and want to stay here to learn more. I'm new to Python and I find it really complicated