|
-
Feb 2nd, 2001, 04:07 PM
#1
Thread Starter
Fanatic Member
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.
-
Feb 2nd, 2001, 06:33 PM
#2
transcendental analytic
I recommend you keep them in separate files, that makes the whole thing easier and the game will run (unnoticable) faster
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 2nd, 2001, 07:16 PM
#3
Monday Morning Lunatic
Kedaman, didn't you have your .PAK file thing a while ago?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 2nd, 2001, 07:18 PM
#4
transcendental analytic
Yep, i still have my pak thing, and i still have my own kedapack project that got ready but never tested...
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 2nd, 2001, 09:03 PM
#5
Good Ol' Platypus
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.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 3rd, 2001, 06:28 AM
#6
Monday Morning Lunatic
Kreed's engine is used in Gens as well for megadrive games.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 4th, 2001, 10:46 AM
#7
Good Ol' Platypus
(forgot how to program vb so is going back to play counterstrike)
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 4th, 2001, 03:22 PM
#8
Thread Starter
Fanatic Member
(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.
-
Feb 5th, 2001, 02:57 PM
#9
Thread Starter
Fanatic Member
Answer already...
I need the answer in urgent.
-
Feb 5th, 2001, 03:06 PM
#10
transcendental analytic
Sorry i didn't notice 
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.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 5th, 2001, 03:42 PM
#11
Thread Starter
Fanatic Member
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.
-
Feb 5th, 2001, 05:53 PM
#12
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|