ccSetResolution now takes integer