randomPoison / gunship-rs

An experimental game engine written in Rust.
MIT License
27 stars 3 forks source link

Async resource loading #76

Closed randomPoison closed 7 years ago

randomPoison commented 8 years ago

Support loading a processing the following resource types asynchronously:

The goal here is to recreate as much of the existing functionality as is reasonable, but not to make any major additions if we can avoid it.

randomPoison commented 8 years ago

Now that the async system has been fleshed out more, the work here is fairly straightforward. We need to copy the old, synchronous code for loading .wav files and add a function to async::resource to run the sync code within scheduler::start().

randomPoison commented 7 years ago

I'm removing the requirement for loading .wav files since it seems unlikely that I'll redo the audio functionality any time soon.