Improve the spawn algorithm. It will depend on the difficulty and the game mode.
Currently working on the idea below, please give you ideas or suggestions
get_random_entity function is very bad right now, please change it to something good
it's called every frame
make it more predictable
for example:
75% of the time, nothing will drop
15% of the time, silver coin drops
5% of the time, gold coin drops
5% of the time, bomb drops
and have these values 75, 15, 5 and 5 as variables that are set through difficulty
Improve the spawn algorithm. It will depend on the difficulty and the game mode. Currently working on the idea below, please give you ideas or suggestions