Additional background frame import problem

Started by ThreeOhFour, Mon 23/06/2008 04:53:35

Previous topic - Next topic

ThreeOhFour

Greetings all,

I hope I've not missed something simple in the manual - although I have checked I could not see the solution to this problem.

I wish to change the background at some point in my game, and so I have added a second background frame in with the intention of using SetBackgroundFrame(); to do this.

However, the background I've imported is distorted whenever I import it. I've tried importing it multiple times, in multiple slots, checked the colour depth (32 bit) but whenever I import the background, save the game and then go back to check the background it appears like this:

Image link removed because I am a secret squirrel  >:( ;D

Not only are the colours completely different, it also appears to be double width. I am beginning to get a little frustrated with this, and would be most appreciative of any help :).

If there is some restriction on secondary backgrounds that is causing this, a workaround would also be very nice :)

Thanks!

EDIT: Oh yes, and I am using AGS 3.00

Gilbert

Hmmm, what programme did you save it with?

From your description I suppose that the background could be imported without problem if it's the first (base) background, right?

Try to re-save it with another programme (e.g. image viewing/converting software such as IrfanView will do) and see whether the re-saved image can be imported without problems. Alternately you may upload the original image file for us to check, but I understand that you may not want to do that so to reveal the image for the time being so I made the above suggestion (you may also muck up some random image instead that won't work with the editor for us to check).

My guess is that some programmes saved the files in a format that the editor may not handle correctly (or it's indeed an Editor bug).

Also, since the most recent version is V3.0.2, there're probably some bugs fixed already sicne V3.0.0, you may try upgrading to V3.0.1 also (well yes, V3.0.2 was just officially released, but there are some loose ends in it so I don't recommend it ATM). Or if you don't want to upgrade, just make a room using V2.72, import the backgrounds, and then open the room in V3.0.0 as a workaround.

ThreeOhFour

I've just tried importing the room after creating it in v 2.72 and it seems to work fine so far with just the basic animation function. I haven't tried using the SetBackgroundFrame yet but I'm sure it'll work fine :D

Thanks very much for the tip - I was getting worried for a moment there. For reference, the image was created and saved in MSPaint - and as a .png.

I'll pull down the image that I linked to now (unless someone wants it as a reference) so that I don't spoil the OROW surprise ;).

Once again, BIG thanks, Gilbot!!!

SMF spam blocked by CleanTalk