Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-20-2010, 02:47 PM   #1 (permalink)
riq
Registered Member
 
Join Date: Oct 2008
Location: Buenos Aires, Argentina
Posts: 20
riq is on a distinguished road
Default cocos2d v0.99.5 released. Mac, Retina Display and PVR Textures

Hi,

I’m happy to announce that cocos2d for iPhone and Mac! v0.99.5 is available for download: cocos2d-iphone-0.99.5.tar.gz

Release Notes: v0.99.5 Release Notes

API Reference: v0.99.5 API Reference

Full Changelog: v0.99.5 Changelog

Highlights of v0.99.5:
  • Mac Support
  • Automatic Retina Display Support
  • PVR Textures

Mac support
cocos2d now supports Mac as a target platform!

Porting your cocos2d (iOS) game to Mac is really easy. If your game only uses cocos2d then the only thing that you have to modify is event handling code. eg: Replace accelerometer/touches code with keyboard/mouse code.

All the cocos2d for iOS functionality is present on Mac with only a few exceptions (see Release Notes). cocos2d for Mac also supports fullscreen and auto-resize.

cocos2d already includes Mac templates, so it is as easy to start a cocos2d Mac project as it is for iOS.

Remember that the Mac App Store opens on January 6, 2011

Retina Display
All the cocos2d API was converted from Pixels to Points. It means that cocos2d supports Retina Display automatically.

If you have a cocos2d game for iPhone and you want to support iPhone 4 (Retina Display), then the only thing that you have to add is the Retina Display assets (graphics and graphics meta data), and nothing more! There is no need to modify your existant code.

PVR Textures
Do you want to improve the loading time of your game ? Then PVR textures is what you need

What is PVR ? PVR is a container format, in particular a texture container format. You can pack any texture format inside a PVR file, including RGBA4, RGBA5551, RGB565, PVRTC-4bpp,… texture formats.

PVRTC-2bpp and 4-bpp are supported since cocos2d v0.5.2, but since v0.99.5 it is possible to pack ANY texture format. (List of supported formats)

Why PVR is faster than .PNG / .BMP / .GIF images ? Because the texture is already in the desired format. There is no need to decode and convert the image to the correct texture format.

According to some performance tests, PVR files are loaded 8x times faster than .PNG files.

The only problem with PVR files is that they can be as 10x times bigger than the .PNG counterpart. In this case, cocos2d offers the alternative to compress the PVR files using gzip or a custom format, keeping an small file size (usually smaller than .PNG) with faster loading times.

Further info: cocos2d v0.99.5 released
riq is offline   Reply With Quote
Reply

Bookmarks

Tags
cocos2d, mac, pvr, retina display

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 414
12 members and 402 guests
7twenty7, chemistry, ChrisYates, djohnson, gmarro, hussain1982, Kirkout, Retouchable, skrew88, SLIC, walex, xzoonxoom
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,128
Posts: 402,921
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:09 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0