Program Delays and Sounds

Josh Patey 1 Reputation point
2021-02-04T02:43:07.44+00:00

What is the exact effect on the program of "Program.Delay()?" It acted odd when I used it, in that when it did a delay it halted all other loops in the program, and in some tests actually crashed it. Also, how exactly do sounds work, and are there any commands other than the ones listed? When I tried using sounds, it wouldn't allow the same sound to be played more than once unless it was stopped, or if I used "Sound.PlayAndWait", which halted the entire program and loops in the same way as "Program.Delay()". I am attempting to make a game that would inevitably result in multiple consecutive sounds, but am unsure how to make it work correctly with proper timing and such, especially since I am confused as to the precise functionality of "Program.Delay()."

Developer technologies | Small BASIC
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Absolute Beginner 171 Reputation points
    2021-02-05T14:31:00.777+00:00
    2 people found this answer helpful.
    0 comments No comments

  2. Pappa Lapub 191 Reputation points
    2021-02-21T21:59:35.687+00:00

    there's a file missing that's here
    sjdsotm.zip (279.80MB)
    https://www.sendspace.com/file/90dda9

    1 person found this answer helpful.
    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.