Page 2 of 3
Re: Draw Single Pixel?
Posted: Tue Nov 26, 2013 4:25 pm
by nutcase84
Sorry if I am being vague, but I don't want everything pixelated, I want to set pixels individually. Thanks!
[]
Posted: Tue Nov 26, 2013 5:03 pm
by bekey
-snip-
Re: Draw Single Pixel?
Posted: Tue Nov 26, 2013 5:39 pm
by Kingdaro
Perhaps you could try using a
canvas, then draw to the canvas whenever a change is made in a computer?
Otherwise, I'd just use a font, because I think I know what you're trying to accomplish.
Re: Draw Single Pixel?
Posted: Tue Nov 26, 2013 6:03 pm
by nutcase84
I have tried the point method, still is very slow. I will try Kingdaro's method. And hey... don't I know you form somewhere...

Re: Draw Single Pixel?
Posted: Tue Nov 26, 2013 6:12 pm
by nutcase84
Also, if there was something like love but NOT OBJECT ORIENTED, that would be nice. I really do dislike object oriented programming.

Re: Draw Single Pixel?
Posted: Tue Nov 26, 2013 9:30 pm
by DaedalusYoung
I seriously hate OOP too, that's why I chose Lua. LÖVE doesn't feel like OOP to me.
Re: Draw Single Pixel?
Posted: Wed Nov 27, 2013 1:19 pm
by nutcase84
Well, it does to me. I would kill for something like computercraft's API. That would be awesome.
Re: Draw Single Pixel?
Posted: Wed Nov 27, 2013 1:49 pm
by Plu
nutcase84 wrote:Well, it does to me. I would kill for something like computercraft's API. That would be awesome.
You do realise computercraft runs on Lua, just like löve does, right? It's the same programming language, and anything that works there works here as well.
Especially in Lua, OO is a choice you make. If you don't want to work OO, don't make that choice, make your code in whatever way you like.
Re: Draw Single Pixel?
Posted: Wed Nov 27, 2013 2:06 pm
by T-Bone
Plu wrote:nutcase84 wrote:Well, it does to me. I would kill for something like computercraft's API. That would be awesome.
You do realise computercraft runs on Lua, just like löve does, right? It's the same programming language, and anything that works there works here as well.
Especially in Lua, OO is a choice you make. If you don't want to work OO, don't make that choice, make your code in whatever way you like.
The LÖVE API is OO though, so you can't avoid it completely.
Re: Draw Single Pixel?
Posted: Wed Nov 27, 2013 2:13 pm
by Plu
Then again, so is the computercraft API... they are practically the same in all aspects I've seen.
(Granted, I haven't done an awful lot with computercraft. But it behaves just as löve does.)