kingjables Posted July 3, 2011 Author Share Posted July 3, 2011 So i am trying to put a sprite in my game and i keep getting the background color of the sprite sheet in the game just on the outline of his body. I am not sure why this is happening. I am trying to base them off of the default sprite sheets eclipse comes with. Also how would i change the rendering color that is in visible in the game. I am very new to all of this and would just like some feed back. Thank you for your time. Link to comment Share on other sites More sharing options...
Rithy58 Posted July 3, 2011 Share Posted July 3, 2011 The top left pixel of an image is the transparent color.So if the most top left of your image is black, then anything black won't be render.I could help more if you post the image here. So I can see what's wrong with it.Sincerely,Rithy Link to comment Share on other sites More sharing options...
kingjables Posted July 3, 2011 Author Share Posted July 3, 2011 Here is a screen shot. I am really new to this and am just trying to figure out the program before making my game. Thank you for looking. Link to comment Share on other sites More sharing options...
blkcrow Posted July 3, 2011 Share Posted July 3, 2011 its because the color around the sprite isnt the same as your background its slightly different. this happens when you convert the image file from a format to another or when you re size the original file Link to comment Share on other sites More sharing options...
kingjables Posted July 3, 2011 Author Share Posted July 3, 2011 Ok what can i do to help this? Can any one give some pointers on converting or resizing? Link to comment Share on other sites More sharing options...
Rithy58 Posted July 3, 2011 Share Posted July 3, 2011 Yeah, blkcrow is right.Most likely, you converted JPEG(lossly) to BMP(lossless) and in the process, you lost some data.If you really want to fix it, just open paint and make sure all the pink are the same shade of pink.Sincerely,Rithy Link to comment Share on other sites More sharing options...
kingjables Posted July 3, 2011 Author Share Posted July 3, 2011 Is there a way to make the conversion work the first time? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 3, 2011 Share Posted July 3, 2011 @kingjables:> Is there a way to make the conversion work the first time?The problem is you're resizing it. Picture editors (Photoshop, GIMP, MSPaint, etc.) attempt to "guess" what to set the pixels to. Some of them have a "Nearest Neighbor" resize option, which tells them to not guess and just use the color of the pixel next to them, which would be your solution in this case. Either that, or just don't try to poorly resize them. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now