first snow! ❄ so I ran outside and caught a snowflake with my tongue. you ever do that? face up to the sky and stick out your tongue and if you are lucky you catch a tiny taste of perfection. it feels like a magic spell, it's something you have to do once a year. winter rules.
Today I published my first PyPI package! 🥳 A small alarm clock for your console! Not tested on anything else than Ubuntu! Would be nice if someone checks other OS's.
PyPI
https://t.co/wsEmputKny
GitHub:
https://t.co/1BozO8zhm7
@saulc12@zappedtothe Finished coding the new drawing routine. Haha! THANK YOU for your great idea! Haha! I will try to combine it with some pattern drawing later. To get some more bytes free I think. But now my bed is calling. Haha!
#screenshotsaturday This week I added a drawing algorithm to my #C64 game to save memory space for the game's backgrounds.
I managed to reduce the former needed 1000 bytes to 467 bytes.
Here is a gif of the drawing process.
@saulc12@zappedtothe Now I tested it and I would end up with 422 bytes instead of 439 bytes. And my drawing routine would be a lot faster and smaller too. It would also be a lot easier to convert the pictures to this. Haha!
@saulc12@zappedtothe I could save 16 bytes by putting the colors into the function type bytes...
That would mean: $21 is a red rectangle for ecxample.
And I could shorten the pattern by using nibbles instead of bytes. that would save me 12 bytes too. :0D
@saulc12@zappedtothe and last but not least, the pattern:
!byte $F3, $14, $A0, $D8
!byte #<pattern
!byte #>pattern
1st: Function type
2nd: Number of repetitions
3rd+4th: start position
5th+6th: pattern position in ram
Here is the coded version running on real C64 hardware connected to a good old PAL TV. No PETSCII tricks added. Now I need to reduce the bytes it needs. 1000 bytes is a bit big on a machine that just has 64k of RAM. Haha!
Today I started the work on a new game idea. I used C64 colors and hope to get it transformed to code later. #screenshotsaturday#pixelart maybe I'll add some more #petscii finish later.