|
Post by Legend on Apr 29, 2018 2:54:31 GMT
Are you planning to do Secrets in the near future?
- if not ill probably attempt it here. going to be interesting to work with the triggering side of things ...for the secret system going to have to register to pretty much everything since it will depend on the card and what it triggers on - when a card is drawn when you are attacked, when a minion dies, when a minion coughs, so on and so forth.
|
|
|
Post by Admin on Apr 29, 2018 5:24:29 GMT
Not planning on it for the near future, no. I'd totally encourage you to try though, there is no better way to learn than by doing things yourself.
A quick tip though, I wouldn't recommend that you make a system that subscribes to "everything" - I would try to make something more component based. You could create a trigger component that knows what notification(s) it wants to listen for. In Hearthstone a secret is only active when it has been played, so it would be easy for the system to merely listen for the play event of a secret, parse it for the trigger component(s) and then register for the notification(s) that are needed. Haven't thought it through completely but maybe it can give you some ideas to try out.
|
|