Hi, I am brand new to Corona, but have other development experience.
I would like to create a simple shape-match game for my kids. The basic idea is the same as those wooden shapes kids have to match. i.e. dragging a circle to the outline of a circle and have it snap into place when you are close enough to the right target outline or have it bounce back to the starting position if the object is left at any other point.
I have searched a few Corona videos on youtube but think I am barking up the wrong tree as I have been trying to get information on drag-and-drop functionality but could not find something close enough. I know this is a very simple use case for Corona, but it would help me get started.
The shapes must be arbitrary i.e. no assumptions about closed shapes or that shapes must be able to be programmatically defined only e.g. a circle by means of a formula. I will create the object and target shapes in a normal drawing program like inkscape.
The basic game loop is: randomly pick a few arbitrary shapes from a list and draw the target shapes/outlines somewhere on the screen. Draw the first object to drag on the screen and allow user to drag. If match, snap into place and give the next object. If not, bounce back. If all objects on the screen are matched, end that level.
Please point me in the right direction.
Thanks!