Re: Audio Games with Rust?
@10, what I struggle with, myself, regarding ECSs, is taking data with me when I transition. (I also found Amethyst -- the best game engine that uses ECS in Rust at the moment to my knowledge -- quite confusing; its documentation was very difficult to navigate sometimes.) Say, for example, that I want to load all the sounds for the game at startup. How would I then take these sounds with me? Or even load them, for that matter? I had an idea -- using something like lazy_static to hold a HashSet of sounds, or even a HashMap as a static -- but that doesn't seem like it would work very well. The idea of each "state" receiving data -- all the data -- makes me think of a lot of copying.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector