This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
bbqroast's profile picture

Bitmapping?

Started by bbqroast, 26 May 2012 - 04:45 AM
bbqroast #1
Posted 26 May 2012 - 06:45 AM
I was wondering if we could get a bitmap api.
Basically you initialize bit-mapping:
bitmap.init()
This clears the screen removing the cursor, when the program is closed (or a call is made to bitmap.close()) the console returns to its regular state. Then you can call:
bitmap.setPixel(x,y,r,g,b)
Which sets the pixel at x,y to the color (r,g,b).
It would help a lot with doing some cool stuff!
Xfel #2
Posted 26 May 2012 - 07:00 AM
This has been suggested many times before. And it won't happen, as dan want's it to be text-based and this would lead to a LOT of network traffic on SMP.
darkhog #3
Posted 29 May 2012 - 08:51 PM
If we would go for full rgb, sure. But we could limit it to 16 colors (4bit) or do it monochrome. Also how about custom, optional peripheral that would be like monitor, but it'll have direct gfx access?

And dan's is a stubborn fellow. Why can't he add it? If you want your computers to be text-based, you just won't use it. Period. It is all about choice. Such graphics monitor could be also expensive (like gold/diamond blocks instead of smoothstone) to limit it use.


…or maybe he's just unable to do it? If so, I think he could say so. I'm sure that no one would laugh at him…