Discoloration with animations

hulkspidy51hulkspidy51 Member Posts: 21
edited November -1 in Working with GS (Mac)
I've been working on a simple animal card matching game for a bit and everything works fine whenever I play the game in-editor. Whenever you choose the correct card, the card attribute dissolves and is replaced by an animal animation consisting of .png image files. Whenever I publish to the internet, the animations look faded. I had this problem a while ago with a button I made, but it was because the file WASNT a .png. I made the button a .png file and it was all peachy. Now the problem is the files are .pngs? I need the file to be .png because I have all the animations with no background, but it seems to be the animation doesn't look right after publishing. Again in-editor play it looks fine, it's only when I publish that it looks discolored. Can anyone help?

Here's an example of the discoloration when I publish the game:
http://gamesalad.com/forums/topic.php?id=29263

Comments

  • svnsvn Member Posts: 445
    Check the actor that your picture is linked to. Is the color in that actor WHITE? If not, that is probably what is causing the discoloration.
  • hulkspidy51hulkspidy51 Member Posts: 21
    Thanks, I'll try that out and see if that works. : )
  • hulkspidy51hulkspidy51 Member Posts: 21
    Ok so I have three cards for the player to choose from

    http://farm7.static.flickr.com/6054/6326629678_f69eb57d25.jpg

    If you click on the correct card then the actor's alpha fades to 0%, then within that card actor an animal animation is spawned. The animation is a separate actor by itself that is spawned within the correct card actor, if that makes sense to anyone. And after I publish the animations look like this

    http://farm7.static.flickr.com/6044/6326629726_ab68341df3.jpg

    I was trying to understand what you were asking svn, but if I mess with any of the color properties from white, the color of the cards darken to black. Am I doing it wrong or could you explain if I am?
  • hulkspidy51hulkspidy51 Member Posts: 21
    Ok, so I don't know if this is the reason or not, but I'm assuming it is. So I use Chrome as my browser. Every time that I have play tested after publishing I've used Chrome and I get that discoloration. Well I have kind of gotten fed up with trying to figure this out and decided to test it using Safari. I used Safari and the colors look completely fine. I haven't changed anything in the game so it's not like I fixed anything, but since it shows up fine in Safari, is it safe to say that it will have no discoloration on the iphone? I'm making it for the iphone, but can't figure out how to play test on the iphone, so for now I'm using the gamesalad arcade. Does anyone know why it shows up weird in Chrome and is perfectly fine in Safari? Does it have to do with the way that gamesalad is designed ( games made for apple products?)
  • svnsvn Member Posts: 445
    Maybe
    hulkspidy51 said:

    I was trying to understand what you were asking svn, but if I mess with any of the color properties from white, the color of the cards darken to black. Am I doing it wrong or could you explain if I am?

    You didn't understand? All right, here's what to do:
    1. Go into your card actor.
    2. On the left side of the Actor Editor, there is a list of attributes. Click on Color.
    3. There should be a rectangle next to the Color attribute. That rectangle displays what the actor is colored. Click it.
    4. In the pop-up window, click the crayon box icon on the top right.
    5. Now you will see a box of crayons. If you click on a certain crayon, your actor will change to that color. Click the WHITE crayon in the far bottom right. This will turn the actor white.
    IMPORTANT!!! THE COLOR OF THE ACTOR MUST BE WHITE IF YOU ADD AN IMAGE TO IT. OTHERWISE THE IMAGE WILL BE DISCOLORED!!

    Since the aforementioned note is important, it is capitalized. This should work.
Sign In or Register to comment.