Archive for the ‘Games’ Category

Using LevelHelper without Box2d for Cocos2d-X

Thursday, November 8th, 2012

I have been trying out LevelHelper recently and it has been very useful when making games that have a fair bit of physics.

I was looking at making a really simple game that did not require physics. Thats where LevelHelper seemed to fall over. Since the editor generates code for you and that code has reference to Box2D.

Fear not for all is not lost, you can still use LevelHelper without implementing the physics. You still need use the Cocos2D-X with Box2D template in xCode. You just don’t attach the physics properties.

So follow the tutorials on the LevelHelper site. When you get to the bellow line of code in the second video:

[cpp]
//attaches the physics properties and the sprites to the view.
loader->addObjectsToWorld(world, this);[/cpp]

The first parameter “world” is used to attach the physics properties. The second parameter “this” is what all the image assets in LevelHelper level are attached to. All you need to do is change the above line to:

[cpp]
//only attaches the sprites to the view.
loader->addObjectsToWorld(NULL, this);[/cpp]

Now just ignore any code to do with physics and Box2D.

Create Cocos2d-X 2.0 Sprite Sheet

Sunday, July 22nd, 2012

Cocos2dx is the C++ implementation of Cocos2d. Even though it is C++ and cross platform it still uses plists. There are probably a lot of tools out there that can help you create these sprite sheets. I am currently using SpriteHelper which has export settings specifically targeting Cocos2D-X. I used to use Texture Packer for Cocos2D because it has a nice PVR viewer.

The main reason i am using SpriteHelper is because of Level Helper. Level Helper looks like it has a lot of potential.

Kodu the Visual Programming Language

Monday, July 6th, 2009

Here is an interesting product on XBox Live. Its a games Programing tool with out the coding. If this is a sign of things to come all use Developers will all be out of jobs ๐Ÿ˜‰ Check out the Video!

More Kodu News & Previews

Get here if you want it:
http://marketplace.xbox.com/en-GB/games/media/66acd000-77fe-1000-9115-d8025855024c/

Evolution of Games

Thursday, January 8th, 2009

Being the gamer that I am I feel a post on the direction of games might be worth a look. Without a doubt online gaming is where itโ€™s at. You have two easy to see growth industries. Multiplayer which is no longer just for 1 on 1 or the elite geek MMORPGers.
Xbox Live is releasing a premium channel with online game shows which any one can watch or participate in. Is this a possible direction TV might take in the future?

Then we have user generated content like the ever popular Little Big Planet on the PS3. The levels being made by the community are quickly out doing the original levels. Now Microsoft will be stepping in with one of their community games Kodu. A game building game where you build your own world and create your own type of games. Check out what a 12 year old can do with it.