Easy way to change HUD for all levels?

HappyKat78HappyKat78 Member, BASIC Posts: 173
Hi guys,

If you have a large level-based game (like Angry Birds) and want to change the HUD/UI in some way (say you decided to change the location of some of the icons), is there an easy way to change it for every level without having to go through each one individually? The only way I could think to do it is to not lay the HUD components out in the scene, rather have an actor spawn them all at the start of the scene. Just wondered if there was an easier way?

Thanks in advance!

HK

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Spawning would work. You can also set up x/y positions in a table and have each actor change attribute self.position.x/y to the table values. That way if you want to change them en masse you just change the table values.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Well it would require deleting existing hud but Dba has a cool tool that takes and lets you layout a black scene with your HUD and then copy that scene into all the scenes you select as a new layer. It's great for applying things like UI to a bunch of scenes after they are made. It's called scene merger.
  • HappyKat78HappyKat78 Member, BASIC Posts: 173
    Great, thanks so much for the advice guys. I'll check out DBAs tools as well as the table option.
Sign In or Register to comment.