@ Blizzard Exhibition in MOCA, Taipei Continue reading
Month: September 2010
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 by some length to get a point in the distance in the direction of angle. Continue reading Code Tip: How to move your Cocos2D sprite in the direction of a rotation?
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. Continue reading Code Tip: How to pass C++ objects to Objective C classes?
Gamasutra front page. Featured Blogs: Len de Gracia on “ Breaking a Visually Art-Centric Generation” And me on “ I Want My Games In Bite Sized Chunks! “ Continue reading
Headless Mario. Still working on his head. Made in 3ds Max. Continue reading
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 them. My new day job is as an iPhone developer, so the target audience is mostly casual gamers, and commuter gamers (people who play with games while they are waiting for the train, etc.) So that got me thinking, how do I design games (although … Continue reading I want my games in bite size chunks!
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 with lovely glowing bullets. From their website: I.S.U.D. (I-Sood) is a bullet hell/curtain fire shoot’em up which focus on the boss battle. The game features a challenging risk/reward system, as well as beautiful and deadly bullet patterns. With the dynamic difficulty system, the game difficulty … Continue reading Code Tip: How to optimize bullet hell shooters?
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 flip vertically. Continue reading Code Bit: How to flip your Cocos2D sprite?
Code Bit: How to speed up or slow down your Cocos2D game?
Place this anywhere in your code (prolly triggered by a button or an event): [[CCScheduler sharedScheduler] setTimeScale: timeScale]; For speeding up, timeScale should be greater than 1, while for slowing down timeScale should be less than 1 (like 0.5). Continue reading Code Bit: How to speed up or slow down your Cocos2D game?