You can support the development on the Github Sponsors page.


WIP > BITMINER


A wip sandbox
made by JKBYKM
uploaded by JKBYKM
added:
download cartridge
- CLICK TO PLAY -

0


Comments


Popolon

Intersting concept, but drawing each plan of the background line by line in lua, really kill the performances. Using triangle for part of mountain and lines for border would accelerate it a lot. The same way, there is map function to past map, instead of copying, blocks one by one, you can set the number of the tiles in the map memory only at initialisation and when one is changing, and ask the map() function to fill the screen in one lua instruction, it will be done in machine code with TIC80 binary interpreter or wasm on the web version.


JKBYKM

Oh I haven't messed with triangles yet that's definitely a good use for them! I'm still new to TIC80 (and Lua tbh, I'm used to pygame, but wanted to do a retro feel thing), that's a good idea. I was using the map function before, but I wasn't sure how to do it in the way I wanted. I'm still messing with it. Do you know how that last variable works? remap? The wiki helped, but I feel like it has potential that I'm just not seeing.


Post comment