Kil wrote:I wish you guys wouldn't base your whole system on the buggy placesprite function which is so unfinished I probably shouldn't have even told anyone it was there.
I did notice it was buggy when I had a look at how it works. However, it's perfectly useable once you understand
how it's buggy. Sure, it's not the neatest system, but it does work.
Oh also, changing lApiLib to cinematX doesn't work. I've been digging, and I can't find the definition of runProcess, which is what lApiLib was supposedly doing. I tried changing it to runCoroutine, which I did fine a definition of, but that doesn't seem to work either.
Hmmm... further digging suggests that the onLoad functions are being problematic. I'm trying to call the coroutine from OnLoadSection#, which doesn't work. I also tried it from OnLoad, which for some reason seems to only call the first few lines, and not the coroutine, or anything else I put in there (such as playMusic). I'm really unsure why this is happening.
Okay. It seems like playMusic doesn't work in onLoad, and nor does calling the function "runIntoCutscene", which starts my cutscene coroutine.
Oh, one other thing - can we get better error handling with LunaLua? It reports errors quite nicely, but half the time it then just crashes the editor. Could some kind of safety be implemented to disregard LunaLua when reporting an error so that this doesn't happen?