Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Sound in simulator bugged?
Started by nahuelovejero_70 Jan 07 2017 10:17 PM

1 reply to this topic
sound warning failed

Best Answer nahuelovejero_70 , 08 January 2017 - 09:34 AM

Well, I did not change any code, I went to sleep, wake up, tried the game again, and it was working. Even without change anything.

So restarting the pc solved the problem.

 

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

nahuelovejero_70

[GLOBAL: userInfoPane.html]
nahuelovejero_70
  • Observer

  • 6 posts
  • Corona SDK

Hello!

I'm just a begginer, who discovered Corona a few days ago while trying to learn and practice lua.

I started with the "Getting Started" section, and I understand completly at least where I have reached.
 
I downloaded the sounds files from  chapter 7 , I put them in my project file, in the audio folder , but got a warning everytime.

02:34:22.550  WARNING: D:\Documents\Corona Projects\StartExplorer\game.lua:291: audio.loadSound() failed to create sound 'audio/fire.wav'

Here is the code (which is exactly the same as the Tutorial):

--at the start
local explosionSound
local fireSound
--in the start scene
explosionSound = audio.loadSound("audio/explosion.wav")
fireSound = audio.loadSound("audio/fire.wav")


TLDR: Simulator can't load working sound even if they are in the correct folder.

Help? 

 



[TOPIC: post.html]
#2

nahuelovejero_70

[GLOBAL: userInfoPane.html]
nahuelovejero_70
  • Observer

  • 6 posts
  • Corona SDK

  Best Answer

Well, I did not change any code, I went to sleep, wake up, tried the game again, and it was working. Even without change anything.

So restarting the pc solved the problem.

 




[topic_controls]
[/topic_controls]