I’ve tried to add a condition that checks if the object is on screen and, if so, to play its animation, but it didn’t work. Is there a setting I have to set or anything like that that could solve this issue?
Hello, first I want to say that you don’t need to put a condition to make a sprite play its animation. Maybe you need to “loop” the animation to play it nonstop. But even if the sprite aren’t on screen as far as I know they will still play animation. Maybe you accidentally add the “delete if out of screen” behaviour so that you can’t see them. You may wanna delete that behaviour because there is no need for that.
Thanks for your reply, I know it’s not a requirement to have the condition for the sprite to play, it was an attempt to solve this issue, because there are no behaviours activated that could cause the sprites to be deleted… =/
Objects are not rendered at all when off the screen. This is called “culling” and is done in most engines to help with performance. Almost all games render only what the player can see (most FPS don’t render anything behind the player at all until you start turning).
For sprites objects, you can disable this on an object-by-object basis by clicking the “Advanced options” button on the lower left of the edit sprite object screen.
You will need to uncheck the box on the advanced options screen that shows up.
Make sure you click apply on the edit sprite object window to save the change.
Are you sure they’re still there? Did they move further off the screen or maybe they don’t have a “platform character behavior” and fell off the screen? Maybe the platform doesn’t have the “platform object behavior”. They shouldn’t just vanish.