7
votes
2answers
365 views

Java single Array best choice for accessing pixels for manipulation?

I am just watching this tutorial https://www.youtube.com/watch?v=HwUnMy_pR6A and the guy (who seems to be pretty competent) is using a single array to store and access the pixels of his to-be-rendered ...
4
votes
1answer
949 views

2D Software Lighting Issues in Java

I'm creating a 2D top-down tiled game in pure Java and by now I'm trying to implement a way to do lighting. First, some details on how I render: there is a screen class which handles all the ...
12
votes
3answers
2k views

How do I scale down pixel art?

There are plenty of algorithms to scale up pixel art. (I prefer hqx, personally.) But are there any notable algorithms to scale it down? My game is designed to run at a resolution of 1280x720, but if ...
4
votes
3answers
571 views

C++ Efficient Pixel Management for Non-Polygon Graphics Engine

So I've been looking for a way to efficiently manage the pixels on a screen, but so far all I've found is along the lines of SetPixel() in windows (painfully slow), and drawing a rectangle 1px X 1px ...