Attributes

triton13triton13 Member Posts: 161
edited February 2012 in Working with GS (Mac)
I'm getting irritated that I can't figure this out and I've been stuck on this for quite some time. When I reset a scene, my attributes don't reset and my characters move around when they're not supposed to until I tap the screen.

Comments

  • muoch10muoch10 Member Posts: 112
    Reseting a scene wont reset the attributes, You have to manually reset them. I dont quite understand the second part. Maybe post a video?
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    As Muoch10 stated, resetting the scene won't reset the attributes, you'll need to trigger that yourself manually at a game over screen or pressing of the reset button. Also, it might be worth setting the linear x and y velocity of your actors to 0 as well to counter any movement ... although the reset scene should take care of that.
    You'll need to show video and your rules as its too hard to tell whats going on from your little description
  • triton13triton13 Member Posts: 161
    I don't have a screen recorder but this is pretty much what is going on. I have a screen I tap and then the scene starts. When the scene starts, I have actors that move around and when certain actors are pressed then it deletes them. Once those actors are deleted it moves to the next scene. If the wrong actor is pressed or the time runs out, then it's game over. If I click the wrong actor and restart the level and press all the correct actors, it doesn't proceed to the next scene like it's supposed to. I just need to figure out how to reset the scene so my time resets, my actors don't move till I press the screen and when I press the correct actors, it actually proceeds to the next scene if that scene was restarted. How do I do this? Thank you.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    You have a screen recorder on your mac, quicktime can record the screen.

    Like said above you need to change all the attributes back yourself when you switch scenes, or reset.

    Also if your using the built in game.Time, you cant change that at all. So youll need to make your own time attribute if your trying to reset that.
  • triton13triton13 Member Posts: 161
    Okay, I figured everything out and I'm so happy, but I found a minor glitch. Sometimes when I click the wrong actor and it resets, it glitches and my actors move when they're supposed to be paused. Most of the time though, it stays like it's supposed to.
Sign In or Register to comment.