LoadAnimImage problem
BlitzMax Forums/BlitzMax Beginners Area/LoadAnimImage problem
| ||
what am I doing wrong?I'm getting a null image.I know the file is there,I've even renamed it six times making sure the name was right.Graphics 800,600 Global image:timage Global frame Global x=0 image=LoadAnimImage( "crash.png",240,40,0,5) Repeat DrawImage(image,400,300,x) x:+1 If x=5 x=0 Until KeyDown(key_escape) |
| ||
can you post the image as well? |
| ||
how do you post pictures?Do I need to load them on a website somewhere? |
| ||
perturbatio, Thanks for pointing me in the right direction. the docs say"Function LoadAnimImage:TImage( url:Object,cell_width,cell_height,first_cell,cell_count,flags=-1 )" I athought cell_width meant the size of the whole picture,not just a single cell. thanks again. mudcat |