John van Leeuwen
John van Leeuwen
- The widget launcher button is hidden by default. - Activates when any Editor has path set to */thumbyGrayscale.py - Compatible with thumbyGrayscale v3.0.0. - Outputs two bitmaps. - The...
https://github.com/TinyCircuits/TinyCircuits-Thumby-Code-Editor/blob/ef59ff908c32a56d6b0b067829abdc39b6edb772/js/bitmap_builder.js#L131 I noticed that the exportBitmap function had some really nice logic that replaces the bytearray for a selected variable. Its pretty nice functionality that never gets triggered because the...
https://github.com/TinyCircuits/TinyCircuits-Thumby-Code-Editor/blob/ef59ff908c32a56d6b0b067829abdc39b6edb772/js/main.js#L373 Minor issue, but I thought I would mention it. There is code that tries to prevent multiple Bitmap Builder widgets from being opened, by recursively searching for the name...
These changes were pursued after the following question in the Discord chat: https://discord.com/channels/898292107289190461/898292174410612787/1137119035113361488  "Hi there! I am a total amateur and don't know anything about coding but have been...
The stand-alone emulator previously used the same menu.py file that runs on the device, but manipulated the python code with some hot patches to be able to dynamically load all...
This allows the display pipeline to have an optimised update process: - show_async() - do some game logic & draw to a temp buffer - show_wait() - copy to display...
Starting the BrightnessTest, at least in Fast Execute (menu launch not tested) will have a bright horizontal artifact roll down the screen and then become stable.
For that device, 0 is off and 1 is lowest brightness. Thanks to Unimatrix0 for sharing fix: "... the low brightness being broken can be fixed by simply changing brightnessVals=[0,28,127]...
thumbyGraphics: ``` def drawSprite(self, s): self.blit(s.bitmap, int(s.x), int(s.y), s.width, s.height, s.key, s.mirrorX, s.mirrorY) ``` thumbyGrayscale: ``` @micropython.native def drawSprite(self, s): self.blit(s.bitmap, s.x, s.y, s.width, s.height, s.key, s.mirrorX, s.mirrorY) ``` Thanks...