2 questions

matthewsuttlesmatthewsuttles Member Posts: 42
edited April 2012 in Working with GS (Mac)
Hey everyone,

I have a couple of questions.

1. If I use the save attribute command, will it save the attribute so when the game is launched next time it will be there.

2. I am having a bug issue. When I play my game my, after so long my ship just randomly starts to rotate in circles. I don't think it is a problem with coding. Is anyone else having this issue. It works fine just randomly starts rotating out of control. Its actually kind of funny.

Thanks,

PS I hope to anounce my game formally this week.

Answers

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Hi,

    For your first question, yes. Use the save attribute behavior to save anything you'll need when the user closes the app in multi tasking and reopens it.

    For your second question, I don't know the answer. You might want to go through all your rules and see if you have a timer that might be doing that....
  • matthewsuttlesmatthewsuttles Member Posts: 42
    Thanks Braydon, I double checked, I don't have any timers or rules that would cause that.

    (Head Scratcher)
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Could it be one of your move rules?
    Perhaps you are pressing button to move your ship, and you somehow trigger something and the ship goes wild. What I would do is figure out how to trigger the bug. Find out if it happens in intervals. Then, go through and really REALLY look to see if anything could possibly be related.

    Anyway, that's what I would do. :)
  • matthewsuttlesmatthewsuttles Member Posts: 42
    ok ill try and give it a shot
  • simo103simo103 Member, PRO Posts: 1,331
    edited April 2012
    @matthewsuttles ... re:1 probably worth watching this quick video by tsb. There are two actions required for each thing you want to save. A LOAD when your game starts, and a SAVE during the game: http://www.youtube.com/v/cxnOlxJipv4?version=3&hl=en_US&rel=0
  • matthewsuttlesmatthewsuttles Member Posts: 42
    Photobucket
    This is what I have for the ship code
  • GreenHavenGamesGreenHavenGames Member Posts: 62
    Are ther any other actors that it is colliding with?

    Try checking 'fixed rotation 'in the ships physics. That should stop it from spinning. Note sure how that will react with your game or current rules.

  • GreenHavenGamesGreenHavenGames Member Posts: 62
    Weird. This was under the 'unanswered' catagory. It wasn't until after I posted that I saw the original post date. I'm not a necromancer!
Sign In or Register to comment.