Author |
Message |
hamid14

|
Posted: Sun Oct 18, 2009 2:11 pm Post subject: Pictures beside put statements |
|
|
I wanna put a picture of a blue potion.BMP beside the output from put statement. I tried drawing the pic beside it, but it was hidden behind the put line. I'm using turing 4.1 version.
here is the code
var bluepic : int := Pic.FileNew ("bluepotion2.BMP")
put "This is a blue potion!"
Btw, i removed the draw pic from this, it didn't work. Thanks in advance. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
DtY

|
Posted: Sun Oct 18, 2009 2:13 pm Post subject: RE:Pictures beside put statements |
|
|
Put always draws a background, so it will clear whatever is behind it. It should work though if you put the text, and then draw the image afterwards |
|
|
|
|
 |
hamid14

|
Posted: Sun Oct 18, 2009 2:30 pm Post subject: Re: Pictures beside put statements |
|
|
OMG! Thank you very much! Solution was so simple, but I didn't get it. So ashamed... |
|
|
|
|
 |
Kharybdis

|
Posted: Sun Oct 18, 2009 6:34 pm Post subject: Re: Pictures beside put statements |
|
|
another solution would be to use the command Font.Draw.
It draws text without drawing a background. |
|
|
|
|
 |
ecookman

|
Posted: Sun Oct 18, 2009 8:47 pm Post subject: RE:Pictures beside put statements |
|
|
then you can use Font.New and customize your font. Look in the help for the description on how to use the function. |
|
|
|
|
 |
|