Log In  


Cart #transparent_lines-0 | 2020-02-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

This is a test for the purpose of using poke() bytes vertically as a way to draw transparent lines more efficiently.

Before version 1.12d you could only use pget/pset to draw a vertical transparent line, while now you can use poke(0x5f2c,135) to draw bytes vertically.

While the effect is the same, the CPU usage difference is pretty significant :)

This could be used for transparent rain effects for example.

Keep in mind that poke(0x5f2c,135) only works in the bbs right now.

7



[Please log in to post a comment]