1. Too many ways to do the same thing!
- Posted by RedDan11 at AOL.COM
Mar 05, 2001
I just recently started to program in Windows. The definitions for the
code are kind of confusing and there are a lot of different code for bitmaps.
Which would be the best for game programming? For example what two pieces
of code would equal DOS's:
read_bitmap()
and display_image
or maybe there is a better way of doing it in windows for game programming.
I would be using the code to move a character around a background. Both the
character and the background would be bitmaps made in paint.
thanks :),
Dan
2. Re: Too many ways to do the same thing!
Hello Dan,
> I just recently started to program in Windows. The definitions for
>the
>code are kind of confusing and there are a lot of different code for
>bitmaps.
> Which would be the best for game programming? For example what two
>pieces
>of code would equal DOS's:
>read_bitmap()
>and display_image
That would be setPixmap and copyBlt() but they're not exactly the
same as their dos counterparts. You'll need to read up on them in
the docs.
>or maybe there is a better way of doing it in windows for game programming.
There ARE other ways to do it in windows but the routines I
mentioned are what I considder the "better way"
later,
Lewis Townsend