April 19, 2024, 06:14:26 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Forum rules
-
please read before posting, it can save you a lot of time.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Invalid Image
« previous
next »
Pages: [
1
]
Print
Author
Topic: Invalid Image (Read 4073 times)
0 Members and 1 Guest are viewing this topic.
FhargaZ
Lurker
Karma: 0
Offline
Posts: 2
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
Gender:
Posts: 5683
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.
FhargaZ
Lurker
Karma: 0
Offline
Posts: 2
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
But your answer was a big help to understand how to fix it.
Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Invalid Image