Looping through Table

freshfishfreshfish Member, PRO Posts: 49
edited March 2012 in Working with GS (Mac)
Hey there,
I saw tshirtbooths tutorial on using attributes to store a dictionary (which I assumed was a workaround for the pre-table era)
Using tables, I would like to cycle through cells/rows using something similar to a for loop.

I created a a few nested loops to simulate a for loop and it worked but I ended up having to click the submit button before typing the word.

My question has 2 parts:
a) Does a rule keep checking itself? Or does run once like an if/else statement?
b) Is cycling through a table more efficient than stuffing attributes with words like in the tshirtbooth example?

Thanks for your help
freshfish

Answers

  • CloudsClouds Member Posts: 1,599
    edited March 2012
    the system can only do that 30 times a second. so to do a 60,000 word dictionary would take a year.

    . . . I think it'd only take half an hour or so, not that anyone is going to wait around half an hour everytime a game wants to process/find a word.
  • freshfishfreshfish Member, PRO Posts: 49
    Hahaha, I was thinking in terms of which one is faster in milliseconds :)) But at 30 minutes a check, a simple word game would sure produce a whole lot of ad impressions :D

    Thanks tshirtbooth for that solution...i tried it and it worked well but I was trying to do the table method to compare. Its good to know the limitations such as 30 times a second

    What would limit it to that? And wouldnt the performance be different when porting to Android or iOS?
  • freshfishfreshfish Member, PRO Posts: 49
    @tshirtbooth your latest video shows up as private so it doesnt play...just thought Id give you a heads up
Sign In or Register to comment.