Implementing the main game scene
The main game scene is where all the action will be happening. This is the place where we will have objects bouncing and hitting each other just like in the Mashballs game.
Usually, when you have an idea about the game, you don't think about the number of levels, packs, scores, and so on. You think about main gameplay and you act similarly with game development. You should jump straight to the main gameplay and create a minimum viable prototype to understand:
Is it possible to implement it as you've imagined?
Is the game playable at all?
Is it attractive, fun, and something you will play yourself?
Otherwise you would have spent a huge amount of time, just to understand that the gameplay you imagined is not very usable.
That is why we will also start implementing the main game logic first.
In the start scene of the previous chapter, we created a Start Game button, which should lead to level scene. Let's now create this scene as we did before. First create a LevelScene...