
por que es problema de las palib
el source es este
- Código: Seleccionar todo
#include <PA9.h>
#include "gfx/all_gfx.h"
#include "gfx/all_gfx.c"
#define suelo (160)
s8 face = 0;
s8 accion = 0;
s32 x = 5;
s32 y =160;
int main(int argc, char ** argv)
{
PA_Init();
PA_InitVBL();
PA_LoadSpritePal(0,0,(void*)cuadrado_Pal);
while (1)
{
PA_CreateSprite(0, 0,(void*)cuadrado_Sprite,OBJ_SIZE_8X8,1,0,x,y);
if (!Pad.Held.B){x+=Pad.Held.Right-Pad.Held.Left;}
if (Pad.Held.B){x+=(Pad.Held.Right-Pad.Held.Left)*2;}
PA_SetSpriteXY(0,0,x,y);
PA_WaitForVBL();
}
return 0;}
y otra cosas como puedo hacer un salto?


.
