#98307 - Erith - Mon Aug 14, 2006 4:12 pm
Hi Guys!
I'm trying to develop someting on my DS using PAlib.
I will post every problem and question in this topic, hoping you guys can help me!
Trouble:
1) I'm having some problems with graphic conversion with PAGfx, I create my sprites in CorelDraw r 13 and save in bmp, jpg, or png but when i try to convert it the application Closes suddenly. If you need I can Post the bitmap i'm trying to convert(Sprite conversion).
2) I tested stylus funcionality, by dragging arround a Sprite, but on my DS (supercard) or on any emulator I have allways the same problem.
If the sprite is dragged on the right or left bottom corner, it stiks there and i cant move it anymore..
Here The code I used:
Question:
-- Do I have Any Chance to get a sprite bigger than 64x64? (like in Bleach DS, where the sprites are very big) Thanks Guys For everything!
I'm trying to develop someting on my DS using PAlib.
I will post every problem and question in this topic, hoping you guys can help me!
Trouble:
1) I'm having some problems with graphic conversion with PAGfx, I create my sprites in CorelDraw r 13 and save in bmp, jpg, or png but when i try to convert it the application Closes suddenly. If you need I can Post the bitmap i'm trying to convert(Sprite conversion).
2) I tested stylus funcionality, by dragging arround a Sprite, but on my DS (supercard) or on any emulator I have allways the same problem.
If the sprite is dragged on the right or left bottom corner, it stiks there and i cant move it anymore..
Here The code I used:
Code: |
// Includes
#include <PA9.h> // Include for PA_Lib #include "gfx/gioca.pal.c" #include "gfx/gioca.c" #include "gfx/titolo.pal.c" #include "gfx/titolo.c" // Function: main() int main(int argc, char ** argv) { PA_Init(); // Initializes PA_Lib PA_InitVBL(); // Initializes a standard VBL PA_LoadTiledBg(1, // screen 3, // background number (0-3) titolo); // Background name, used by PAGfx... PA_LoadSpritePal (0,0,(void*)gioca_Pal); PA_CreateSprite(0,0,(void*)gioca_Sprite,OBJ_SIZE_64X32, 1,0,96,100); // Infinite loop to keep the program running while (1) { if(PA_SpriteTouched(0) && Stylus.Held==1) { PA_SetSpriteXY(0,0,Stylus.X-32,Stylus.Y-16); } PA_WaitForVBL(); } return 0; } // End of main() |
Question:
-- Do I have Any Chance to get a sprite bigger than 64x64? (like in Bleach DS, where the sprites are very big) Thanks Guys For everything!