I'm trying to plan how to implement non-fixed boundaries so the player can expand their controlled territory without using a tiled based system. Each pixel can be fought over for who controls it.
I will need to set the color for each pixel depending on who controls it so I'm thinking I'll have to check each pixel for who controls it every refresh?
I'm not sure what the best way to do this and I think performance would be an issue
Any suggestions?
int[][]
array matching the size of the game window and drawing a 1x1 texture to each pixel every frame. The performance was bad, giving under 10fps. Maybe it would be feasible if I were to only update 30 times per second or something. \$\endgroup\$