Draw Single Pixel?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
nutcase84
Prole
Posts: 11
Joined: Sun Nov 24, 2013 7:48 pm

Re: Draw Single Pixel?

Post by nutcase84 »

Sorry if I am being vague, but I don't want everything pixelated, I want to set pixels individually. Thanks!
bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey »

-snip-
Last edited by bekey on Fri Jan 24, 2014 2:00 am, edited 1 time in total.
User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: Draw Single Pixel?

Post 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.
nutcase84
Prole
Posts: 11
Joined: Sun Nov 24, 2013 7:48 pm

Re: Draw Single Pixel?

Post 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... :awesome:
nutcase84
Prole
Posts: 11
Joined: Sun Nov 24, 2013 7:48 pm

Re: Draw Single Pixel?

Post by nutcase84 »

Also, if there was something like love but NOT OBJECT ORIENTED, that would be nice. I really do dislike object oriented programming. :(
User avatar
DaedalusYoung
Party member
Posts: 413
Joined: Sun Jul 14, 2013 8:04 pm

Re: Draw Single Pixel?

Post by DaedalusYoung »

I seriously hate OOP too, that's why I chose Lua. LÖVE doesn't feel like OOP to me.
nutcase84
Prole
Posts: 11
Joined: Sun Nov 24, 2013 7:48 pm

Re: Draw Single Pixel?

Post by nutcase84 »

Well, it does to me. I would kill for something like computercraft's API. That would be awesome.
User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: Draw Single Pixel?

Post 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.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Draw Single Pixel?

Post 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.
User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: Draw Single Pixel?

Post 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.)
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot] and 8 guests