|
-
May 17th, 2001, 05:11 AM
#1
Thread Starter
Addicted Member
Puzzle Game Q :
I Have Write a Puzzle Game in this way :
Load Photo To My Image
afer thet i have 16 pices (images) i use PictureClip and clip
the image to 16 pices .
The Quastion Is Who Can I Do The Same Game But ...
To Make The Pices Non Square Style i meen I want My Pices
looks Like Real Pices of Real Puzzle !
How Coud i do THAT
THANKS
-
May 27th, 2001, 10:00 PM
#2
Fanatic Member
i don't know for sure, but i think you can use the maskblt api
somehow you could create a mask in the shape of the puzzle pieces and then voila or something.
im not new to vb, but im new to the graphics stuff
-
May 28th, 2001, 08:57 AM
#3
Frenzied Member
There's a much easier way: you could just make a lot of GIFs already cut in pieces (they're not much heavier than JPGs if you use the right software), and put them in Image controls. They'll already appear transparent.
Of course, there's also 2 hard ways: by using BitBlt, or shaped pictureboxes.
-
May 28th, 2001, 10:00 AM
#4
Fanatic Member
yeah but what if he wants the user to be able to load a file that isn't already have made into puzzle pieces?
-
May 29th, 2001, 12:54 PM
#5
Frenzied Member
In that case, you should load the different parts of the puzzle using BitBlt... Here at VB-World.net you'll find a good example on BitBlt (Lander game) that also includes transparency trough masks.
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
|