please stop bumping your own thread every 30 minutes. there are a few reasons people have not been able to help you.
1. based on your original description, this is very easy to accomplish using the online tutorials 2. your original, and subsequent descriptions are not very clear on what you are trying to do 3. you say you've tired some things, post them online so people can see where you went wrong. saying something doesn't work means nothing, we can't tell if you missed a step or are trying to do something completely different
you say you want the score to count up until a player hits an object create an boolean attribute called alive, and integer attribute called score then create an actor called scoreCounter, badObject and player
on the player actor have a rule that says when overlaps or collides with player of type badObject change attribute alive to false
on the scoreCounter actor, have a rule that says while alive = true timer - every .5 seconds score = score + 1
and
displayText game.Score
that will start counting the score at 0, and ever 1/2 a second go up by one. when the player hits the badObject the score will stop counting. I'll leave it up to you to figure out how to move the players around, there are videos on that.
Comments
Then a rule:
If hit = true
timer: every 1 second
change attribute score = score+1
in the score
you are asking questions that would have been answered if you watched every youtube video and or actually read the wiki.
please do so.
1. based on your original description, this is very easy to accomplish using the online tutorials
2. your original, and subsequent descriptions are not very clear on what you are trying to do
3. you say you've tired some things, post them online so people can see where you went wrong. saying something doesn't work means nothing, we can't tell if you missed a step or are trying to do something completely different
you say you want the score to count up until a player hits an object
create an boolean attribute called alive, and integer attribute called score
then create an actor called scoreCounter, badObject and player
on the player actor have a rule that says when overlaps or collides with player of type badObject
change attribute alive to false
on the scoreCounter actor, have a rule that says
while alive = true
timer - every .5 seconds
score = score + 1
and
displayText game.Score
that will start counting the score at 0, and ever 1/2 a second go up by one. when the player hits the badObject the score will stop counting. I'll leave it up to you to figure out how to move the players around, there are videos on that.
score goes up and stop
when i copied the same thing into my game it didn't work can you help me guys
You already have a 42 reply thread on this. Please don't start another.
this is the most simple question but it get 63 replays?
crazy