Picking sounds from table

sethmansethman Member, PRO Posts: 15

I have a game based on tables that show words and their corresponding pictures dynamically.

Like this: A button randomly picks a word from a table and automatically it will try to show a picture with the same name with the extension ".png".
For example if the random word is "hacksaw" it will show a picture named "hacksaw.png".

I would love to do the same thing with sounds. Have it playing [random word]..".wav"

Is there a way to do this?
Without creating a rule for every sound that is.

I have a strong suspicion there ain't. But maybe this could raise the issue. I can't be the first chef to try this stunt.

Thanks for your time
//seth

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @sethman said:
    I would love to do the same thing with sounds. Have it playing [random word]..".wav"

    I would do. :)

    Is there a way to do this?
    Without creating a rule for every sound that is.

    No, there isn't. :(

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.