Announcing cocos1d, like cocos2d but with only 1 dimension!

After 7 months of hard work, I’m happy to announce that cocos1d will be released really soon.
cocos1d, is like cocos2d but with just 1 dimension.
Imagine all the things that can be done with 1 dimension:

  • Ultra Super fast collision detection
  • Less memory consumption
  • Multiple games at the same time: 320 games of 480 pixels each!
  • Simplify the position of your sprites
  • And much more!

Screenshot:

As you can see from the screenshot, there are 2 games running at the same time.

  • The 1st game is a sort of Castle-Defense game. The green pixels are the lives, the red pixels are the castle, and the black and yellow pixels are the enemies. You have to touch the enemies to kill them (video coming soon)
  • The 2nd game is a kill’em all game. You have to touch all the black pixels. Once you touch them, you will see a nice blood effect.

How to migrate to cocos1d from cocos2d

// cocos2d
sprite.position = ccp(0,0);
sprite.setTextureRect = CGRectMake(0,0, 100, 100);
sprite.rotation = -90;
 
// cocos1d
sprite.position = 0; // MUCH EASIER, LESS CODE
sprite.setTextureVect = ccp(0,100); // It is no longer a Rectangle, but a vector. LESS MEMORY!
// sprite.rotation is no longer needed. SIMPLIFIED API

More info coming soon. Stay tuned. cocos1d is the next revolution in game development!

{lang: 'ar'}

21 Responses to “Announcing cocos1d, like cocos2d but with only 1 dimension!”


Leave a Reply