Candy Crush menu model

Hello everybody !

 

I am using the scroll view widget to build a menu, and my intent was to imitate the Candy Crush model.

Does it a good approach? Or maybe there is better solution?

Because I can’t create all those buttons throught a precise pattern (should I prepare a completed image with the pattern already drawn)

 

this is the model

http://www.upsight.com/wp-content/uploads/2014/03/candy-crush-2-1.jpg

Why can’t you precisely position all the level indicators? If you know where the images should go in PhotoShop (for example) you should know where to put them in your game screen.

The thing is that when the resolution of the image change due to adapt to the numerous resolutions of screens, the coordinates of buttons will change consequently i don’t know how should I make the 2 things work togheter.

But probably the most important thing is that I need something (a function…or idk) to create a curve pattern between buttons (how candy’s show), without worrying about the background image.

Do you know something that might help me?

There should be no problem at all with handling multiple resolutions. It should be completely transparent to any Corona development.

You need to build a proof of concept to try out placing the map image on the screen with the correct positioning of the items on the map. If you have some simple code you should post it and we can take a look. If you have the image elements of your map and pieces to place on it, I can write you some code to do it.

So you believe that is better to have the image with the pattern already drawn, and then just calulate the right coordinates of the buttons? Or maybe should I tell corona to draw  curves in some way?

At last, do you think that the use of the scroll view is a good approach? Or maybe there is a more appropriate way?

Thank you for the patience and availability

If you can easily draw something in code, I would, but it’s almost always better to have a prepared graphic.

I’m not sure what you would use the scrollview for, unless you want to scroll the map, which would be a good use of the scrollView.

Why can’t you precisely position all the level indicators? If you know where the images should go in PhotoShop (for example) you should know where to put them in your game screen.

The thing is that when the resolution of the image change due to adapt to the numerous resolutions of screens, the coordinates of buttons will change consequently i don’t know how should I make the 2 things work togheter.

But probably the most important thing is that I need something (a function…or idk) to create a curve pattern between buttons (how candy’s show), without worrying about the background image.

Do you know something that might help me?

There should be no problem at all with handling multiple resolutions. It should be completely transparent to any Corona development.

You need to build a proof of concept to try out placing the map image on the screen with the correct positioning of the items on the map. If you have some simple code you should post it and we can take a look. If you have the image elements of your map and pieces to place on it, I can write you some code to do it.

So you believe that is better to have the image with the pattern already drawn, and then just calulate the right coordinates of the buttons? Or maybe should I tell corona to draw  curves in some way?

At last, do you think that the use of the scroll view is a good approach? Or maybe there is a more appropriate way?

Thank you for the patience and availability

If you can easily draw something in code, I would, but it’s almost always better to have a prepared graphic.

I’m not sure what you would use the scrollview for, unless you want to scroll the map, which would be a good use of the scrollView.