Im pretty new in Unreal, im trying to make a 2D platformer, and i have this issue:
When i load a level, i have several sprites and some of them change the flipbook for another one.
The first time that this happens on screen it pixelates, or flashes. (as if it was trying to load the sprite its changing into)
And then after that it keeps swapping between both flipbooks just fine, no flashing or heavy pixelation.
So mi thought was, “im doing something wrong and these things arent loading until they get used, then they work fine, how do i load all this as i start the level?”
Not sure if that is whats happening, but hey.
Anyone got any idea how to solve this?
The way it swaps the flipbooks:
I have 2 variables (flipbooks) already set with the correspondent flipbooks sources i wanna change into, then i use a “set flipbook” and the linked variable.
This is how i set it up so i can call a custom event to change the paperflipboog animation.
but when i do it flashes white, it looks weird for a second then looks fine.
It only happens the first time i change into a “new” paperflipbook, the second time it changes it looks fine from the start.
For extra explanation ill explain an example:
Character A , is in the map, with an idle animation, when you get talk to it, it should change to a angry animation,
So when u interact, and changes paperflipbook (through a custom event call) that happens.
I even tried to set like a begin play function that goes throughout all the animations before it appears on screen thinking it might load the sprites and it wont flash later but no dice.
I dont have a Begin play active since im using this blueprint for a scene (as in a “movie” scene that plays out, i am playing the scene from the Level Blueprint, sending calls to custom events whenever i need to change the flipbooks etc)
(since im going to be using this character for a bunch of scenes i thought about making a bp just for all his actions, then use it only for scenes and not gameplay level stuff)