Pachinko levels

Today I was tasked on creating  a level designed like a pachinko machine and adding different functions to make the game functional.

pachinko

The techniques I used for this was I took a sprite such as the circle then spreading them around like how the are in any pachinko machine and added a 2D collider so that way when the player (the blue dot) wouldn’t pass through them like a ghost. This also applies to the player as well and also added in a physics engine into the player specifically meaning it bounces of any of objects in the game.

engine