The number of frames doesn't matter with that code...

by (Login qb432l)
Graphics-Forum

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]

Posted on Nov 4, 2010, 9:05 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
SmileyFace,music,etc... on Nov 5
 My websiteGarry on Nov 5
  *Love the bricks! ...but SmileyFace.ZIP is empty (???) on Nov 5
   Empty,oops! on Nov 5
    SmileyFace on Nov 5
     Download worked this time... on Nov 5
      Thats good, on Nov 5
       Can you Help? on Nov 16
        Hi Ken... on Nov 16
         It IS an EXE file. It is USELESS to see the code on Nov 16
         Thanks BOB! on Nov 16
          This might help... on Nov 16