My message system will have speech bubbles on left, right, or bottom of the screen as well as some that even change appearance based on who is speaking. (One is 'telepathic', one 'narrator', and a left or right 'speaking' character).
My question - Is it better for performance to do this with a parallel event that constantly checks for who is speaking (presumably this would work, but I've read parallel = avoid avoid avoid), a macro that I can {} into each message (again, presumably this would work), or placing a common event every time the speaker changes?
Obviously from a coding perspective the parallel is easiest - one and done and I can go to town with 'show message' while it does all the tedious work for me. Alternately, I was thinking a quick {M:name} inside the start of a message would be easy to copy/paste and the macro could adjust the speech bubble accordingly before showing the text.
The 'for sure' way it would work is to make a common event that grabs input parameters but I really would prefer an alternate as 1. Tedius/time consuming (doable, though) and 2. The visual appeal of easily distinguishable 'show message' (blue) vs a ton of 'common event' is preferable, so that when I need a different type of common event I can more easily find it when scanning my code.
Hopefully all this makes sense, but please let me know if I need to clarify 🙂
My question - Is it better for performance to do this with a parallel event that constantly checks for who is speaking (presumably this would work, but I've read parallel = avoid avoid avoid), a macro that I can {} into each message (again, presumably this would work), or placing a common event every time the speaker changes?
Obviously from a coding perspective the parallel is easiest - one and done and I can go to town with 'show message' while it does all the tedious work for me. Alternately, I was thinking a quick {M:name} inside the start of a message would be easy to copy/paste and the macro could adjust the speech bubble accordingly before showing the text.
The 'for sure' way it would work is to make a common event that grabs input parameters but I really would prefer an alternate as 1. Tedius/time consuming (doable, though) and 2. The visual appeal of easily distinguishable 'show message' (blue) vs a ton of 'common event' is preferable, so that when I need a different type of common event I can more easily find it when scanning my code.
Hopefully all this makes sense, but please let me know if I need to clarify 🙂