-
Hi, Guys.
I have a little question.
I have 40 ICO pictures, 20 Masks and 20 Sprites.
I want to put them in one BMP file.
I copy everyone of them, make a big BMP file, but
when I want to BitBlt from there the pixels are a
little wrong. for example:
I have a BMP file with One mask (0,0) and one
sprite (0,48) every picture is 48x48.
when I do BitBlt for the sprite I need to write
BitBlt pic1.hdc,0,0,48,48,pic2.hdc,0,49,vbsrcand
beside writeing
BitBlt pic1.hdc,0,0,48,48,pic2.hdc,0,48,vbsrcand
Or something like that...
I don't know, maybe you have another way to
put all 40 pictures in one file?
Any idea?
Tell me about your resources of masks and sprites.
Thank you,
Arie.
-
I recommend you keep them in separate files, that makes the whole thing easier and the game will run (unnoticable) faster
-
Kedaman, didn't you have your .PAK file thing a while ago?
-
Yep, i still have my pak thing, and i still have my own kedapack project that got ready but never tested...
-
Well.. um.. thats, um.. kinda my fault. Sorry.
But I'm back to VB programming (took a short break to play Counterstrike) and am right now doing a routine to enlarge images smoothly (eg. Kreed's SuperEagle engine in Snes9x/Zsnes)
It's called... wait for it, it's dumb:
SastraxiSmooth!
So, for what it's worth, I'm back to repay my debt to the VB universe.
-
Kreed's engine is used in Gens as well for megadrive games.
-
(forgot how to program vb so is going back to play counterstrike)
-
(None of you didn't really answer)
My pictures are ICO files, and If someone who wants
to change a detail in one of the pictures it's shown
in the program.
I need one file that contains the files and can
be opened for the BitBlting.
Moreover, my pictures are ICO, worse.
because of that reason I need a resource file.
Thank you,
Arie.
-
Answer already...
I need the answer in urgent.
-
Sorry i didn't notice :o
If you want you could betatest my file package format. It's uncompressed and have an internal directory/file structure, and has a function that creates a bitmap without extracting the file first.
-
I'm on it, Kedaman.
Write the link or send it to me.
And explain a little bit,
or you say that it's easy to understand?
Thank you,
Arie.
-
Ok, i noticed it was in a real bad state so a alphatested it for a while, for the bitmaps, you can load any format except 4 bit (16 colors), they seems to scew up.
The test project that comes with the package shows how to use it, you can do most stuff with it but it's not too userfriendly
I'll upload the project on my homepage soon