My sounds only play once

Nelly 1 Reputation point
2021-09-30T14:56:35.9+00:00

I created a jump sound using bxfr and went to put it in my game, but the sound only plays once and then it stops
Can anyone tell me why?

Small BASIC
Small BASIC
A programming language created by Microsoft that serves a stepping stone for beginners from block-based coding languages to more complex text-based languages.
280 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Nonki Takahashi 676 Reputation points
    2023-06-20T09:36:41.9133333+00:00

    Can you show your program ID or source code?

    0 comments No comments

  2. Small Visual Basic 411 Reputation points
    2023-06-28T17:29:37.3933333+00:00

    I think You need to call Sound.Stop("jump.wav") before calling Sound.Play("Jump.wav")

    I made changes in Small Visual Basic to make the Play method implicitly call the Stop method before playing the sound.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.