Map like Candy Crush using Cocos2d-x + Marmalade

1.4k Views Asked by At

I have developed a 2D game using Cocos2d-x and Marmalade.

I would like to know what would it be the "better solution", considering performances, memory etc, to create a Scene before playing the game where I can show to the user a Map like that one used in Candy Crush Game, then:

  • zooamble
  • scrollable
  • clickable buttons (levels) at predefined coords etc
  • character moving between buttons (level)

Many thanks in advance

Sergio

2

There are 2 best solutions below

0
Ankur On

You can use CCLayerPanZoom as parent and add menu items, characters etc as children.

Check this link: CCLayerPanZoom demo video

and, you can download the source file CCLayerPanZoom Cpp file and CCLayerPanZoom header file from here.

0
Elton Jothi On

Check out cocos. They have MissionSelect in the tutorials. The usage of ScrollView.