Tile Engine Considerations

BlitzMax Forums/BlitzMax Programming/Tile Engine Considerations

Shoot. Turns out that as soon as I commented out the Ramstream code, loading the image from the filestream took just as long as loading it from the file path.

I'm guessing that it's a cache thing. When I had the Ramstream load the file, the subsequent call to LoadImage( filestream ) was pulling the cached file data?

Well, looks like I'm back to using RamStreams. Strangely, loading the file into the RamStream seems to be taking much less time now.

I can't wait to get home and try this on a computer that isn't 10 years old. =)