Hi,
where do you take sprite for your games??
Where do you take it? Can you be a little bit more specific?
When a person want to create a game must draw the sprite , or coul take it from some sites or other?
I m a novice , i’ve study a little tutorial , now I want to try something but I’m not able to draw sprite…
Oh, okay. You can just draw some little pictures, right? Not too hard. You could just copy paste stuff too! It doesn’t matter. Just draw whatever. You could draw a potato for all it matters.
There are sites for pixel art:
Pixel Joint
Pixelation
You could also learn how:
Pixel Art Tutorial
List of 30 pixel art Tutorials
Or, you could get someone:
Stack Exchange thread on your question
Gamedev
Ok thanks I get start with this : http://www.hongkiat.com/blog/pixel-art-tutorials/ , the first tutorial …
But i’ve a problem after drawing the cube if I load the file.png , java paint also the background and the tutorial don’t explain like avoid this…
Do you mean that it draws a white background around your image? Adding transparency to your image will fix this.
How?? ???
Ok, i use paint like tutorial and with difficult i ve found ezimba a site that permit to modify image …
Now ,another problem, i’ve set the trasparency and all work , but when i put my sprite to y=0 , my sprite not is in the down part of screen but a bit more up , so i think that because , the background is trasparence but exsist and so it is calculate like part of sprite and so don’t solve my problem…
Is the file a .png? I think that only png’s handle transparency, but I’m no graphics expert! Just make it a png. Takes up more memory, but is a lot more for games.
I.e
Does the file’s name say:
sprite.jpeg
or
sprite.png
Also, DO NOT USE MICROSOFT PAINT!
DO NOT
DO NOT
DO NOT!
Use paint.net. It is way better, and don’t worry. It’s not a website, despite the name
It sounds like the image is larger than your sprite. Java doesn’t care that the sprite only takes up a (for example) 4x4 area of your 8x8 image. What you need to do is make sure that the actual image is the same size as the sprite. To do this simply crop the image to the size of the sprite. You can google how to crop an image in whatever image editor you’re using.
Did I mention paint.net? Paint is just so horrible. I can’t even describe how awful an idea it is. You can’t import plugins, it’s not easy to use, it’s a difficult interface… Just an overall bad piece of crap. Just use paint.net.
MSPaint is great as a stripped down, simple, easy to use editor that doesn’t deal with transparency. For simple things it’s not too bad, for example making a background for your game.
I’ve follow this tutorial so i ve used MS paint , and with ezimba a site to modify the image i set trasparency , i’ve also downloaded paint.net , so post image :
Before trasparency:
http://imageshack.us/photo/my-images/96/uln.png/
After modific:
http://imageshack.us/photo/my-images/41/nkr.gif/
If you want I coul post a screnn shot of programa whit y=0, sorry for language but I am not english and hate this language…
You’ll have to explain that. How exactly will a PNG take up more memory than say a JPEG?
PNG is usually the better choice. The minimal size difference (only because jpeg compresses better) is not worth the features jpeg lacks.
Add to that the fact that jpeg is lossy.