make an attribute integer, set it to 0 call it score Making a rule if attribute score is less then 100, change attribute every 1 second to attribute score+1
seriously, you need to do a lot more reading and tutorial watching.
what you want depends very much on what is involved in your game, you have been far too vague.
if it is a collision that stops the timer then maybe set some sort of attribute that triggers when that collisions occurs. This attribute would control whether the score is increasing or not. If it is temporarily stopping during collision then maybe use the overlap/collide option to stop start the score increase.
Unless you can be very specific then I'm not sure anyone can help you.
ah ok, then what i said is correct. put the 'hit' rules in one of the actors that collides. if you don't want it to start again then take out the otherwise bit about changing it back to false.
if you can't follow this then really you need to go and do some more learning with tutorials, videos and a lot of patient reading because if you are trying to make a game then their will be lots of things more complicated than this.
in which case then i think you need to go back to the very basics and read everything in the wiki and tutorials and learn about attributes, rules and where things go in GS. really by having someone dictate the exact rules to enter it is not going to help much. Sorry to sound like I'm lecturing, but you clearly have too many of the basics still to cover.
Comments
http://www.youtube.com/user/GameSaladCookbook
and then try searching. It's been discussed MANY times before.
if you want it to go up faster make is something like every 0.5 seconds.
Jamie.
Making a rule if attribute score is less then 100, change attribute every 1 second to attribute score+1
what you want depends very much on what is involved in your game, you have been far too vague.
if it is a collision that stops the timer then maybe set some sort of attribute that triggers when that collisions occurs. This attribute would control whether the score is increasing or not. If it is temporarily stopping during collision then maybe use the overlap/collide option to stop start the score increase.
Unless you can be very specific then I'm not sure anyone can help you.
in which case watch and read the score tutorials, they all work fine.
basically as soon as the game stars i want the score to accelerate until it hits the object . is that alright
create game attribute called score and self attribute called hit.
in one of your actors have:
If actor overlaps/collides with actor of type 'whatever you want it to hit'
change attribute hit = true
otherwise hit = false
Then a rule:
If hit = true
timer: every 1 second
change attribute score = score+1
what i want is for for when the game starts i want the score to accelerate. until the actor hits an object, and thats when i want the score to stop
should be If hit =false
hit the plus button when you are in the actor
sorry