Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Anybody useful with Macromedia Director here ?

Options
  • 05-01-2005 5:23pm
    #1
    Closed Accounts Posts: 15,116 ✭✭✭✭


    Since it is a photoshop forum there might be some multimedia students about....

    Making something for my little bro and of course for college. A jigsaw thing for the computer. Was wondering if you of you knew how to add a value to something well ill explain what im trying to do

    Theres 22 peices on the jigsaw when the screen loads up but i have only 5 visible the rest are hidden. I want to after he puts the first 5 peices in a sound will play and another 5 will become visible. Is there a script for that ?


Comments

  • Registered Users Posts: 5,538 ✭✭✭PiE


    Hey fellow MMHND'er.

    Probably have this done by now but in case you haven't it'd probably look something like this:

    Set up each set of jigsaw pieces on a different row of frames. Tag each one with a marker, eg. "jigsaw_01", "jigsaw_02" etc. That way you can skip to each one using a simple [ go to "jigsaw_xx" ] command. Make an image on each marker with the pieces already in place. So for jigsaw_01.png there'd be no pieces, jigsaw_02.png would have the first five, jigsaw_03.png the first ten etc etc.
    if sprite(x).locV=(xx) then
      if sprite(x).locH=(xx) then
          sprite(x).moveableSprite = FALSE
              puppetsound "sound" then
                go to "nextjigsaw"
      end if
    end if
    

    The hard part is telling the movie when to go to the next jigsaw, because if you put that "go to nextjigsaw" on every piece of the jigsaw, it'll go as soon as you place one piece down. Simplest way around that would be to put it on one piece and make sure that piece is at the very bottom of the stack so you can't get to it until the rest have been moved into place. Hard way would be um.. a lot f*cking harder.

    I can upload my jigsaw from last year if you wanna look at its code, drop me a PM.


  • Closed Accounts Posts: 15,116 ✭✭✭✭RasTa


    Ah cheers dude, yea its finished now. We where looking at your games today... f*ck me is all i can say... I think John is actually in love with Director


Advertisement