Creating Scene Classes Running And Repcaling Scenes More About Scene Methods The CREATE_FUNC() Helper In this post we will write classes that inherit from cocos2d::Scene class, show some sprite images and switch themselves with each other … [Continue reading]
Scene
Scenes are the states or pages of a game. They are responsible for running the logic of the game and rendering the things that the player sees in real-time. Each game needs at least one scene to start with. We define different scenes in a game for … [Continue reading]
Different Sprite Types
We have made a few sprites by now and we know how to make them fast by packing images into a Sprite Sheet, but there is another factor to consider. The sprite type! Sprite Types According to Cocos2d-x documents, there are four different type of … [Continue reading]
Creating Sprites With Animated Image Sequence
Simple Example Helper Function To Get The Animation Frames We can make sprites that play a sequence of animated or rendered images as an animation. In fact most sprites will be of this type in a game. A running or walking character, a tank, … [Continue reading]
Creating Sprites With Sprite Sheets
Creating a Sprite Sheet Adding Sprite Sheet to Xcode project Creating Sprites Compile And Run In this post I will use an Image Atlas to create sprites. An Sprite Sheet (or Image Atlas) is an image with multiple images packed into one … [Continue reading]
- « Previous Page
- 1
- 2
- 3
- 4
- 5
- …
- 7
- Next Page »