Page 1 of 3

Help with sprites!!! (move if in wrong place)

PostPosted: Thu Apr 26, 2012 6:02 pm
by Goomba
Hello there I am new to the forum and I need desperate help :shock: I made a button for iphone and when i tried to test it in a test game the white area was around the button like the white around the button was apart of the sprite could someone help me with this dilemma? :( I'm at school right now so i can't post the sprite now i do it later...HELP!!! :( :!: :!:

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Thu Apr 26, 2012 6:15 pm
by skydereign
This sounds like geplayer's problem handling transparency, but until you post the image, it is hard to tell. And so you know, post questions in the support section.

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Thu Apr 26, 2012 9:30 pm
by Goomba
Oh ok i will post the image after school sometime today or tomorrow. :) thank you for telling about the questions bit :D oh by the way if it makes a difference the sprite was made in Paint and... does it have to be a PNG file? because i think i saved it as something else... ill check when i get home.

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 3:06 pm
by Goomba
Here is the sprite. [img]C:\Users\Puyallup%20youth%20Group\Desktop\gameEditor\GameEditor\Thomas'%20Games[/img]

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 3:07 pm
by Goomba
AAARRRRGGGGHHHH!!! :( How do you post pictures? oh and it is a JPEG image :? oh wait... oh :oops: there's a button on the bottom for ading files i didn't see that :oops: ... :lol: so here it is... *sigh* only three days in and i'm already making newbie mistakes oh well...

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 3:32 pm
by MrJolteon
Goomba wrote:oh and it is a JPEG image :?

JPEGs are not recommended to use as sprites in GE. It's better for backgrounds. It's recommended you use PNGs for sprites anywhere.
I'll fix it for you.

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 3:41 pm
by MrJolteon
Here you go:

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 4:01 pm
by skydereign
Ah, when you said made a button for iphone, I assumed you meant it was white around the border on iphone only. Your problem was that you didn't use transparency, or use a background color. If your image doesn't have an alpha channel, it will take the top left pixel and turn all similarly colored pixels transparent.

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 4:18 pm
by Goomba
Ahhhhhhh... Ok got it thank you Skydereign
@MrJolteon Thank you for tip i am at school at the moment so i download pic later :D

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 5:07 pm
by MrJolteon
Goomba wrote:@MrJolteon Thank you for tip i am at school at the moment so i download pic later :D

You're welcome.

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 6:23 pm
by Goomba
Happy today is half day so i can start all the projects that i have lined up :D

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Fri Apr 27, 2012 10:18 pm
by Goomba
I has just downloaded fixed version of my button. Thanx MrJolteon :D

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Sat Apr 28, 2012 6:08 am
by MrJolteon
Goomba wrote:I has just downloaded fixed version of my button. Thanx MrJolteon :D

You're welcome.

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Mon Apr 30, 2012 2:01 am
by Goomba
Yes the white area is gone now :D

Re: Help with sprites!!! (move if in wrong place)

PostPosted: Mon Apr 30, 2012 9:09 am
by MrJolteon
Because I replaced it with transparency