How do you add your own behaviors

gariantrollgariantroll Member Posts: 219
edited November -1 in Working with GS (Mac)
Hey guys. Game development is going great and thanks for your support. I wanted to know how do you make your own behaviors as I see it is an option. Can you give an example so I can use the tool to my advantage?

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    You cannot make your own customized behaviors (meaning, you can't program something with java, C++, etc). It's for saving some code that you've written and want to "copy and paste" it onto other actors, or between games you're making
  • MotherHooseMotherHoose Member Posts: 2,456
    gariantroll said:
    Hey guys. Game development is going great and thanks for your support. I wanted to know how do you make your own behaviors as I see it is an option. Can you give an example so I can use the tool to my advantage?

    well... I use it for Note(s)... for things like pseudo grid alignment... Row (Y) = and column (X) =...
    drag to myBehaviors... then in Editor drag into each actor that I am coding/computer checking for placement/ location...
    example... Rule (All) when self.Position.X = ??? and self.Position.Y = ??? changeAttribute game.Score or whatever
    of course you delete the Note when you a have all the info for the actor from it...

    and actually would have that Rule dragged to myBehaviors.

    it is a way to expedite tedious/repetitive coding... for multiple actors with same/similar behavior

    MH
  • gariantrollgariantroll Member Posts: 219
    Thanks, I will use this to improve my workflow.
  • calvin9403calvin9403 Member Posts: 3,186
    just drag your rule yo the behaviors section
  • sparkzillasparkzilla Member Posts: 152
    So that's what that's for! D'oh!
Sign In or Register to comment.