play sound problem

sdx1987sdx1987 Member Posts: 44
edited November -1 in Working with GS (Mac)
In one scene i want to make that when i touch the screen then play a sound.
And when i touch the screen the second time do not play sound anymore.
how to make it?

Comments

  • sdx1987sdx1987 Member Posts: 44
    help
  • sdx1987sdx1987 Member Posts: 44
    yes,but how to download it?
    when i click download subject ,it play full screen and did not download.
  • sdx1987sdx1987 Member Posts: 44
    when i use firefox to download it,it is a chess game.if i click a wrong button?
  • Rob2Rob2 Member Posts: 2,402
    rename .zip
  • sdx1987sdx1987 Member Posts: 44
    thank you rob2 ,i have get it
  • sdx1987sdx1987 Member Posts: 44
    basseman your template is good ,and it works well .
    but i have some questions.

    why the self.play sound=ture can be wrote with the game.mouse.button=ture together?
    at the first time ,before i click the mouse, the play sound program have not been run.

    if you write it like this ,means when the sound be played and at the same time the mouse clicked,then play the sound?
    i could not understand it.

    could you explain it to me?
Sign In or Register to comment.