Thread: PokeDS
View Single Post
Old October 9th, 2012 (9:50 AM).
DaSpirit's Avatar
DaSpirit DaSpirit is offline
Mad Programmer
    Join Date: Jul 2007
    Location: New York City
    Gender: Male
    Nature: Quiet
    Posts: 240
    The second image seems like a bad idea to me. It's easy to visualize but it uses more data than it should. Each pixel would be 3 bytes (or 4 if you're using alpha transparency). 256^3 (or 4 lol) seems like it would be too many possibilities. Consider using a black/white collision image instead, where you would only need 1 byte (char) per pixel. There is no way you would use more than 256 possibilities.
    Reply With Quote