need some help with this engine
Okay, I have just been doing a little work in 13h lately, and I am having trouble with a little engine I am working on. It is a simple class I am making to load into my program some picture files that I have made up (they are my own format, not BMPs or JPGs or anything like that, just a very simple format i made up), and I am having some trouble with some of the functions.
It loads them perfectly. But I also have some functions in the class that take input from the keyboard (the arrow keys), and move the bitmap arround the screen according to what the user input is, and I am having some trouble with that. At first it kind of worked, but then I tried to implement a better way to do it and now it does not work at all. It compiles and loads the bitmap fine, but it wont move correctly, it just disappears.
I am going to try this new attach file option on this board and attach my source code.
Meanwhile, here is the text contained in the data file. Copy and paste this into a file called "default.pic" I have given the extension .pic to my homemade bitmaps:
0 0 0 31 31 0 0 0
0 0 31 31 31 31 0 0
0 31 31 31 31 31 31 0
31 31 0 31 31 0 31 31
31 0 0 31 31 0 0 31
0 0 0 31 31 0 0 0
0 0 0 31 31 0 0 0
0 0 0 31 31 0 0 0