Welcome. If you want to dig deeper into this topic, the tutorials of Acerola might be a good choice. Stumbled over one of his videos some time ago, and I like his way of approaching solutions for his games. To a large degree the information he gives are engine-independed, even though he is referreing to Unity as his game engine of choice.