Im interested in making game in construct classic. As an experiment, i begin with a very basic flash game that is basically a mashup of tennis and pong. It was all going great till...i started working on sound. It litereally seems impossible for me. Every attempt to put sound fails im pretty sure that fault is mine though so i want u guys to correct me: Here is the method i follow(in this case, its about a "tik" sound when ball hits the racket:
event: On collision between ball and racket
--> new action --> xaudio22 --> Autoplay File -->write "D:\Game Design\Game\UC Tenispong\Music_05.wav" in the box.
Besides autoplay, i also tried Loadfile, but nothing works. There is no error, its just that sound doesnt play.
I also tried another thing. It was this:
On collision between ball and racket --> (new action) --> System --> Play Sound(For apps), and then add the file path "D:\Game Design\Game\UC Tenispong\Music_05.wav" in the box. THis worked just fine except for the fact that game was paused for all the while music played. In simple sound like a "tik" voice, the while paused is fairly small but it all makes the game look glitchy. besides i also plan to add music files that could be up to 3 seconds long and game would look stupid if it stops everytime music plays. Thanks in advance and if this game is complete, il make quite a few games and might buy construct 2 as well