@Ricardo1980: The shaderTest is just an example of what you can do with shaders. Take into account that that some shaders are pretty expensive (GPU-wise), so don't abuse the "power" shaders since they can be pretty slow on the devices, specially the fragment shaders.
cocos2d v2.0.0-alpha released
(48 posts) (26 voices)-
Posted 5 months ago #
-
W00T!!! Congratulations and thank you for your hard work on Cocos2D!
Can't wait to try 2.x, when i'll have time, or at least see some cool games, made with 2.x branch.Posted 5 months ago # -
wow! awesome. thanks riq for all your hard work!
Posted 5 months ago # -
It's one of the coolest news ever. Thanks riq for your work!
Posted 4 months ago # -
At least I find time to migrate. But... on my iPad (1st gen) frame rate dropped to 22FPS from 60FPS that I got using 1.0.1.
Posted 4 months ago # -
Has anyone had any problems running "install-templates.sh" in the 2.0 version? I'm getting "permission denied" errors all over the place. I'm not a big command-line/shell guy, so I'm not sure what the problem is, but I did notice that there's a double-slash in many of the paths being output:
rm: /Users/mike/Library/Developer/Xcode/Templates/cocos2d//lib_cocos2d.xctemplate/libs/cocos2d/CCTextureCache.h: Permission denied
rm: /Users/mike/Library/Developer/Xcode/Templates/cocos2d//lib_cocos2d.xctemplate/libs/cocos2d/CCTextureCache.m: Permission denied
I have no idea if the double slashes make a difference. I've run "install-templates.sh" many times for 1.x versions, but never encountered this. Any clues?
Posted 4 months ago # -
You probably ran the old installer script using sudo when you installed them locally. So now you have files owned by root in your ~/Library directory. Delete or move the old templates then run the script.
Posted 4 months ago # -
2 Mant, I had the same issue. Just change permissions (grant write one) for folder /Users/mike/Library/Developer/Xcode/Templates (right click in finder on "Templates" folder -> Get Info -> permissions section)
Posted 4 months ago # -
Yes, I enable that flag. It didn't help me.
Posted 4 months ago # -
Try deleting the Templates directory (assuming there are only the cocos2d templates in there) and reinstall using
./install-templates.sh -u -fPosted 4 months ago # -
@riq, as soon as I'll have a time to localize this issue. Maybe tomorrow, currently it's a late hour in my time zone :)
Posted 4 months ago # -
I look forward to the weekend when I can play with the tests. I'm sure I will learn a lot. I'm curious about two things in particular in the release notes:
**[NEW] Director: Orientations are no longer supported. Only Portrait mode is supported. Use a ViewController to rotate the EAGL view.
and
PhysicSprite.
Sounds useful.Greg
Posted 4 months ago # -
Thank you, Riq. I'm sure I am not alone in being thankful that Zynga has not taken all your time.
Greg
Posted 4 months ago #
Reply
You must log in to post.