Gamesalad slows down when there are many rules
AssortDis
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
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.
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Extremely unlikely
Do you have a lot of timers?
I love any sentiment that ends with "Anyway, we're all slowly dying, so it's best to figure something out that works."
Vote for Nearest Neighbor Scaling option in gamesalad! Let's make our games look truly stunning!
It's Creator that's laggy, not the game, so it probably has nothing to do with 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.
Yep lots of animations will do it.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Oh yeah, I forgot to mention that the Creator is laggy while the game has been running smoothly.
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?
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
His game isn't lagging. Creator is.
@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.
Creator can be slow when scrolling in an actors code when there is lots of it. That's normal.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Oh okay that's fine then. I've submitted crash report so let's hope it'll be resolved somehow.