Tutorial: Adding a Picture (Sprite) to a Cocos 2d-x Game

Now that you have created a basic game using Cocos 2d-x (see this tutorial for how to do so), it’s time to learn how to modify it by changing the default picture to something else.

The first step is to copy your picture file into the Resources folder located inside your game’s directory:

Inside New Cocos Project

Then open up your game’s solution file in Microsoft Visual Studio (e.g. since I have Windows 7, I open the proj.win32 folder and double-click on the file with the same name as my game and type Microsoft Visu...

 •  0 comments  •  flag
Share on Twitter
Published on March 30, 2015 18:25
No comments have been added yet.