I didn't look in detail. But you have to finish the while loop in level_init once(or change the if condition)... At the moment, a new entity is created every frame. Maybe you want to put the count_x in the if condition?

Last edited by krial057; 12/20/12 11:27.