Click to See Complete Forum and Search --> : Bitmap Resource...
Arie
Feb 2nd, 2001, 03:07 PM
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.
kedaman
Feb 2nd, 2001, 05:33 PM
I recommend you keep them in separate files, that makes the whole thing easier and the game will run (unnoticable) faster
parksie
Feb 2nd, 2001, 06:16 PM
Kedaman, didn't you have your .PAK file thing a while ago?
kedaman
Feb 2nd, 2001, 06:18 PM
Yep, i still have my pak thing, and i still have my own kedapack project that got ready but never tested...
Sastraxi
Feb 2nd, 2001, 08:03 PM
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.
parksie
Feb 3rd, 2001, 05:28 AM
Kreed's engine is used in Gens as well for megadrive games.
Sastraxi
Feb 4th, 2001, 09:46 AM
(forgot how to program vb so is going back to play counterstrike)
Arie
Feb 4th, 2001, 02:22 PM
(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.
Arie
Feb 5th, 2001, 01:57 PM
I need the answer in urgent.
kedaman
Feb 5th, 2001, 02:06 PM
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.
Arie
Feb 5th, 2001, 02:42 PM
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.
kedaman
Feb 5th, 2001, 04:53 PM
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
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.