Skip to main content
Known Participant
Jul 7, 2024 2:29 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

25 replies

kglad
Community Expert
Community Expert
Jul 7, 2024 2:40 AM UTC

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

Translate
Known Participant
Jul 7, 2024 12:39 PM UTC

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

Translate
kglad
Community Expert
Community Expert
Jul 7, 2024 1:56 PM UTC

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).

Translate