after change scene nothing moves

POMPOM Member Posts: 2,599
edited November -1 in Working with GS (Mac)
im having a problem in my game..
i have a rule -when attribute "finish" is true
change to scene "2"

in scene 2 i have some of the actors that were in scene 1

but after the scene changes, nothing moves in scene 2! not even actors that have an acceleration rule(without conditions)
any help?!

Comments

  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    What triggers the finish attribute?

    Maybe you have some other attributes changed preventing the actors to move.

    Do the actors in the second scene spawn automatically? Do they use game or self attributes, which may not be reseted and prevent them to move?

    I had problems, where my fishes started to swim backwards from the half of the screen :-)

    It was because a game attribute was changed by another actor.

    But I am just asking. As somebody already stated, I know nothing, just talk, so somebody will come and help you for sure.
  • QPQP Member Posts: 6
    I have some of problem, like this before.

    Maybe you have a problem like me.

    1. Use some game attribute to control all actors. [such as: Clear = 0]
    2. When player clear stage the attribute Clear will be 1 that make all actors stop.
    3. Move to new scene ** you forgot to change Clear attribute back to 0. So all the actors will not move***

    From what I did and try, Game attribute will work for all scene in game.
  • POMPOM Member Posts: 2,599
    Thank you for your commet.
    For example: I have an actor that moves from the top right corner to the top left corner, and that actor is in scene 1 and 2 and 3 ......
    And I want it to accelerate left, but when a new scene begin it will start over again
    but after scene is changes the actor isn't moving!
    (it dosent have attributes. It just moves)
  • design219design219 Member Posts: 2,273
    I bet I know what's gone wrong. Did you put your accelerate behavior on the actor in the first scene, or did you put it on the actor prototype (by editing the actor in the actor panel)? If you added your behavior just to the actor in the first scene, that is an instance of the actor, and will not be on the actor in other scenes. If you edit the prototype actor it will be on the actor in every scene.

    If you add the behavior to the prototype actor at this point, you will need to delete and replace it in all scenes.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    yes, what design219 said.
  • POMPOM Member Posts: 2,599
    Sorry buy I know that fact.
    If I play the scene by itself it plays perfect.
    The problem is when I jump from scene to scene.
    The actor that moves is like a timer bar, that moves into the scene from the outside
    and every scene has it. So that it apply a timer bar to every scene.

    Again. Each scene works individual.. But when change scene come to place the actor dosent move!

    And I'm having another problem now,
    let's say I'm in scene 1 and finished it and jumped to scene 2, and now finished it as well and going to scene 1 again, the actors in scene 1 don't respond to the mouse click!
    Please help..
  • POMPOM Member Posts: 2,599
    Ok Im having a progress..
    It's amazing what 1 single wrong attribute can do
    just checked about 200 attributs and 1 of them was false instead of true.
    I'll let you know how it goes..
    Thanks again for your help!
  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    Attributes are tricky. I told you :-)
Sign In or Register to comment.