How to have an “add” effect in Cocos2D?
This code imitates the “add” effect from Photoshop. [sheet setBlendFunc: (ccBlendFunc) { GL_SRC_ALPHA, GL_ONE }]; Continue reading How to have an “add” effect in Cocos2D?
This code imitates the “add” effect from Photoshop. [sheet setBlendFunc: (ccBlendFunc) { GL_SRC_ALPHA, GL_ONE }]; Continue reading How to have an “add” effect in Cocos2D?
The problem: I can’t fit all my animation frames in one spritesheet, so I made two, can I use multiple spritesheets in one animation? The solution: And this is what I came up with: My animation files information are loaded from a plist that looks like this: animation array 0 filename interval 1 filename interval … The code: NSString *Path = [[NSBundle mainBundle] bundlePath]; NSString … Continue reading How to load and animate multiple spritesheets in Cocos2D?
Made using Unity 3! 3D models downloaded from Turbosquid. Continue reading
Made using Unity 3! 3D Models downloaded from TurboSquid. Continue reading