Log In  

v0.3

  • Made the function CURSOR()-dependable

Cart #sprprint-2 | 2023-12-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

I got an idea to make this from this post: https://www.lexaloffle.com/bbs/?tid=51903 (I probably didn't understand what did they mean though)

This library is still in development.

Old versions:

v0.2

  • Fixed sprite position

Cart #sprprint-2 | 2023-12-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

v0.1

  • Initial release
  • Does not have sprite position fixed, any index length and escape characters support

Cart #sprprint-0 | 2023-03-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


P#126779 2023-03-08 11:00 ( Edited 2023-12-18 15:39)

A nice idea. Trying to compute the new coordinates of the cursor after a partial print is limiting : what if you use newlines, characters wider than 3 pixels, what if the screen scrolled ? Instead, do your partial print and call cursor() without parameter to know where to draw your sprite. Then update the cursor coordinates, either with cursor with parameters or by printing spaces, and redo the whole thing if you have characters remaining.

P#138524 2023-12-10 21:14

@RealShadowCaster I forgot CURSOR() exists lol. That would be a very good idea! Also the library is too small for PICO-8 to crash Iirc. And rewriting it would be nice too. Thanks!

P#138562 2023-12-11 16:22

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 19:02:37 | 0.045s | Q:22