Code: Select all
pixels[x + y * width] = //texture pixel blah blah
Before I go through the effort of recreating such an engine in LÖVE, do you think it would be worth my while? Or is the image.setPixel too slow to do over 28 million times per second? (60 fps * 800 width window * 600 width window = total number of pixels per second)
I'm not the best at general math to be honest, that's what code is for, I'm better at trig. It may be less than that if I've made some bozo mistake...
Has anyone here created such an engine before that can give me pointers?
I understand it's called LÖVE2D for a reason, but if the method was fast enough this would still be a fun challenge to make.