Why would a rule hit in Game Salad Creator but not in the iPad ad hoc?

fogartyfogarty Member, PRO Posts: 181
I have a rule that checks how many rows are left in a table, and if the number gets too low, the table reloads.

It works fine on my Mac in Game Salad Creator, but when I make the iPad ad hoc, the rule doesn't hit.

I'm thinking it might have to do with the difference in processing power between the Mac and the iPad. Maybe too many rules are firing at once and the iPad processor can't keep up? (I'm on an iPad2.)

Am I thinking about this the right way? Has anyone encountered any other reason a rule acts differently in the ad hoc versus in Creator?

Thanks.

Comments

  • fogartyfogarty Member, PRO Posts: 181
    I'm desperate. I've been changing everything I can think of to make the code simpler for hours and hours and nothing is helping. Any ideas anyone?
  • dr2391dr2391 PRO Posts: 78
    All I can think of is, are you using = or are you using <=
  • fogartyfogarty Member, PRO Posts: 181
    I actually AM using <=. Why do you ask? Is that bad in some way?
  • fogartyfogarty Member, PRO Posts: 181
    Actually, it's more complicated than that. I'm use = in my timer that causes the rule to fire, and I'm using <= in my rule.
  • CluvCluv Member Posts: 229
    I am having an issue with the new loop structure. You might want to post in the nightly build thread with your specific issue.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    What version of GS are you publishing out of?
  • fogartyfogarty Member, PRO Posts: 181
    I changed my timer rule so that instead of self.StartTime=game.Time-0.3, it's self.StartTime>=game.Time-0.3, and that seems to solve the problem.

    So thanks, @dr2391! Your question reminded me that I had this problem in another actor many months ago. You saved me a lot of additional frustration.

    @FryingBaconStudios, I'm using 10.1. I know I should update, but I'm afraid. I've been working on this game for a year, and I'm hoping I'm a week or so away from submitting. (I've been hoping that for a while; that's why I'm two updates behind.) I'm afraid that updating will cause new problems. But I've been thinking about doing it. It sounds like the new version introduces a lot of efficiency. Still...I hear about bugs. What are your thoughts on updating when you're so very, very close to having a final, working game.
  • dr2391dr2391 PRO Posts: 78
    Yeah that was my suspicion, there's probably too much happening for it to catch that 1 number
  • fogartyfogarty Member, PRO Posts: 181
    Thanks. I think you're right. The rule happens at the most processing-heavy part of the game.
Sign In or Register to comment.