[directmusic] Re: Seeking salvation

  • From: "Scott Morgan" <scott@xxxxxxxxxxxxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Tue, 19 Nov 2002 05:28:35 -0600

The farm game is not the best tuturial, the demo8 demo project is.  It
available for download and is on the SDK CD too.  Follow the bookmarks in
the project.  The bookmarks really make it come together.  The only thing is
it doesn't go over scripting much since the bulk of it was written before
that was added to DMusic.  I believe Scott Selfon has a bunch of articles on
it.  If you browse the old posts  I'm sure you can find some links he
posted.

There is only one thing that needs to change to make the FarmGame demo a
proper Audioscripts sample.

Replace:

sub dmAllStop
     Select Case PlayFlag
          Case 1
               BGNight.stop
          Case 2
               BGPredawn.stop
          Case 3
               BGDawn.stop
     End Select
end sub


With:

sub dmAllStop
               BGNight.stop
               BGPredawn.stop
               BGDawn.stop
end sub

You could also use if statements but there's no harm in stopping something
that's not playing.

Here's a post I made earlier about the Demo8 project:

To get it go here:
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/topic.asp?url
=/msdn-files/028/000/114/topic.xml

and download the demo.

It's also on the DX CD.  Run this file to install it:
E:\DXF\DXSDK\essentls\DMusProd\DemoContent\DMPDemoContent.exe  (that's where
it is on the 8.1 CD)

You could download my projects off my website, but they are a little complex
for a beginner :)

-Scott Morgan
http://Morganstudios.com


----- Original Message -----
From: "Paul Stroud" <paul@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: <directmusic@xxxxxxxxxxxxx>
Sent: Tuesday, November 19, 2002 7:18 AM
Subject: [directmusic] Seeking salvation


>
> Hi All,
>
> Gradually getting my head around DMP, but I need to understand it all
before
> I can get anything finished.  It all seems a bit mysterious, like
> deciphering hieroglyphics
>
> I started one project and it seems to be going well, but I can't help
> thinking that there is an easier way of doing things - I'm sure I'm
creating
> work-arounds with the little knowledge I have.
>
> Looking at the FarmApp project hasn't helped that much as it is written in
> VB, not AudioVB...       ....SO, CAN ANYONE POST PROJECTS ON A WEBSITE (OR
> E-MAIL DIRECTLY TO ME) FOR EDUCATION PURPOSES???
>
> I struggle with the help file (again, a bit cryptic) - any other help
> sources out there?  Read a couple of things from MSDN and they were
helpful
> but I just need more.  The help file seems to assume the reader of a
certain
> knowledge, but what? VB?  All of VB? Or is spelling and grammar enough?
>
> HELP ME PLEASE !!!!!!!
>
> Cheers all
>
> Paul
>


Other related posts: