4.0 picture problems
witch wyzwurd
15 Feb 2007, 20:22I created a gif picture in black-backgrounded game-window. It showed with a vertical white line to the right of it that's as tall as the pic. Text above pic appeared good, but text wasn't placed below pic correctly; it appeared to the right of the bottom-right corner of the pic. I even tried |n a few times before text, but that had no effect. Why the line? Why the placement problem?
Alex
15 Feb 2007, 23:22Can you please email me the ASL file and the picture file, and I'll take a look into this.
witch wyzwurd
16 Feb 2007, 07:38I don't mean to be stubborn Alex, but showing people my game before it's released reduces my excitement level of creating it. Kind-a like walking through a desert and drinking water before your thirsty.
So if you're saying that this should not be, then it might be my coding, but here's an example of my full code (without specifics):
That's it! The picture displays in a picture-box in 3.53 just fine, but in 4.0 as an in-line picture it shows up as...
For my gif, I created it in JASC. It's about 250x250 pixels. The background is black. The picture is smaller than 250x250 pixels.
So if you're saying that this should not be, then it might be my coding, but here's an example of my full code (without specifics):
(background color is black/foreground color is white)
print "Below this text line is a picture."
show "picture.gif"
print "Above this text line is a picture." - or - print "|n|nAbove this text line is a picture."
That's it! The picture displays in a picture-box in 3.53 just fine, but in 4.0 as an in-line picture it shows up as...
Below this text line is a picture.
xxxxxxxxxxxx |
xxxxxxxxxxxx |
xxxxxxxxxxxx |
xxxxxxxxxxxx |
xxxxxxxxxxxx |
xxxxxxxxxxxx | Above this text line is a picture.
exxes = picture area
vertical lines = annoying white-line
For my gif, I created it in JASC. It's about 250x250 pixels. The background is black. The picture is smaller than 250x250 pixels.
Alex
16 Feb 2007, 11:24Thanks for this, I will take a look into this to see if I can reproduce the problem.
Alex
19 Feb 2007, 13:28I can't reproduce this problem in Win98SE.
I can only see a white line next to the picture if I select all the text. One "|n" is sufficient to get the subsequent text to display on a line underneath the picture.
Are you using a transparent GIF? If so the transparency information probably won't display correctly. Also, make sure the image is cropped correctly.
The only other thing I can think of is perhaps there is some problem with your graphics drivers? It would be worth checking that these are up to date.
I can only see a white line next to the picture if I select all the text. One "|n" is sufficient to get the subsequent text to display on a line underneath the picture.
Are you using a transparent GIF? If so the transparency information probably won't display correctly. Also, make sure the image is cropped correctly.
The only other thing I can think of is perhaps there is some problem with your graphics drivers? It would be worth checking that these are up to date.
witch wyzwurd
21 Feb 2007, 16:38You know Alex. Since I was using my ancient Compaq 1451DM laptop computer from the year 1492, it's probably my graphics driver. I don't see why the text display wouldn't work correctly though. Or maybe it's this "Select all text" thing you're talking about. What do you mean by "selecting all the text"? Do you mean if you cursor-over (like to copy text) in the game-window? Because, if you do, I don't think I had the game-window selected, and I'm sure, although I'll check, that my picture isn't a transparent image, because I don't select that when the image-wizard asks, and I started with a black background anyways.
I'd check on my desktop, but I've already told you that story :{
I'd check on my desktop, but I've already told you that story :{