PNG files not displaying correctly

I was testing an older game and noticed that there are a select number of actors (png files) not displaying correctly when I hit the "Preview" button. It basically just displays a white box in place of the graphic itself.
However, If I hit the "Play" button within the scene, all the actors will display correctly.
Some of the things I have tired:
- I have re-imported and replaced all the problem graphics.
- Created a new actor (with no code within) and replaced the png graphics.
- Re-saved graphics in Photoshop as new PNG and replaced graphics.
The only thing that DOES work is: (hit the Play button or)
If I create a new Project from scratch and import graphics - everything looks fine.
This made me believe that this could be a code issue, however there are some graphics that will display correctly and others that do not. Completely random.
Any ideas?
However, If I hit the "Play" button within the scene, all the actors will display correctly.
Some of the things I have tired:
- I have re-imported and replaced all the problem graphics.
- Created a new actor (with no code within) and replaced the png graphics.
- Re-saved graphics in Photoshop as new PNG and replaced graphics.
The only thing that DOES work is: (hit the Play button or)
If I create a new Project from scratch and import graphics - everything looks fine.
This made me believe that this could be a code issue, however there are some graphics that will display correctly and others that do not. Completely random.
Any ideas?
Answers
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Maybe I am not grasping everything about "copy/pasting my project from scratch" but we are talking months worth of code. That does not seem fun.
(crossing fingers) >re-installing<
Re-installed GameSalad and the same problem exists.
I created a new project and dragged and dropped all of my "images" from my old to the new. I then drag and dropped some of the "Actors" that ARE working from the old to the new and they looked perfect. However, when I drag and drop one of the "defective" actors to a new project file the default icon image says "Image Missing"
So, this sounds like there is some kind of "bug" or "corruption" with the linking. I have tried re-importing all artwork my files (and re-assign them) like I said above and it still does not work. Are there any issues that you are aware of with storing files on Dropbox? Can this corrupt linking to PNG files.
Again, the PLAY button will show all my actors perfectly. The PREVIEW button does not.
Sorry for all the back and forth but I can not imagine starting from scratch again -- only to worry about this happening again in the future.
Cheers!
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Gave it a try and same problem.
I give up. Seeya!
Not sure if this will work in Preview mode, though. But you can give it a try.
I know that art
This happens to me occasionally, but I can quickly fix it by re-importing the image. Also, if you haven't tried this, do it... Go into the prototype of your actor and drag the .png file onto the thumbnail image in top left.
Let me know if this works,
Jack McGraw
My solution :
1-Right clock on your game project and "show content"
2-Go to the image folder and delete this picture.
3-Go on photoshop (or other software), open your original picture and save it again as web, PNG 24 or 8.
4-Open your project in the GS Creator and re-import the PNG file you just saved with photoshop...
Now all is good
Hope that helps.
Cheers!