1 Attachment(s)
How you can do this kind of graphic with VB6?
Dear Friends,
I really appreciate if you can help me in this matter.
I want to have an empty form and 50 pictures.
Each time when the form started or by pressing a button in the form I want 5 random pictures appear into the form with some kind of animation.
I attached a sample of one game which is pretty close to what I want to do.
Thank you in advance.
sample link:
http://rapidshare.com/files/138273030/sample.WMV
Re: How you can do this kind of graphic with VB6?
So anybody,any answer?
Please at least give me a lead!
Re: How you can do this kind of graphic with VB6?
You might search around this forum for the term: Sprite.
Here is a head start in that regard:
http://www.vbforums.com/showthread.p...90#post3288490
Re: How you can do this kind of graphic with VB6?
Quote:
Originally Posted by Quiver318
Thanks Quiver318.
I checked it but unfortunatley I couldn't get it to work.I'll try to find out more about the "Sprite" you mentioned.
Thank you anyway.
Re: How you can do this kind of graphic with VB6?
Sorry that the control did not work for you.
Sprites are small graphics that can be moved around the screen, independently. With Sprites, you can create animated effects, detect collisions (of two or more sprites), and is more or less how all 2D games are made. I guess you could so look into Raster (block graphics) and Vector Graphics (line art), too. Anyway, if you want things to fly around on the screen with user interaction, then I think Sprite code is the way to go.
Good luck!
Re: How you can do this kind of graphic with VB6?
i'm trying finish 1 graphic effect...
then i will put the new Sprite version...
with new Sprite version you can do what you want(at least i think)....
Re: How you can do this kind of graphic with VB6?
Thank you very much Quiver318, at least you show me some leads and now with joaquim help I might be able to do the things I want .
So thank you both for your support.
I cannot wait to see how the new Sprites gonna be.
Re: How you can do this kind of graphic with VB6?
i'm sorry, but i need more time to finish a little things...
my last graphic effect(intire image transparent) is crazy me....
ok for you start, i can give you some advices:
-use pictureboxes/usercontrol for your poject;
-use the bitblt() api function for move the images;
-use the StretchBlt() api function for stretch the image;
-use the AlphaBlend() api function for put the intire image transparent;
-use the Trasnparentblt() api function for put the backcolor transparent.
i think is what you need for start...
i hope help you.