Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: AutoPilot on Wed 25/06/2008 01:57:02

Title: White block around my character, and when he moves he turns in to a blue cup?!?!
Post by: AutoPilot on Wed 25/06/2008 01:57:02
Ok, so I imported a alien character into AGS. And he has a white block around him, and when I move him he turns into the blue cup of AGS! How do I fix these problems?
Title: Re: White block around my character, and when he moves he turns in to a blue cup?!?!
Post by: Makeout Patrol on Wed 25/06/2008 02:38:35
When you are importing the character, you need to specify that the white pixels are to be transparent in the game; when you're importing, you will see a drop-down menu with a list of pixels that you can use; select one of the options that has a white pixel, and the area around your character will become transparent.

As for the blue cup, either you  have specified a view that only has a blue cup in the "walking view" field in the characters palette, or you've put blue cup sprites into the character's walking view.
Title: Re: White block around my character, and when he moves he turns in to a blue cup?!?!
Post by: Khris on Wed 25/06/2008 06:56:31
The directional loops of the Normal view are supposed to consist of a standing frame (0) and the walk cycle frames (1-x).
Title: Re: White block around my character, and when he moves he turns in to a blue cup
Post by: LRH on Wed 25/06/2008 16:56:17
Isn't the transparent color the bottom-left pixel by default? Or am I mistaken? That's how I planned my graphics in my first game and they turned out alright.

As far as your character moving, is each view for your character 4 frames long? If not, make sure this is so.
Title: Re: White block around my character, and when he moves he turns in to a blue cup?!?!
Post by: Gilbert on Wed 25/06/2008 17:47:31
It's top-left by default, I think.
Title: Re: White block around my character, and when he moves he turns in to a blue cup
Post by: AutoPilot on Thu 26/06/2008 20:04:32
This problem is solved. The blue cup thing stopped when I just restarted the game. And the white block I just did what Khris said to.