Results 1 to 3 of 3

Thread: graphics and sound engine questions

  1. #1

    Thread Starter
    Fanatic Member mikeycorn's Avatar
    Join Date
    Jun 2000
    Location
    Aliso Viejo, CA, USA
    Posts
    526

    graphics and sound engine questions

    I found a cool sound and graphics engine at planet source code.

    http://www.planetsourcecode.com/xq/A...s/ShowCode.htm

    I looked at the code, but wasn't able to figure out how to use it for my own series of BMPs.

    The code is probably worth a look, but here's the part I'm fuzzy on:

    Code:
    'SinglePictureAnimation The picturebox where the animayion will be displayed, _
                            The number of frames in the bitmap, _
                            The picturebox containing the bitmap with all the images, _
                            The picturebox containing the mask strip, _
                            The number of times to loop the animation, _
                            The time in seconds between displaying each frame
      
    
    SinglePictureAnimation Sprite, 4, EatSprite, EatMask, 2, 0.5
    How do I make a picture box with more than one bitmap, and what the heck is the mask strip?


    thanks,
    ~ mikeycorn

    With over 45,000 Questions in the User Submitted Database, it's the Most Popular Quiz Creation Software on the Net:

    PEST - The Personal Exam Self-Tester

  2. #2
    Fanatic Member Matt_T_hat's Avatar
    Join Date
    Dec 2001
    Location
    '76 Male Body Evil-Errors: 666
    Posts
    774
    I've come accross comething similer in variouse tutorials.

    at a guess I would say that is what is going on (read on).

    The idea is to put the entire animation into one BMP file (in the same way you would plonk all the images for tiles together) it is important to ensure that each frame contains exactly the same number of pixles or....

    The stripmask would then be the corisponding mask to the string of frames in the BMP.

    If i've not made myself clear enough I'll try and post the location of an example.
    ?
    'What's this bit for anyway?
    For Jono

  3. #3

    Thread Starter
    Fanatic Member mikeycorn's Avatar
    Join Date
    Jun 2000
    Location
    Aliso Viejo, CA, USA
    Posts
    526
    Clear as mud. I still have no idea how to do it.
    ~ mikeycorn

    With over 45,000 Questions in the User Submitted Database, it's the Most Popular Quiz Creation Software on the Net:

    PEST - The Personal Exam Self-Tester

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width