How to score when actor jump a barrel?

RubiyoooRubiyooo Member Posts: 163
edited November -1 in Working with GS (Mac)
Hello i am working i an clone game of Donkey Kong.

Only because i want to learn :)
I have two problems!!
I want to score when my actor jump a barrel!! How can i do it?

And finally when i turn left or right my actor. Always he saw at right of my screen. I want that if i press to left he saw in the left when i press off the left button.

Thanks you :)

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    when a barrel is spawned also span an invisible actor and constrain it's X to the barrel's X and constrain it's Y to the barrel's Y + (barrel height/2)

    In the jumper have a rule that says when collides with invisible actor change game.score to game.score + 1
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    what about the opposite? Constrain an invisible actor under the player.
  • RubiyoooRubiyooo Member Posts: 163
    Thanks you very much by answer me so fast!!

    Excusme if my english is bad. I would go to Irland this summer to learn more english and working in a Pub :P

    Ok i undertand the variable of distante to my actor. And now i have a problem with the other thing. My actor i do not know how to do that my actor to see to left when i press off the button of left. Always it get up to right :(
Sign In or Register to comment.