Gamesalad slows down when there are many rules

AssortDisAssortDis Member, PRO Posts: 22

Hi,
I'm not sure if I'm the only one who experienced this.

I have an actor with five rule groups, each group consists of at least 10 rules. And whatever rules I want to edit or add in with this actor has been either very slow or crash Gamesalad. I'm assuming it might have something to do with my computer processing speed but I would like to know if I'm the only with this issue.

Comments

  • BigDaveBigDave Member Posts: 2,239

    yes i have hundreds of rules and it works my newest #omg has plenty of rules,physics,particles...

    It starts to lag on older devices and also in the simulator after the gameplay is 10 minutes in. There are limitations with the engine.

    But you don't have to run against them and blame it. You can move within the constraints and build something great many have proven that.

    And in the end we all are decaying in time, everything you do and create will fade away. So do what you want as long as you can and don't focus on what you can't do or doesn't work.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited July 2015

    As you grow in your knowlege of building logic you'll find you won't need so much code to do stuff. Keep at it and keep studying. It's all part of the learning process. Be sure to send in the crash reports as well through bugsplat.

  • tmanntmann Member Posts: 278

    @AssortDis said: I'm assuming it might have something to do with my computer processing speed

    Extremely unlikely

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    Do you have a lot of timers?

  • owen_dennisowen_dennis Just a guy, you know. Member, PRO Posts: 236

    @BigDave said:

    And in the end we all are decaying in time, everything you do and create will fade away. So do what you want as long as you can and don't focus on what you can't do or doesn't work.

    I love any sentiment that ends with "Anyway, we're all slowly dying, so it's best to figure something out that works."

  • pHghostpHghost London, UKMember Posts: 2,342

    @RabidParrot said:
    Do you have a lot of timers?

    It's Creator that's laggy, not the game, so it probably has nothing to do with timers.

  • AssortDisAssortDis Member, PRO Posts: 22

    @RabidParrot said:
    Do you have a lot of timers?

    No, not really. I only use either self.time or game.time. Well, there are actually two timers that I haven't found the time to replace.

    @BigDave and @The_Gamesalad_Guru: Yeah, I know I still have a lot to learn especially when I can see some of my logic can be done using smarter equation but I'm not really good at math so I just said "Screw it".

    Now that I think about it, does having too many Animation behaviours cause the program to lag? I have quite a lot in one single actor.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Yep lots of animations will do it.

  • AssortDisAssortDis Member, PRO Posts: 22

    @pHghost said:
    It's Creator that's laggy, not the game, so it probably has nothing to do with timers.

    Oh yeah, I forgot to mention that the Creator is laggy while the game has been running smoothly.

  • pHghostpHghost London, UKMember Posts: 2,342

    @The_Gamesalad_Guru said:
    Yep lots of animations will do it.

    Unless it's something specifically related to the PC version, I haven't noticed having multiple animation behaviors slowing down Creator much at all.

    @AssortDis I assume you are using the latest version of Creator?

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    @AssortDis said:

    You always need to measure game performance using an adhoc build or in the device viewer. Creator preview is never an accurate measure of performance nor is it meant to be.

  • pHghostpHghost London, UKMember Posts: 2,342

    @The_Gamesalad_Guru said:
    You always need to measure game performance using an adhoc build or in the device viewer. Creator preview is never an accurate measure of performance nor is it meant to be.

    His game isn't lagging. Creator is.

  • AssortDisAssortDis Member, PRO Posts: 22

    @pHghost, yep I'm using the latest Creator version.

    @The_Gamesalad_Guru
    Yes, I've been ad-hoc testing on my phone. The game has been running consistently between 49-59 fps with total memory usage is 50mb. I'm expecting the memory will be higher considering I'll add more animation sequences into the game.

    And also, I've been noticing the same problem with other actors who also have about 15 rules or more.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Creator can be slow when scrolling in an actors code when there is lots of it. That's normal.

  • AssortDisAssortDis Member, PRO Posts: 22

    Oh okay that's fine then. I've submitted crash report so let's hope it'll be resolved somehow.

Sign In or Register to comment.