At 6/12/12 04:11 PM, Sandile wrote:
Please excuse my ignorance, but I don't quite see why using scenes are so bad and how they're causing the glitches. Because of the very dynamic background that follows along with the plot of the game, our first stage took up about an insane amount of frames at 30 frames per second. We use scenes to separate each stage from each other so that the game development doesn't become one huge mess and so that we can go back later to make adjustments. Is there any way to get rid of the glitch without putting everything in less scenes?
well, I suppose it's technically ignorance, but "ignorance" implies fault. As there's no fault, I probably wouldn't have used the word ;)
personally, i've never used Scenes. I've heard, however, that they can become very unorganized very quickly. Basically it's just splitting your animation into different pieces. Same number of frames, same way to reference frames, but it's a complete disaster code-wise.
Tell me: You have a preloader, a menu, a tutorial, and a game. Why do you have so many frames? When I was coding in AS2 using frames I still only had (at the most) 12 frames, and even those I was going to shrink down to about four or five (until I learned AS3 - well, I guess learning as I haven't quite grasped the concept fully) - any game should (if using frames) only have a maximum of ten frames.
If you're using AS2, I suggest learning Class structure and learning AS3. It really isn't terribly different aside from the change in coding habits.
If you're using AS3, then I can tell you that you're doing it very, very wrong.