• Content Count

  • Joined

  • Last visited

  1. I'm a little confused, I'm pretty new to phaser. The buttons are the ones that open and close the individual popups and you can click on the popups to close them. So should that be done with the buttons instead?
  2. I have a question. I'm creating multiple "popups" in my game that's triggered with different buttons. Right now I have 5 functions 4 of them are basically the same thing. Closewindow, openwindow, closewindow1 and openwindow1. The only difference is that they correspond to different popups. Is there a more elegant solution (if that's the right word) than what I have right now. I plan on adding more so I feel like there's another way I just don't know what it is. I've looked at groups but don't items in groups have to be all doing the same thing? I attached my code if it helps. Thanks