OrthoRobot's Picture File Levels

Feel free to showcase your own projects!
Post Reply
B-Man99
Posts: 1868
Joined: 02 Jul 2012, 00:32
Contact:

Post » 26 Aug 2012, 16:51

I have been fiddling around looking at Ortho Robot's source and was wondering if there were any tutorials on reading ,pixel by pixel, picture files.

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 26 Aug 2012, 21:10

...
Last edited by Qcode on 21 Oct 2021, 08:31, edited 1 time in total.

User avatar
tesselode
Posts: 155
Joined: 04 Feb 2012, 05:33

Post » 26 Aug 2012, 23:34

Use for loops, love.image.newImageData, and ImageData:getPixel(). Good luck.

B-Man99
Posts: 1868
Joined: 02 Jul 2012, 00:32
Contact:

Post » 27 Aug 2012, 14:35

Thanks guys. I looked at ImageData on the love2d wiki. It helped. So did Qcode's link.


PS: Tesselode, I really like your response. LOL

Post Reply