onotadaki's Recent Forum Activity

  • Goal: An operating system-like taskbar/dock that will start empty and be populated with applications/icons as they unlock throughout the game. Applications could be marked or added to some data structure and the dock will update to list all elements in the grouping.

    Problem: Currently, I am making each application manually and adding the application to the dock in the "On start of layout". Each application has a boolean to determine if it is unlocked yet and whether to display it. This will become bulky and require a lot of duplicate code later on when there may be dozens of dock elements.

    Question: Is there a data structure or method I could use where I could add a newly unlocked application to a list/set a variable/add to a group/etc... and the dock will automatically add or remove elements so it matches the list?

    I have searched quite a bit for a similar thread and have not found anything. Please excuse me if this has been asked before!

    Thank you.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
onotadaki's avatar

onotadaki

Member since 27 Aug, 2015

None one is following onotadaki yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies