I got this warning in my animation editor:
What does that mean? Will it affect the performance of my game?
I got this warning in my animation editor:
What does that mean? Will it affect the performance of my game?
It means you have too many animation frames in one object. This could very likely cause performance issues. Just remove the amount that it says you’re over the limit by and it should be good.
But I only have 16 frames!
But the frames are really big. They are 16x12 blocks large.
The larger the object, the less animation frames it’s allotted.
You probably have a very large sprite.
So apparently, I’m only allowed 3 frames for my object? Huh.
Yup, there’s your issue
Thanks for helping me!
No problem!
If you have a better computer it won’t harm your gameplay…
Hey @bestgamer999 - the memory warning is not a hard limit, because there is no way to know what type of device your players will be using, or how much video ram they will have.
mobile devices will start performing poorly right away if you’re using a lot of memory, while desktop machines are more forgiving. The warning is there to alert you of a potential problem, but you don’t have to treat it as a strict limit. In other words, if you require 15 frames, and everything is working fine when you test, then it’s probably fine as is.
Keep in mind though - It is possible to keep adding frames until your browser is just no longer able to create valid textures out of it, and at that point your animation can become corrupted.
Additionally, you get less undos for editing