My First app with continuos score counting

begginerappbegginerapp Member Posts: 6
edited November -1 in Working with GS (Mac)
hi

guys i have a bit of programming knowledge and i have started on this new app what is a lot like the rag doll game. what i am trying to achieve is for when the game starts, i want the score to increase. that is basically it until the man hits the dagger and then i want the score to stop.

i have followed what kirkland posted and i am having the same problem as kirkland. can any body help me more or can anybody have a look at the project and do it for me.

Comments

  • DimensionGamesDimensionGames PRO Posts: 993
    Every 1 second game.time+1

    Cheers
  • begginerappbegginerapp Member Posts: 6
    nope didn't work
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Oh wow. Really?
  • kirklandkirkland Removed Posts: 268
    like i said i followed it and i spent all day on it can you help me please
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Are you using change attribute or constrain attribute?
  • DimensionGamesDimensionGames PRO Posts: 993
    It definitely works! Did you create a timer? A attribute called game.time. A display text showing game.score.

    Hope this helps.
  • begginerappbegginerapp Member Posts: 6
    to asymptotell i am using a change attribute

    and to possessive gaming what bit does the game time big come into it tell me
  • DimensionGamesDimensionGames PRO Posts: 993
    It's the main bit! In the actor you telling the attribute to change +1 you can't just type in game.score you need to create a booelean attribute.

    Cheers.
  • ScootsScoots Member Posts: 507
    you joined 56 minutes ago, have the same exact question. you sure you're not kirkland?
  • ThejackaspenThejackaspen Member Posts: 27
    I think what you are trying to do is the same as what I did in my first game Glow Dodge

    Here's the link for it, it's free so you can look at it
    http://itunes.apple.com/us/app/glow-dodge/id417601976?mt=8&ls=1

    What I did was I had and an integer attribute called "Start Timer"
    When the player hits the start button, or what ever starts your game, change "Start Timer" to 1
    Another rule where when "Start Timer"=1 and "Game score" is greater than or equal to 0, every .1 seconds (or whatever you want) change "Game Score" to "Game Score" +1, or however many you want
    Then once player hits the enemy, dagger or whatever, Change "Start Timer" to -1
    Then i had another rule that said when "Start Timer"=-1 then Change Scene

    I hope this works!
  • begginerappbegginerapp Member Posts: 6
    can anyone make me a tutorial for this please
  • begginerappbegginerapp Member Posts: 6
    ok i am getting there know my score says true
Sign In or Register to comment.