Hi guys,
I'm making a port for snake on the 3ds for fun and I'm trying to see if there's a way to get the color of a pixel on the top screen of the 3DS at a point. Reason why is that I need to find a way to stop the game when the snake goes over itself, and the only way I can think of is having something in my main while loop that says that when the snake goes over a pixel that is green colored, the game should end. I don't really know if theres a function that can get the data of a specific pixel, and more specifically the color. If there is one, please let me know
I'm making a port for snake on the 3ds for fun and I'm trying to see if there's a way to get the color of a pixel on the top screen of the 3DS at a point. Reason why is that I need to find a way to stop the game when the snake goes over itself, and the only way I can think of is having something in my main while loop that says that when the snake goes over a pixel that is green colored, the game should end. I don't really know if theres a function that can get the data of a specific pixel, and more specifically the color. If there is one, please let me know