Search found 3 matches

by BuddhaRandom
Sun Feb 23, 2020 7:22 pm
Forum: Support and Development
Topic: Error while trying to play a .Wav file
Replies: 5
Views: 5669

Re: Error while trying to play a .Wav file

The tuturial is from 2016 so no doubt there's been changes, I didn't check the date till just now. I was looking at exampels in the wiki, particularly here at the bottom there are examples with and without strings, so I got confused thinking my code should run. Thanks so much for the assistance and ...
by BuddhaRandom
Sun Feb 23, 2020 5:42 pm
Forum: Support and Development
Topic: Error while trying to play a .Wav file
Replies: 5
Views: 5669

Re: Error while trying to play a .Wav file

What string is it expecting? Something like "static" perhaps? Isn't the path name a string? Or is it looking for someting additional? This seems work fine in the tutorial video. He gets no error when running the same code. There is also code very simular in the documentation and while it d...
by BuddhaRandom
Sun Feb 23, 2020 4:31 am
Forum: Support and Development
Topic: Error while trying to play a .Wav file
Replies: 5
Views: 5669

Error while trying to play a .Wav file

New here, new to Lua. I've been following along with a tutorial and whilst now near the end I have hit a snag. The following code produces an error: local music local volume function love.load() music = love.audio.newSource("Randomize10.wav") music:play() end Gives me the following error: ...