how to change a level

djdeedjdee Member Posts: 180


in this video tshirt shows us how we can use tables for setting up our attributes. well am doing the same thing. i face only 1 problem. i.e he had used game.level for columns. how do u pass a behavior telling that the number of columns are our levels.

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    I'm not sure what you're asking. Are you wanting the table size (# of columns) to be dependent on game.level? If so, that's not possible. Writeable tables aren't supported yet and it's not clear if you will be able to dynamically adjust the size when they are implemented.

    Or are you wanting to have game.level set to the number of columns in your table? If so, use change attribute game.level to tableColCount(TABLENAME).

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

Answers

  • djdeedjdee Member Posts: 180
    edited April 2012
    hi @tatiang
    thanks 4 the reply. yes its the 2nd one that u mentioned. this change attribute should b in my spawner.. right??..
Sign In or Register to comment.