This book is written by Pablo Ruiz, a very active member of the Cocos2D iPhone community forums, he even helped … More
Category: Uncategorized
How to Flip Y? in Cocos2D
– (BOOL) flipY [read, write, assign] whether or not the sprite is flipped vertically. It only flips the texture of … More
Twinterest
How to have an “add” effect in Cocos2D?
This code imitates the “add” effect from Photoshop. [sheet setBlendFunc: (ccBlendFunc) { GL_SRC_ALPHA, GL_ONE }];
How to load and animate multiple spritesheets in Cocos2D?
The problem: I can’t fit all my animation frames in one spritesheet, so I made two, can I use multiple … More
Made using Unity 3! 3D models downloaded from Turbosquid.
Made using Unity 3! 3D Models downloaded from TurboSquid.
@ Blizzard Exhibition in MOCA, Taipei
Code Tip: How to move your Cocos2D sprite in the direction of a rotation?
From the Cocos2D forum: ccpForAngle(angle) will return a normalized directional vector for angle (in radians). You can multiply that vector … More
Code Tip: How to pass C++ objects to Objective C classes?
From stackoverflow: Try just using +[NSValue valueWithPointer:] Link to a blog post about NSValue and non-object types by JongAm.
Gamasutra front page. Featured Blogs: Len de Gracia on “ Breaking a Visually Art-Centric Generation” And me on “ I … More
Headless Mario. Still working on his head. Made in 3ds Max.
I want my games in bite size chunks!
Some thoughts on casual gamers having shorter and shorter attention spans, and some ideas on how make design games for … More
Code Tip: How to optimize bullet hell shooters?
Pencil Logic (TwinThumbs) made a game called I.S.U.D. (It Shoots, You Dodge), which is basically a crazy bullet hell game … More
Code Bit: How to flip your Cocos2D sprite?
sprite.flipX = -1; sprite.flipY = -1; Sprite is well… your sprite, and then flipX to flip horizontally, while flipY to … More