Alvajoy123 wrote:
Oh my goodness!! I can't believe I'm just now noticing this! 0x5
Is it feasible to create a library using your implementation of "PICO-8 built-in functions"?


Admittedly, most of my built-in functions are quite hacky. I originally wanted to use general implementations of functions in a way that would allow them to be used for multiple programs, but I quickly ran into performance issues with that that I worked around by making the functions less general.

For example, the map() function, which draws a tilemap to the screen, but only the tiles that match a bitmask, originally just looped through a grid of sprites and drew them if they matched the bitmask. Now, I instead draw the tilemap into an unused portion of the screen, turn it into an RLET sprite, and then store the RLET sprite in a cache based on its position and bitmask. That works great for Celeste Classic (even faster than regular tilemaps), since it uses map() in a very predictable way that's good for caching. But for a game that uses map() differently, it could give performance that's much worse than just drawing the sprites one at a time.
Fantastic work - while a general lib would be good, I can fully understand why this would really need to be implementation specific for critical things.
darkwater4213 wrote:
EDIT: [s]Wish this game didn't freeze up and require a RAM reset whenever you die...[/s]

Edit again: Actually, it's just on the first level. About 25% occurrence. Any thoughts?


Does it still happen in the latest version or just the original one? I fixed a bug that behaves like that in yesterday's release.
commandblockguy wrote:
darkwater4213 wrote:
EDIT: [s]Wish this game didn't freeze up and require a RAM reset whenever you die...[/s]

Edit again: Actually, it's just on the first level. About 25% occurrence. Any thoughts?


Does it still happen in the latest version or just the original one? I fixed a bug that behaves like that in yesterday's release.


[s]whoa that was fast[/s]

I actually don't know -- I downloaded this about a month or two ago, and haven't updated literally anything on my calculator since then Shock
Somehow I am just now seeing this- and I must say, it looks absolutely incredible! Seriously, I didn't know the CE could do such amazing graphics.
Oh, really? Prepare to be absolutely flabbergasted (by someone who is not me)
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement