|
-
Dec 4th, 2001, 01:13 PM
#1
Thread Starter
Fanatic Member
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,
-
Dec 4th, 2001, 01:49 PM
#2
Fanatic Member
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.
-
Dec 4th, 2001, 02:21 PM
#3
Thread Starter
Fanatic Member
Clear as mud. I still have no idea how to do it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|