Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Its how he loads level data from image file using RGB values


I noticed a snippet fairly recently (last hour or so) using alpha values as an ID for switches and the things they're connected to (doors, etc).

So technically, it's RGBA values :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: