This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Black and White Pixel Manipulation for Normal Computers
Started by nutcase84, 04 March 2013 - 12:38 PMPosted 04 March 2013 - 01:38 PM
Why not have black and white pixel manipulation for normal computers? It seems like a good idea to me. We would be able to make somewhat alright UIs on normal computers.
Posted 04 March 2013 - 01:40 PM
Kinda like this? http://puu.sh/2bHQ2
some lovely code to detect
EDIT: Also no polls. It doesn't sway the decisions of the developers.
EDIT #2: Oh also you can do the black/white pixels on Turtles too.
some lovely code to detect
if not term.isColor then
-- its a pre CC 1.4 computer
elseif term.isColor() then
-- its an advanced computer
else
-- its a normal computer
end
EDIT: Also no polls. It doesn't sway the decisions of the developers.
EDIT #2: Oh also you can do the black/white pixels on Turtles too.
Posted 04 March 2013 - 01:46 PM
Yah, like that.
I like polls. They sway me.
I like polls. They sway me.
Posted 04 March 2013 - 01:46 PM
Computers don't have pixel manipulation.
Posted 04 March 2013 - 01:48 PM
Oops I uploaded the wrong screenshot. this is a better one http://puu.sh/2bHZv now you can see that I actually did that ON a normal computer :P/>Yah, like that.
Posted 04 March 2013 - 01:49 PM
Um… have you ever used a adv. computer immibis? Or have you been playing with mag cards too much… (Also, I love your mod!)
EDIT: HOW DID YOU DO THAT TOB!?!?!?
EDIT: HOW DID YOU DO THAT TOB!?!?!?
Posted 04 March 2013 - 01:52 PM
You just do it with term.set<type>Color( <color> ) just like you do on advanced computers.EDIT: HOW DID YOU DO THAT TOB!?!?!?
term.clear()
term.setCursorPos(1,1)
paintutils.drawPixel(1,1,colors.white)
paintutils.drawPixel(5,6,colors.white)
paintutils.drawPixel(4,9,colors.white)
paintutils.drawPixel(6,4,colors.white)
paintutils.drawPixel(4,2,colors.white)
paintutils.drawPixel(7,5,colors.white)
paintutils.drawPixel(15,9,colors.white)
paintutils.drawPixel(4,2,colors.white)
Lets MIX IT UP?! http://puu.sh/2bI9N
term.setBackgroundColor(colors.white)
term.clear()
term.setCursorPos(1,1)
paintutils.drawPixel(1,1,colors.black)
paintutils.drawPixel(5,6,colors.black)
paintutils.drawPixel(4,9,colors.black)
paintutils.drawPixel(6,4,colors.black)
paintutils.drawPixel(4,2,colors.black)
paintutils.drawPixel(7,5,colors.black)
paintutils.drawPixel(15,9,colors.black)
paintutils.drawPixel(4,2,colors.black)
Posted 04 March 2013 - 01:54 PM
No… how did you do that on a normal computer?
Posted 04 March 2013 - 01:59 PM
That was my exact code!No… how did you do that on a normal computer?
Further example
http://puu.sh/2bIih
Posted 04 March 2013 - 02:04 PM
So there is already black and white pixel manipulation for norm. comuters already?
And what is that program in the background?
And what is that program in the background?
Posted 04 March 2013 - 02:09 PM
Yes there is already the ability to change the colour of the pixels on normal computers and turtles, they can only be black and white, but they can still be changed.So there is already black and white pixel manipulation for norm. comuters already?
Sublime Text 2. with these installed:And what is that program in the background?
- http://www.computerc...uto-lua-syntax/
- http://www.computerc...sublime-text-2/ (I modified it a little)
Posted 04 March 2013 - 02:10 PM
I feel like a dork. Thanks TOBIT. A mod can lock this post now.
Posted 04 March 2013 - 04:28 PM
Locked as requested.