Respond to this messageReturn to Index
Original Message
  • The number of frames doesn't matter with that code...
    • (Login qb432l)
      Graphics-Forum
      Posted Nov 4, 2010 9:05 PM

      You'll notice the line:

      FOR i = 0 TO AgmenARRAY(57) - 1

      The 57th element in the array holds the number of frames in the sequence (1-16) so if you increase the number of frames in Animax!, the code will still work.

      One of the reasons the PLAY statement works in the loop is that it's so short. If it were longer you'd hear the music screwing up. One way around it would be to use PLAY "MF..." (music foreground) as opposed to "MB..." (music background), which means nothing else can happen until the music finishes playing. The problem there is that your loop would stop until the music had finished.

      Anyway, as long as it works.

      -Bob [linked image]
    Your Name
    Message Title
    Message Text
    Image Services Photobucket.com
    Options
    Enable formatted text (what's this?)