Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: invalid image  (Read 3020 times)

0 Members and 1 Guest are viewing this topic.

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
invalid image
« on: January 28, 2007, 01:03:48 AM »

I'm just going through the scene tutorial and I thought I would change the scene background with a different one, but every time I try, it says invalid image.  I can paint the one that's there and re-save it, but if I make a new image, it won't load.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: invalid image
« Reply #1 on: January 28, 2007, 09:38:35 AM »

What kind of image is that?
If WME uses the "invalid image" placeholder picture, it means it was unable to load the image for some reason. You should be able to find the reason in wme.log file (generated in your project directory) or in the debugging console (if it's enabled).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
Re: invalid image
« Reply #2 on: January 28, 2007, 02:08:52 PM »

If I make a different background and I name it background.bmp and import it, it will work.  If it's a jpg and I name it background.jpg, it won't won't work.  It imports the jpg file and puts it in the directory and it shows when I click on it, but not when I click on the room icon or when I start the game.
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: invalid image
« Reply #3 on: January 28, 2007, 02:40:07 PM »

"Import Image" command only copies the image to the folder. You then have to open the scene in SceneEdit (double click on the .scene file) and set the background there.
Logged
fl*p

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
Re: invalid image
« Reply #4 on: January 28, 2007, 02:50:03 PM »

O.K.  yeah.  Thanks.
Logged
 

Page created in 0.039 seconds with 23 queries.