character collision

so in allegro 5 i make by character 34x34 pixels. the reason was that my tiles are all 32x32 so i wanted to have a 1 pixel box around the character to test for collision. previously when the character was just 32x32 the pink box was conpletely invisible. but since i updated it there is a 1 pixel pink box around the character and the original 32x32 box is still invisible. why is this?


1
2
3
4
5
//this draws the character and creates the pink color to be invisible

Character = al_load_bitmap("Character.png");

al_convert_mask_to_alpha(Character, al_map_rgb(255, 0, 255));
ok. i got it. haha when i redrew the character with the 34x34 in photoshop i didnt use 255, 0, 255. the color was actually 244, 0, 255. i couldnt tell the difference in the color but the computer definitely did.
Topic archived. No new replies allowed.