Log In  

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

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.

P#73181 2020-02-17 19:22 ( Edited 2020-02-18 12:20)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-12-03 16:50:41 | 0.032s | Q:15