The above is not necessarily correct.
1st OP stated his image is a .bmp not a .jpg.
2nd OP never stated that the image was intended to be a sprite, but he also didn't state exactly how the image was going to be used (texture, sprite, etc...)
The way I see it,, with the information given,, the OP would either use "Load Image" or "Load Bitmap" commands.
being that your image is in the same directory as the .dba
load bitmap
sync on
sync rate 60
load bitmap "dibujo.bmp",0
DO
sync
LOOP
* Note: By defualt "bitmap 0" is the current bitmap, so if you use 0 as your bitmap number in the load bitmap command... nothing else needs to be done in order to display it. Alternatively you could make other bitmaps the current bitmap with the command
set current bitmap Bitmap Number.
** the name of the command can be deceiving. The command is not only for loading images of the type .bmp. See the help for more info.
load image
sync on
sync rate 60
load image "dibujo.bmp",1,1
paste image 1,0,0
DO
sync
LOOP
*Note: Images are not automatically displayed In order to see the image it must be pasted. You can also use the paste image command inside the main loop.
** There are times when I use a "get image" comman following the load image. It depends on how I am using the image. Look at the "get image" command to see the texture flags values and what they do.
Be sure to look at the parameters/flags for the
LOAD IMAGE &
PASTE IMAGE commands in the help file. They can be important depeneding on how the image is going to be utilized, and they will effect how the image looks.
Your signature has been erased by a mod please reduce it to 600 x 120.
