Is there an "Attribute Reference/Relationships" Viewer?

kaanukikaanuki Member Posts: 154
edited January 2013 in Working with GS (Mac)
I'd like to be able to see all of the relationships/reference that my Game, Scene, and Actor attributes have - I'm trying to find out things such as where the settings of a particular attribute was set, who it is being used with, etc...

I am currently trying to find where I added a "change attribute" behavior (i know its somewhere!). I am now clicking on every scene, and actor in the game trying to locate it.

Any ideas?

Thanks!

Comments

  • kaanukikaanuki Member Posts: 154
    edited January 2013
    WOW... I just found my 'change attribute' tucked down within a scene. So my next question is - can you change a 'scene attribute' into a 'game attribute' without breaking all the relationships?

    Thanks.
  • sparkaniasparkania Member, PRO Posts: 300
    edited January 2013
    I wish that feature existed too, but not necessarily just to see who is connected to what, but rather what is connected to Nothing. Sometimes the eureka moments when you figure something out, leave other attributes just hanging in a list (Game, Scene or Actor) and they dont get used...

    dasly I don't think there will be a feature to 'Move' attributes as it would be difficult to tell the UI when that is appropriate.
  • SocksSocks London, UK.Member Posts: 12,822
    I wish that feature existed too . .
    +1
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    This is why game planning and code organization and code mapping are so important. I always know my code and where stuff is because I have a system of organization and noting.
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2013
    This is why game planning and code organization and code mapping are so important. I always know my code and where stuff is because I have a system of organization and noting.

    Yep, you could even sketch the whole thing out on some large graph paper, like a map of the relationships between attributes and actors / or a kind of flow chart.

    But it would still be cool to have something built in where you could quickly see what's connected to what:

    image
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited January 2013

    Hi @kaanuki The following suggestions will help as well (some already mentioned by other members): Get into the habit of:

    • using the Group Behaviour to put behaviours/rules/attributes together in meaningful groups;
    • Titling the group
    • Titling behaviours, Change Attribute behaviour title in particular
    • Using the Note behaviour (this can't be overused and won't impact on any performance/size as they are all ignored when the app is published)
    • Changing the Note behaviour title
    • Making sure attribute names are meaningful; sometimes a simple code you'll be familiar with could be used... FallA01, for instance
    • It doesn't hurt to keep a notebook with explanation of each attribute as a backup
    WOW... I just found my 'change attribute' tucked down within a scene. So my next question is - can you change a 'scene attribute' into a 'game attribute' without breaking all the relationships?

    Thanks.
    Although you can change the name of any attribute and this will automatically be changed throughout your GSC project (which is great), you can't change one type of attribute into another; a scene attribute into a game attribute (or vice versa) for instance; you need to make a new attribute and link it to replace the other version.
  • kaanukikaanuki Member Posts: 154
    edited January 2013
    @FryingBaconStudios, @gyroscope - Believe it or not, I actually do many of those things. But as I have learned from many of my coding friends - the minds of coders are vastly different. I am the extrmely creative type (less mathy), so my code tends to change as new fresh ideas develop and change. If I stuck to my maps, there would be 0 creative changes. So, I think it depends on your role. That is a good trait for those who work strictly as coders, without the ability to change a storyline, for example. Plus, sometimes I find much better ways than I have mapped.

    The maps work much better when you a more familiar with a developing environment. Im new to GS, and continually have those "I didnt know you could do that" moments.
  • kaanukikaanuki Member Posts: 154
    edited January 2013
    Speaking of the "Note" behavior, does it support multi-lines? I saw this in one of the older tutorials, but cant get it to work using (control, shift, alt,...+ENTER) -- none of those work.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Multi-lines? It will auto-wrap text and you can press return/enter to move down a line. Is that what you mean? The Note behavior does not "do" anything. It is simply a comment, as you might comment code in other languages (e.g. #this is a comment).
  • kaanukikaanuki Member Posts: 154
    edited January 2013
    Yes - I am referring to "return enter". Yes, it wraps the text fine, but I can not get a line break/ new paragraph. I can only get 1 line and I would like multiple lines if possible, for better note keeping. Pressing Enter simply records the text and stops the editing
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @kaanuki then just press return twice, to get a line space between paras in the Note Behaviour. Is that what you mean?
  • kaanukikaanuki Member Posts: 154
    Pressing RETURN twice does not work.

    FYI - I am using GS 0.10
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited January 2013
    Pressing RETURN twice does not work.

    FYI - I am using GS 0.10
    On the Mac? Pressing return in the Notes Behaviour does work...

    I can't find my copy of GSC 0.10 but have just tried it in 0.9.89, and pressing return works just fine in taking the cursor to the next line every time its pressed.
  • kaanukikaanuki Member Posts: 154
    Im on a PC. May just be a bug
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Im on a PC. May just be a bug
    Ah right, you're on a PC...must be a bug/omission there then, as you say...
Sign In or Register to comment.