I think I saw a post about sounds a while back, but I can't find it. I don't know where to start, no tutorials or demos that I can see.
Does the Blue Book have anything on sounds? Curious, since I am thinking about getting it.. is it worth the money?
ID:150613
Aug 21 2001, 3:24 pm
|
|
In response to Gughunter
|
|
Gughunter wrote:
Does the Blue Book have anything on sounds? Curious, since I am thinking about getting it.. is it worth the money? Thanx, I guess I will get the book.. Nothing better to do :) Probably should get it anyways, don't know stuff that I need :( |
In response to Oblivian
|
|
Thanx, I guess I will get the book.. Nothing better to do :) Probably should get it anyways, don't know stuff that I need :( Don't feel too bad. No one learns DM, or any programming language, overnight. The best thing you can do (aside from buying the book, of course!) is just keep returning to the online sources of information: the Guide, the forums, the Reference, the tutorials, the FAQ, and all that good stuff. You'll find that the more you understand, the easier it is to find the information to fill in the remaining gaps. Good luck! |
I have tried adding the sound in, but when it compiles I get a error obj.dm:35:error:'shot.wav':cannot find file
Assuming this means I need to get the sounds/ dir somehow to compile whith it? if so not sure how to :( |
In response to Oblivian
|
|
Oblivian wrote:
I have tried adding the sound in, but when it compiles I get a error obj.dm:35:error:'shot.wav':cannot find file Try checking the "show all files" box under the files list in Dream Maker. |
The Blue Book is definitely worth the money and I'm pretty sure it has info on using sounds. But if you promise to buy it, I'll give away the secret of sound here and hope Dan and Tom forgive me. :)
Sounds are played using the sound() proc. Even without the Blue Book, you can find it in the Reference (it may also be mentioned in the Guide). And, just for icing on the cake, the tutorial game "A Step BYOND" has examples of its usage, and charming music by Air Mapster to boot.
Hope this helps!