08-08-2012, 09:13 AM
(08-08-2012, 05:15 AM)Previous Wrote: I was just playing, not doing anything special. Then, wham, back to the start.
I'll see if I can find out anything about that. It might just be a one-off glitch though.
(08-08-2012, 05:15 AM)Previous Wrote: If you were using Flash, I'd know how to tackle the preloader problem... I have no idea what options FlashDevelop and Flixel give you. Like in Flash, you can define to what frame the content should be exported so you naturally set that to '2' and put the preloader on frame one so at first, only the things you need for the preloader get loaded, then the preloader displays and the rest gets loaded while the preloader shows the progress. If all the data gets pushed into frame one, all the data has to be loaded before it displays.
Yeah, Flash makes it somewhat easier. The fact is that in FlashDevelop, unless you're getting MovieClips or whatever from a SWC, you're embedding stuff using Flex tags. This is even more so with Flixel, since it's developed to be used with pure AS3 and Flex embedding. So all my graphics in the game are simply .pngs that are embedded in the classes which use them, and loads them only in those classes (or other classes importing those). However, it acts as if I embedded all the graphics (or imported all the classes) in the preloader, which I didn't.
If I can't find the problem I'll try to make a SWF preloader and see if that works.
@MRSKELETON: Yeah I probably won't do a proper story. I'll try to have some text explaining the mechanics in a sort of non-obvious way, but I won't have an actual plot or anything.