Re: Lucia - OpenSource AudioGame engine written in Python
@220, it really depends.
You could have a central game manager class and put your spawn functions in there
You could have a module responsible for spawning enemies.
You could wire it within your main_menu function (don't).
It's really up to you. Typically I air on the side of caution, putting as much into classes as I can. Doing so sometimes makes my code more independent, I.e, I could pull out enemy.py and open source that single file without releasing the entire project.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector