0 Members and 1 Guest are viewing this topic.
Hmm, seems that you all have troubles understanding.So what do the hex numbers in the GDB mean?Those numbers represent the position of the sprite in pic1 +1So, if you have 3 sprites, one being +,another an X, and the other an O and they're all stored in a row in pic1, you could get this tilemap: (.. means a blank "tile")OXXO+....+X....XO++OThis would be represented by this map data:[03020203]->GDB1[01000001][02000002][03010103]I hope this is more clear. My point that was not 100% clear to you:You can store more than one sprite to a pic since a pic is NO MORE than a pointer (which is again just a number)So have fun storing 15 sprites in a row and play around with it a bit.
How would I do something simple like shifting the tilemapper 1 pixel to the left or something?
(big tilemap here)->GDB1now display the tilemap from [scrolled X] to [scrolled X]+(96/tile size).Same for Y.