Using game attributes instead scene attributes - Is it a good practice?

Fabri DamazioFabri Damazio Member Posts: 97
edited January 2012 in Working with GS (Mac)
To avoid the editing of many instances of my actors i'm using all game attributes instead scene attributes.

Is it a good program practice?

Is there's another solution to access scene attributes?

Comments

  • ultimaultima Member, PRO Posts: 1,207
    edited January 2012
    yes i've always wondered if using scene attribute has any performance advantage over game? that's my assumption theoretically it should... unless anyone actually tested it or knows a thing or two on this topic... so far i'm just using game attributes for ones that needs to be accessed globally, and scene attribute(or actor attribute) that is called on per case basis.
  • Fabri DamazioFabri Damazio Member Posts: 97
    I was thinking what have best performance:

    LESS game attributes but MORE instances of actors

    or

    MORE instances of actors and LESS game attributes
  • Fabri DamazioFabri Damazio Member Posts: 97
    i will use the global attributes because i dont got anwser. If someone knows something about it, post here.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    There is no performance difference between actor,Scene, or Game attributes. Its about organizing and what is the most efficient for your game. I normally only use scene attributes to identify scene related things like level numbers. actor attributes are generally only for that specific actor. For example if you had a Lives attribute on a dozen actors if it where a game attribute reducing the life of one who affect all. So you need to make that an actor attribute.
Sign In or Register to comment.