Getting started with a simple shape-match game

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!

@teknia,

Thanks for the question and the description, but can you give just a few more clues on what you’re looking for by posting some links to videos or games that are representative of the kind of game you want to make?

I’m posting a few for your convenience and if they match what you’re thinking just tell me which ones do and don’t.

Thanks!

Notice I listed them as A, B, and C.

A -  https://play.google.com/store/apps/details?id=com.oki.shapesnew&hl=en

a.png

B -  https://play.google.com/store/apps/details?id=com.EducaGames.DinoTim&hl=en

b.jpg

C -  https://appsftw.com/app/shape-matching-puzzle-game-for-kids-and-toddlers

c.jpeg

@roaminggamer

Apologies for taking ages to reply on the web interface. I tried an email post but did not know it is not enabled.

Thank you for your thorough and specific reply.

B is very very close! – I’d be very happy if I could do that and then adapt the content.

A also very close.

C unsure based on what I can see.

Any kickstart ideas/code to get me creating something like A? 

Super thanks!

@teknia,

Thanks for the question and the description, but can you give just a few more clues on what you’re looking for by posting some links to videos or games that are representative of the kind of game you want to make?

I’m posting a few for your convenience and if they match what you’re thinking just tell me which ones do and don’t.

Thanks!

Notice I listed them as A, B, and C.

A -  https://play.google.com/store/apps/details?id=com.oki.shapesnew&hl=en

a.png

B -  https://play.google.com/store/apps/details?id=com.EducaGames.DinoTim&hl=en

b.jpg

C -  https://appsftw.com/app/shape-matching-puzzle-game-for-kids-and-toddlers

c.jpeg

@roaminggamer

Apologies for taking ages to reply on the web interface. I tried an email post but did not know it is not enabled.

Thank you for your thorough and specific reply.

B is very very close! – I’d be very happy if I could do that and then adapt the content.

A also very close.

C unsure based on what I can see.

Any kickstart ideas/code to get me creating something like A? 

Super thanks!