Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Invalid Image  (Read 2404 times)

0 Members and 1 Guest are viewing this topic.

FhargaZ

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Invalid Image
« on: July 06, 2008, 08:33:27 PM »

I have a secondary actor, i created his Talk.sprite animation. I didn't realized the hot spot until i saved and tried the game. If i try to change the .sprites in the Talk.sprite animation in any way i get the Invalid Image square.
The pictures are in the folders, and in the SpriteEdit tool i can work with them, but when i save and exit the SpriteEdit i get the Invalid Image.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re: Invalid Image
« Reply #1 on: July 07, 2008, 07:35:19 AM »

The sprite file stores all filenames relative to your project folder. In your case they are probably stored wrong for some reason and the engine can't find the images.
To fix the issue you'll probably need to edit the .sprite file manually in some text editor and repair the paths. They should look like "actors\some_actor\...". Can you take a look into your file what paths are there? That would help to find the cause...
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

FhargaZ

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Re: Invalid Image
« Reply #2 on: July 07, 2008, 05:13:01 PM »

Thanks, that was it. The path was something like this:

"juego_adelanto\data\actors\pirata\dd\Talk\hablapirata1.png"

And i changed to your suggestion to this:

"actors\pirata\dd\Talk\hablapirata1.png"

And it worked  ;)

To bad i already change the other locations so when that character talked, in the screen it looked good  :D
But your answer was a big help to understand how to fix it.
Thanks.
Logged
 

Page created in 0.162 seconds with 23 queries.