#155609 - J1M - Thu May 01, 2008 6:57 pm
Hi, I am making a Dr. Mario clone to learn about programming on the DS. I have looked at a few tutorials, and I can load in a background, a sprite, and move it around.
I can't seem to find a tutorial on how to do the following, however:
I have a 32x32 sprite with 16 8x8 images on it. I want to use load in this larger sprite and reference different parts of it for each virus or pill capsule. I can load the whole 32x32 image but when I set it to just show 8x8 I can't figure out how to show anything other than the top left 8x8 pixels.
If needed I can upload a .png of my sprite, but this seems to be something really basic like SpriteObject->IndexNum = 3; or something
I can't seem to find a tutorial on how to do the following, however:
I have a 32x32 sprite with 16 8x8 images on it. I want to use load in this larger sprite and reference different parts of it for each virus or pill capsule. I can load the whole 32x32 image but when I set it to just show 8x8 I can't figure out how to show anything other than the top left 8x8 pixels.
If needed I can upload a .png of my sprite, but this seems to be something really basic like SpriteObject->IndexNum = 3; or something