Background art resources

acedent · 11 · 14598

acedent

  • Full Member
  • ***
    • Posts: 14
    • View Profile
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 :-)


Jason

  • Administrator
  • Hero Member
  • *****
    • Posts: 107
  • TinyCircuits Employee
    • View Profile
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
« Last Edit: September 28, 2022, 06:16:49 PM by Jason »


acedent

  • Full Member
  • ***
    • Posts: 14
    • View Profile
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


Jason

  • Administrator
  • Hero Member
  • *****
    • Posts: 107
  • TinyCircuits Employee
    • View Profile
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.


acedent

  • Full Member
  • ***
    • Posts: 14
    • View Profile
@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.)


Jason

  • Administrator
  • Hero Member
  • *****
    • Posts: 107
  • TinyCircuits Employee
    • View Profile
@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
« Last Edit: September 29, 2022, 12:58:39 PM by Jason »


acedent

  • Full Member
  • ***
    • Posts: 14
    • View Profile
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!?


acedent

  • Full Member
  • ***
    • Posts: 14
    • View Profile
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 :-)



acedent

  • Full Member
  • ***
    • Posts: 14
    • View Profile
💀 ℌ𝔞𝔭𝔭𝔶 ℌ𝔞𝔩𝔩𝔬𝔴𝔢𝔢𝔫! 💀

« Last Edit: October 31, 2023, 08:59:53 AM by acedent »


acedent

  • Full Member
  • ***
    • Posts: 14
    • View Profile
~ 𝒮𝑒𝒶𝓈𝑜𝓃𝓈 𝒢𝓇𝑒𝑒𝓉𝒾𝓃𝑔𝓈 ~  ❄️👾❄️ 

invaders x


nojeg58409

  • Newbie
  • *
    • Posts: 1
    • View Profile
Hello, I'm new and want to stay here to learn more. I'm new to Python and I find it really complicated


 

SMF spam blocked by CleanTalk