Need help with a really confusing fix (probably simple for everyone else)

right my game involves jumping off a ramp on a bike and your score by how far you jump which is simple but my score system will work with my auto rotate on landscape right then ill preview again not even touch the game and the score system will stay on 0 and not work and ill change the camera auto rotate to ruffing and preview and it don't work so i change it to landscape right and it don't work still so i take it back off and it works why is this happening ?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Oh wow. I can't even start to help you until you have some sentence structure.

    "ruffing?"

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Not to come down on you, but I have to agree with @tatiang I have no idea what you are asking. Possibly post some screen shots of your rules, or a video if possible, or try to explain a little more clearer and in depth.
  • gamesfuagamesfua Member Posts: 723
    @tatiang and @slickzero let me try and translate here. Correct me if i'm wrong @jordeyy.
    (Btw try using some periods in your sentences so we know when a new sentence begins. That will help us better to help you. :)

    Okay here goes... Translation begins here...
    This game is about a bike. You get a score by how far your bike can jump. He understands how to create the score system. That is not the problem. The game is designed for landscape. Upon first testing he holds the device with landscape right. Seems to work fine. It appears (and this part of the translation could use some work, i'm not a pro at this ;) that when he tests the game a second time (without even touching the screen) that the scoring value remains at zero and will not work properly (i'm assuming he means the game won't register scoring).
    He then tries to tweak the camera orientation/rotation settings. I'm going to guess he means changing the auto rotate to landscape left or something? And that doesn't work. So then he reverts back to landscape right and possible even adjusting this into GameSalad creator (i.e. resetting auto rotate back to rotate right) and the game still behaves odd.
    It appears that only after he reverts everything back to the original settings AFTER going through all of this, that the game works again.
    Phew! That was incredibly challenging. How did i do?

    I have a feeling this may have more to do with the game not resetting some of the values. Like maybe all he needs to do is add a change attribute at the start of his code to ensure things reset.

    Wow. I need a drink.
  • JordeyyJordeyy Member Posts: 409
    @anatomyofdreams yeah pretty much i will word them better from now on the score system works when it wants to in other words
  • gamesfuagamesfua Member Posts: 723
    @jordeyy i'm happy i could help.
    But you're still not including periods in your comments. I'm not here to be the grammar police but it will help everyone out if you use periods, etc.

    Lets take your latest comment "anatomyofdreams yeah pretty much i will word them better from now on the score system works when it wants to in other words"

    Try...
    "Yeah that's pretty much it anatomyofdreams. I will try to word my comments better from now on. Basically the problem is that my scoring system works when it wants to work. It's not reliable in other words."

    So anyways if that's the problem it could be that you're not having your score or actors reset. Give you a quick example.
    Lets say i have a game where i push a button. Everytime i push the button it gives me 100 points.
    So i press the button and it does exactly as i asked it to (it gives me the 100 points). Well if i don't include a behavior, like change attribute to 0, at the very start of my code- there's a chance the game will start me off with 100 points. Now clearly i'm giving a very simple example here but hopefully you get the gist. Make sure all of your actors and scoring systems have a line of code at the very beginning that ensures it will reset to the way you want it upon startup.

    Makes sense? Give it a try. Look at all of your actors and make sure that there is a line of code that will reset and or notify them where to be at the start of a level.
    For instance if you have a health system (like 3 hearts), make sure there is a line of code that says something like change attribute energyhearts to 3. That way it know to give you 3 at the start. If you don't it might cause problems.

    Best of luck!
  • whompywhompy Member Posts: 27
    @anatomyofdreams Wow, you are more patient than I would ever be. And please, feel free to be the grammar police. Sometimes we need that around here.
  • lycettebroslycettebros Member, PRO Posts: 1,598
    My apologies if you are not an English speaker. If you are and you are over 12 years old then God help you.
  • JordeyyJordeyy Member Posts: 409
    To be fair most of your are acting like i am dumb, when actually i left school with With 15 Gcse's, including English.
    I was just in a rush when i made this discussion, could someone please close this discussion.

    Thanks :)
  • gamesfuagamesfua Member Posts: 723
    @jordeyy i'm sorry if you feel like you're being attacked. I'm sure that's not the intention of everyone on here. Its certainly not mine.
    That all said did my suggestions help you out? Any progress on the problem?
  • Armagedon_BunnyArmagedon_Bunny Member Posts: 3
    To be fair most of your are acting like i am dumb, when actually i left school with With 15 Gcse's, including English.
    I was just in a rush when i made this discussion, could someone please close this discussion.

    Thanks :)
    Erm I would have thought the moderators would be the ones being nice to you xD Why don't you ask an admin?

  • JordeyyJordeyy Member Posts: 409
    @anatomyofdreams i don't think that is the reason the score system is not working, because it does not work as soon as i start my game.

    Here is my game,see what your think

    http://arcade.gamesalad.com/game/110127
  • gamesfuagamesfua Member Posts: 723
    @jordeyy is this a template? If so why don't you try contacting the person who made the template?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Nobody thinks you're dumb. I just could not tell what you were asking, personally.

    And it's hard to tell why the scoring is not working from the arcade. We need to see the rules you have for the scoring, at the least.

    Did the scoring work when you originally got the template, or has is been weird since the get go?
  • JordeyyJordeyy Member Posts: 409
    @SlickZero i have got the scoring working now , the problem was.

    I have two attributes (Startx,Endx)

    I just forgot to turn on the behavior stating - ( When Bike crashes - set EndX to Self.Posistion.x)

    If you get me ?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Ahh, very good then. Glad you got it working!

    Would you still like this discussion closed?
  • JordeyyJordeyy Member Posts: 409
    @SlickZero i dont mind bro also could you check my most recent discussion thanks :)
This discussion has been closed.