Ok, rather than having 5 different images, i really think that i shoud just have one big one. I still can't find how to work your code. I tried this:Zitat:
Zitat von SG57
After using that, i got an error:Code:for (int x=0; x<4.75;x++) {
blitAlphaImageToScreen(0, 0, 480, 222, Background, x*512, 0);
}
Also, i found out that loading an image bigger than 512 x 512 is ok unless you try to blit an image bigger than that. However, when i take part of the image with this code, my psp freezes:Code:error: 'for' loop initial declaration used outside C99 mode
There, i am only blitting part of an image bigger than 512 x 512, so why is it freezing? Also, since this isn't working, and i can't figure out how to cut image (even using your code), how would i cut an image using code?Code:blitAlphaImageToScreen(0, 0, 480, 222, Background, 0, 0);
