The convexity of the FMZ's is problematic; I couldn't get the convexity script to delete the extra vertices, but I realized how I can get rid of them--if I use Blender's face select, then I can just copy all of the faces into a new object in the scene, and then the vertices without faces will be left behind!
I can do this after my Monday final(s)--a two part final for one class.
So, this week, I discovered that the game sometimes crashed on exit. At first, I thought it had something to do with the sound files, but I turned them off, temporarily, and was still able to reproduce the crash. So, then I checked the exit function. It was still going through all of the Draw and Update code after "game.exit()" was called. I figured that it was releasing some data asynchronously, and then causing the memory errors. So, I set a quitting variable to true, allowed the game to run through its final frame, and then quit at the start of the next frame in both draw and update. Not sure if it has totally been solved, it seems like there could still be cases when it goes horribly wrong.
The sharks had some movement adjustments--I was playing with their speed because they are so little threat to the player. If you set their maxSpeed, you can make them faster or slower. I had it double what we were using at the end of Friday, and I think that may be sufficient.
No comments:
Post a Comment