How do I persist a global sprite?

Get help using Construct 2

Post » Wed Apr 19, 2017 2:15 pm

Hey there! ^_^
So - i made an inventory, a simple one like this; ... e-easy-way

They are sprites placed out, which plays an animation and frame depending on what item u pick up.
Now, i made this layer parallelx 0, so it always appear with the UI in the middle when called upon.
I made it Global.

However, when i enter a new layout, all the frames reset. Is there any way to fix this? If i add persist, it wont change anything.
Next layout, it simply resets. I need it at parallalx 0, and it must be global to pass through all layouts and carry on right?

Any help?
Posts: 164
Reputation: 1,530

Post » Wed Apr 19, 2017 8:26 pm

Adding the persist behavior to your sprite object should do the trick.

It would be easier to diagnose if we could see exactly what you have done.
Mistakes were made.
Posts: 1,942
Reputation: 74,861

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests