Just on the first steps of my first program and hit a stumbling block
I am trying to load some BMP graphics at the start of the program and have the code as follows
followed by the rest of my code, now if I compile and run the screen flashes up loading and bombs straight out, if I comment out LOADSPRITE "16.bmp",2 the code compiles and runs fine
Is there a specific size required for the sprites? does it need to be a multiple of say 2 4 or 8 and I got lucky with the first one?
I can post the BMPs if required
Thanks
Gary
I am trying to load some BMP graphics at the start of the program and have the code as follows
Code (glbasic) Select
SETTRANSPARENCY RGB(54,255,0)
LOADSPRITE "background.bmp",0
LOADSPRITE "15.bmp",1
LOADSPRITE "16.bmp",2
followed by the rest of my code, now if I compile and run the screen flashes up loading and bombs straight out, if I comment out LOADSPRITE "16.bmp",2 the code compiles and runs fine
Is there a specific size required for the sprites? does it need to be a multiple of say 2 4 or 8 and I got lucky with the first one?
I can post the BMPs if required
Thanks
Gary