Skip to main content
Known Participant
July 7, 2024
Question

How do I make items/powerups come with in the next scene?

  • July 7, 2024
  • 1 reply
  • 1181 views

I have a basic problem I think, when the character touches items/powerups they'll go into itemslots. But when the character touches a door or heads to the next scene/stage (not a frame), the items/powerups are not in the itemslots anymore even though I added them to the next scene (mainly their just outside the itemslots).


How do I get the game to keep the progress as the character enters other scenes/stages? 
I don't know if flash games only work on one scene or if I setup arrays or sharedobjects.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 7, 2024

using scenes means you have to redo anything you want to carry from one scene to the bext.

Known Participant
July 7, 2024

So should I just try to put it kinda like all one scene instead? 

kglad
Community Expert
Community Expert
July 7, 2024

you can either use one scene (and mimic scenes by use keyframe with labels), or use code (eg, a data object that saves data so whatever is needed in other scenes can be restored).