#include int os_main(int argc, char **argv, char **envp ) { llgfx_SetDisplayMode(320,240,16,0,0); llgfx_id brik = llgfx_LoadGfx("brik.png"); llgfx_SetColorKey(brik, WHITE ); // or 0xFFFFFF ;) //its a animfile llgfx_SetFrameCount(brik,LLGFX_FRAME_HEIGHT,200); int cnt_frames = llgfx_GetFrameCount(brik); int cur_frame = 0; float scalefaktor = 0.2f; while( osmain_endgame == false ) { llgfx_sBLITFX blitfx; blitfx.scale_x = scalefaktor; blitfx.scale_y = scalefaktor; scalefaktor += 0.05f; llgfx_BLIT(0,brik,0,0,(s_rect*)cur_frame,BLIT_DST_CENTERED|BLIT_STRETCH,&blitfx); cur_frame++; llgfx_FlipScreen(true); llirq_Sleep(50); if( cur_frame == cnt_frames ) osmain_endgame = true; } llirq_Sleep(2000); return 0; }