Page 1 of 1

Message System in Dialog System

Posted: Wed Nov 25, 2020 4:19 am
by NotVeryProfessional
I just noticed that there's an entire message system built in to the Dialog System.

Can I use this to pass messages between my game objects as well, replacing the message system I am currently using? One principle in software development is to avoid unnecessary complexity, so if possible I'd like to use one message system and not two.

So can the message system send arbitrary messages? How to subscribe to them and emit events? The documentation is a bit sparse in that.

Re: Message System in Dialog System

Posted: Wed Nov 25, 2020 11:08 am
by Tony Li
Yes, you absolutely can. It's a pretty efficient message system, too, given its flexibility.

I just wrote a How To for it:

How To: Use Pixel Crushers Message System

Re: Message System in Dialog System

Posted: Wed Nov 25, 2020 11:40 am
by NotVeryProfessional
Amazing! This purchase is turning out to be worth its weight in gold. :-)