0 Members and 1 Guest are viewing this topic.
How did you get such good grayscale??
So is this a tile-map or pixel-perfect? Would making it pixel-perfect slow it down a lot?
Well I am making a game, and right now it is pixel perfect. Basically right now it checks if above, below, left, and right of the player are solid, and saves it to variables. Another task (thread) checks those variables to see if it can move (The player only collides with the bottom left corner which stinks ). Is there a better, more efficient way to do this? The grayscale is not as good as yours because of the time it takes to draw all the stuff and check pixels.
But there are 2 threads, not one.And also wouldn't it have to update the screen 3 times since it is 4 lvl grayscale?
That doesn't make sense. Why would it only update twice if there are 4 colors? Shouldn't it update 3 times?? Because 4 level grayscale has 3 pictures.