"Image Missing" error constantly appearing on Player actor

MonjiOMonjiO Member Posts: 20
edited November -1 in Working with GS (Mac)
So, I'm making a shooter game, with an actor that can move up, down, left, and right with specific animations for each. Some of these loop back to the player image, but every time it's supposed to display that image it gives me an "Image missing" error with the purple checkermark background. I've tried deleting the actor and adding the actor back in (worked once, did not work when I reloaded the scene to play through it), changing the actor image from the actor editor and the scene editor, and nothing has worked. This is a pretty hefty roadblock for my artists and I'd like to get it resolved soon. I appreciate any and all help!

Comments

  • ktfrightktfright Member Posts: 964
    i guess try to add the image back in to the actor, that worked for me when i had that problem.
  • CobraCobra Member Posts: 160
    Try renaming a copy of the image and adding everything back in from there. (Delete the old image, import the new renamed image, drag the new image onto your actor and update any relevant animation behaviors.)
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    If you are confused about what that missing image is called, in the Actor Editor for that actor missing an image, check the attributes for Image. Or also check any Change Image or Animate behaviors. You may have lingering references to the missing images.

    See my Tip #6 in the forums. http://gamesalad.com/forums/topic.php?id=542
  • MonjiOMonjiO Member Posts: 20
    I've checked the values for the image, and it's referring to the correct filename in the correct location. It never seems to have a problem whenever it's animating behaviors, they all work smoothly, but whenever the animations return the actor to the base image it always comes up with a missing image error.

    @Cobra I've tried this with different images, including frames of animation that play correctly when the inputs are given, and I get the same error. You're saying I should try deleting all my relevant assets from the image library and reloading them after I rename the ideal base actor image, correct?
  • xactoxacto Member Posts: 146
    Here is how I fixed the problem on my end:

    I clicked on my gamesalad project and right-mouse-click and selected "Show package Contents" and opened my "Images" folder. I then deleted all my problem images and then copied them back again to the "Image" folder.

    It was actually a lot faster then loading in them one at a time within GS. (I had about 6 bad links)

    Hope this helps,
    Xacto

    -------------------------------------------------
    http://gamesalad.com/game/play/8901
  • MonjiOMonjiO Member Posts: 20
    Okay, I've tried deleting all the images from the Image library, then adding them back in. Another minor problem has been solved, but the missing image error still shows up whenever it needs to display the actor's base image. I've also tried renaming an old file used as the base image a couple of versions ago and importing it back, same problem. This is getting pretty frustrating and I'm not really sure what to try next at this point.

    My next question, then, is how are images linked in a project file? Like, is the image library in a given project pointing to images stored elsewhere on the HDD or are copies of the images I import into GS put somewhere? Basically I'm trying to figure out where this link could be going bad.
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Now that I've gotten some sleep, I have a thought.
    Did you start from a template? If so, did you check your rules in the 'Otherwise' part to see if there is a 'Change Image' behavior you have not removed yet, but the reference to the image is still there?
  • MonjiOMonjiO Member Posts: 20
    YES!

    Thanks, Code Monkey! I can't believe I didn't check those, but they did have some Change Image tags referring to art assets that I'd removed from the library some time ago.
Sign In or Register to comment.