If you have experience with the BOB game engine, Please Help
I thought I was finally going to get the hang of the BOB game engine and was going to make a cheap little asteroids game, but when I ran my program the bob picture was all messed up. It didn't even resemble the original picture. The colors were all messed up also. I stripped my game down to displaying one BOB that was single frame. The picture was still messed up. I am very sure I used an 8 bit bitmap so that is probably not the problem.
Thanks a bunch
C++ Freak
Edited by - C++ Freak on 1/3/00 8:01:46 PM
Visit http://members.xoom.com/ivanickgames
January 03, 2000 08:56 PM
Hey! I had the SAME problem, after emailing the author, and getting NOWHERE FAST. I rememberd something in the middle of the book that said that all the sprites had to be multiples of 8 or something. My 16x16/32x32/64x64 sprites work well, and you can do even bigger, just as long as its a multiple of 8.
Hope this helps!
Hope this helps!
Thanks A Bunch!
C++ Freak
Edited by - C++ Freak on 1/3/00 9:55:29 PM
C++ Freak
Edited by - C++ Freak on 1/3/00 9:55:29 PM
Visit http://members.xoom.com/ivanickgames
I can display a good looking picture now, but the colors are still mixed up. Know how to fix that?
Visit http://members.xoom.com/ivanickgames
January 04, 2000 06:47 PM
Thats easy all you need to do is fix the pallette.
Heres an example:
Load_Bitmap_File(&bitmap8bit,"Rocks8.bmp");
Set_Palette(bitmap8bit.palette);
Heres an example:
Load_Bitmap_File(&bitmap8bit,"Rocks8.bmp");
Set_Palette(bitmap8bit.palette);
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement