I hope this tutorial helps you
If you would like to see examples of these games visit these links: https://scratch.mit.edu/projects/141900036/ https://scratch.mit.edu/projects/139843324/ Enjoy!