Author Topic: Best suggestions for adding sound?  (Read 7511 times)

0 Members and 1 Guest are viewing this topic.

Offline jtyler125

Best suggestions for adding sound?
« on: January 14, 2007, 08:36:27 PM »
I tried out Doan's games that have links from this site and this guy is very good at what he does...even my excitement at finishing a one screen game has waned at trying out his games.

Yet...I still want to know more so that one day I may be able to write a game that Doan says...hey that game is pretty good.  Maybe 5 years from now.

I played the homestar runner game by Doan and it had a kicking soundtrack on the first screen...I really just need some chimes of a clock...12 to be exact....but how do you add sound.

1)  How do you add sound...I have not tried reading up on it because I am lame...

Any suggestions?

Thanks,
JT


Life is getting better all the time.
Groundhog Day Competition New Year's Competition

Offline Cloudee1

Re: Best suggestions for adding sound?
« Reply #1 on: January 14, 2007, 10:43:23 PM »
you will need two tools, anvil studios and soundbox. They can both be found on the development tools resources sticky, and they each have threads in the same section that will tell you a little more about them.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline jtyler125

Re: Best suggestions for adding sound?
« Reply #2 on: January 14, 2007, 10:50:28 PM »
I saw it after I wrote that thread...thanks...also I am getting sea sick scrolling through all of troflip's threads on Mega-Tokyo...trying to find info on avois script...I have taken out pieces from different threads and I am going to try to write the code and play around with it...this is what I have so far...

Avoid Script

I can't write it for you, but I think here is what you'd need to do:
1) make a Script and give it a doit method
2) in the doit method, for each thing that needs to avoid you:
    a) get the distance between it and the ego
    b) if that distance is smaller than some value, then make it walk in the opposite direction of the ego.  Basically you setMotion(MoveTo x y) where x and y are some distance away from the ego (that is at least as large as the distance used in 2a), in the direction opposite from the ego.

(if(Said('talk/man'))
            (if(< (send gEgo:distanceTo(aMan)) 20)
                (if(send gEgo:has(INV_KEYS))
                    Print("Hey you found them! Where were they?"#title "old man Says:")
                    Print("They were in your car..."#title "You say:")
                    Print("What do you mean they were in my
car?"#title "old man says")
                    // move the old man
                    (oldMan:setMotion(MoveTo 100 130))



I hope to tweak these to write an avoid script for my New Year's game.
Life is getting better all the time.
Groundhog Day Competition New Year's Competition

Offline Doan Sephim

Re: Best suggestions for adding sound?
« Reply #3 on: January 14, 2007, 11:23:07 PM »
I tried out Doan's games that have links from this site and this guy is very good at what he does...even my excitement at finishing a one screen game has waned at trying out his games.

Yet...I still want to know more so that one day I may be able to write a game that Doan says...hey that game is pretty good.  Maybe 5 years from now.
Wow...thanks for the kind words! That really makes me get off my dead-butt and work on my new years game ;)

Offline Cloudee1

Re: Best suggestions for adding sound?
« Reply #4 on: January 14, 2007, 11:29:23 PM »
I found the post at mega-tokyo. Basically it is already done for you, all you have to do is figure out how to add the script. He more or less decompiled one of sierra's scripts that we should have but don't.

http://www.mega-tokyo.com/forum/index.php?board=5;action=display;threadid=7016;start=msg58350#msg58350

Quote from: Doan
That really makes me get off my dead-butt and work on my new years game
I hope so, it would be a shame if I only give out one of the three trophies. Hopefully Eigen isn't spending too much time playing Tetris to work on his entry either. But judging by his last score, I think he might be :D
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline jtyler125

Re: Best suggestions for adding sound?
« Reply #5 on: May 16, 2007, 06:05:29 PM »
OK Doan can you write an easy to follow tutorial to add a sound file called "CoolSound" to a certain screen and also include a complete and very basic script for that room...for example you type "look at band" and music starts?

Please also give a few pointers on making the sound file, I want the cheap, easy, trickiest, super, simple, lame way to add a song or sound to the game.

I will try on my own but your help would be much appreciated...I know we chatted about it but I forgot already how to do it and hoped this post would help me but I was lame and asked too many different questions in this post....

Hook me up,

Thanks,
JT
Life is getting better all the time.
Groundhog Day Competition New Year's Competition

Offline troflip

Re: Best suggestions for adding sound?
« Reply #6 on: May 16, 2007, 11:39:18 PM »
Please also give a few pointers on making the sound file, I want the cheap, easy, trickiest, super, simple, lame way to add a song or sound to the game.

Someone mentioned Anvil studio in this thread.  That's what you'd use if you want to write your own music.  Make your own midi file and then use SoundBox to turn it into an SCI sound resource which you can then import into SCIStudio or SCICompanion.
Or skip the Anvi Studio step if you want to just use someone else's music.

Or even easier, borrow sounds from another SCI game.

The next version of SCICompanion will have sound support built in - basically the equivalent of soundbox in that you will be able to import midi files into the game and assign channels to various synths. 
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline MusicallyInspired

Re: Best suggestions for adding sound?
« Reply #7 on: May 20, 2007, 10:25:47 AM »
Sweet! Will the sound previewing option work as well?
Brass Lantern Prop Competition

Offline troflip

Re: Best suggestions for adding sound?
« Reply #8 on: May 21, 2007, 12:17:27 AM »
Yes, of course there will be sound preview.  Easy to do now that I have code that reads the sound resources and plays a midi stream.

Here's a screenshot of the "editor":
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline MusicallyInspired

Re: Best suggestions for adding sound?
« Reply #9 on: May 24, 2007, 02:40:07 PM »
Nice! Can't wait for the release.
Brass Lantern Prop Competition


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.045 seconds with 22 queries.