Maze Progress

I still haven’t fixed that crouch bug, but hopefully I’ll still have time to do so. I now have level transitions, and it will replay the last level if it can’t find a next one. There was a bug in that code where I only declared one ifstream, and on Linux when I used it multiple times it worked just fine, but on Windows it wouldn’t actually read the file. It turned out that Windows needed a fresh ifstream every time, which was pretty easy to do once we figured it out. To sum it up: Windows will let you use one ifstream multiple times, (yes, I did the close the file) but it won’t actually open more than one thing, and it’ll tell you it did. I say Windows because it works perfectly on Linux. 🙂

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.