Temporary picts

Shari gogypsy at bellsouth.net
Thu Mar 21 11:59:01 EST 2002


>If you need them to play seamlessly from one file to the next, that 
>would be the biggest trick.  I would start out by having your 
>program get the size (in time) of the file it is going to play first 
>and have a send command create  another player and start it at the 
>estimated end time.
>
>Yes it would be nice if you could do it the old way from HC.  But 
>there are alternatives that should work out just fine.  What you get 
>in the end is longer sound code, but advanced features not available 
>in HC without a truckload of externals.  Don't get me started on the 
>power of running on multiple platforms.
>
>Put your C books down and put your diskettes of HC away and give this a try.

Actually the code I ended up with works, but not seamlessly.  I 
posted the final version.  Even though I set the startTime etc. to 
zero, it cuts of the first millisecond of the first sound.  And 
"darn" becomes "arn".

Thankfully there is only one piece of code in this particular program 
where the sound issue tripped me up.  The rest of the sounds were 
simpler commands that did work as desired.  Simply "play someSound".

The only thing left for me to do with this program, is compile it, 
and test it compiled to see if anything works differently, and I plan 
to have it in my beta tester's hands this weekend.

I do want to change that one ticky piece of sound code again though, 
as I remembered late last night that using players and setting their 
filename meant keeping the sounds external and not embedded.  I don't 
want the sounds to be external, so I may go back to the send command 
and play with it some more.  I'd like to get this worked out in a 
satisfactory way, as the end result will be the template for all my 
programs.  And it is highly desireable to me to have all the 
sounds/graphics embedded.

Bad enough to lose the resource fork for those danged Windoze 
machines ;-)  I'll tell you, I had a whole system set up that made 
wondrous use of the resource fork for sounds/graphics.  I created a 
whole library of graphics in hypercard  as resources, so that when I 
want a specific graphic, say a dog, I go to the resource fork of the 
Animals stack, and every animal image is there, without having to 
open and close a bunch of files, and I can just scroll through and 
see if there is a suitable dog image.  And then copy it, and paste it 
into the project.

I really miss being able to do that, but that's a sacrifice to go 
cross platform.  I don't look forward to taking 1000 images (in a 
project I've already begun where the images are/were finished), 
porting them to Photoshop, and then saving them each as a gif/jpg. 
That project is DEFINITELY getting ported to Metacard, as I expect it 
to be my biggest seller so I want in on as many platforms as possible 
:-)
-- 
--Shareware Games for the Mac--
http://www.gypsyware.com



More information about the metacard mailing list