[RESOLVED] .bmp over .jpg
Hi All,
Just a quick one,
Im doing a game that uses lots of picture boxes that load from the game dir would i be better converting them to jpg's as there lots smaller or does it make no differance?
As i dont know how to load all needed pics into the form so it dont have to load them all the time im using VB6
Thanks
Re: [RESOLVED] .bmp over .jpg
it's not easier to learn if you already KNOW basic. And of course there's the whole giant-runtime net framework issue and every version requires a different version of the framework.
On topic: why don't you use the imagelist control to store your images in? It is, after all, what the control was designed for. You can preload as many images as you want into the control, and the only limitation is they need to all be the same size. this prevents you from cluttering up your form with unneeded picture boxes to store the images in.
A more advanced option is creating a buffer at run-time and loading the images into it to paint from.
Re: [RESOLVED] .bmp over .jpg
Quote:
Originally Posted by Lord Orwell
A more advanced option is creating a buffer at run-time and loading the images into it to paint from.
That's the best option, though you would want to read this first. If you get the hang of bitblt you'll move forward in leaps and bounds from what you can do with pictureboxes. And it's not hard to get the hang of. Not hard at all :)
metal