basic_game_image_editing_with_gimp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
basic_game_image_editing_with_gimp [2014/03/29 02:41] – mithat | basic_game_image_editing_with_gimp [2014/03/29 04:57] (current) – mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Basic game image editing | + | ====== Basic Game Image Editing |
- | Here is a guide to using [[http:// | + | This is a guide to using [[http:// |
- | GIMP may or may not be the best tool for doing this. But it's open source (something that's important to me), it's available for all major desktop operating systems, I know it, and it works. | + | GIMP may or may not be the best tool for doing this. It's open source (something that's important to me), it's available for all major desktop operating systems, I know it, and it works. |
In what follows, I am assuming you are using PNG images for all your image resources. With small changes, everything should apply to other formats as well. | In what follows, I am assuming you are using PNG images for all your image resources. With small changes, everything should apply to other formats as well. | ||
Line 14: | Line 14: | ||
- Go to [[http:// | - Go to [[http:// | ||
- After clicking the link, scroll down again to find the "GIMP for Windows" | - After clicking the link, scroll down again to find the "GIMP for Windows" | ||
- | - When the download | + | - When the download |
=== Installing as a portable application === | === Installing as a portable application === | ||
- | - Go to http:// | + | - Go to http:// |
- Click the " | - Click the " | ||
- When the download is complete, run the installer, tell it where to put GIMP, and Bob's your uncle. | - When the download is complete, run the installer, tell it where to put GIMP, and Bob's your uncle. | ||
Line 28: | Line 28: | ||
- Follow the instruction under "GIMP for Unix-like systems" | - Follow the instruction under "GIMP for Unix-like systems" | ||
+ | <WRAP center round tip 60%> | ||
+ | Watch the videos below at high resolution and full screen. | ||
+ | |||
+ | To increase resolution, start playing the video, then click the gear icon in the player toolbar, then select 720pHD. | ||
+ | |||
+ | To view full screen, click the "Full screen" | ||
+ | </ | ||
===== Converting images to PNG ===== | ===== Converting images to PNG ===== | ||
- | - Open the image you want to convert | + | - Use //File > Open// ... to open the image you want to convert. |
- | - Go to //File > Export ...// and in the resulting dialog: | + | - After the image opens, go to //File > Export ...// and in the resulting dialog: |
- Be sure //Select File Type// is set to //(By Extension)// | - Be sure //Select File Type// is set to //(By Extension)// | ||
- | - Enter '' | + | - Enter '' |
- | - To save changes you have made to a PNG file, go to //File > Export to myImage.png// | + | - Click " |
+ | - In the resulting dialog, just go with the defaults and cick " | ||
+ | |||
+ | {{youtube> | ||
+ | |||
+ | Note: To save any changes you have made to a PNG file, go to //File > Export to imageName.png// | ||
===== Cropping images ===== | ===== Cropping images ===== | ||
- | Often times an image will have extra borders or padding around it that you won't want. (It will make sprites larger than they need to be--which will affect collisions and other things. | + | Often times an image will have extra padding around it that you won't want. Extra padding makes sprites larger than they need to be--which will affect collisions and other things. |
+ | |||
+ | ==== Rectangular select and crop ==== | ||
+ | - Pick the Rectangular Select tool either from //Tools > Selection Tools > Rectangular// | ||
+ | - Click and drag on the image to select the portion of the image you want to keep. | ||
+ | - You can change the selected area by clicking and dragging on any of the rectangles in the four corners. | ||
+ | - Crop away the unwanted bits by going to '' | ||
+ | |||
+ | {{youtube> | ||
+ | |||
+ | ==== Autocrop ==== | ||
+ | You can use Autocrop if the background of your image is all exactly one color. Autocrop will crop the image to the smallest possible size. To use Autocrop | ||
+ | - //Select > All// | ||
+ | - //Image > Autocrop image// | ||
+ | |||
+ | {{youtube> | ||
+ | |||
+ | ===== Making backgrounds transparent ===== | ||
+ | The following assumes the image you want to modify is well-suited to having its background made transparent. An image that's well suited to this is one where: | ||
+ | |||
+ | * The backgrond is all one color. | ||
+ | * The image has a clear border. | ||
+ | |||
+ | You can still make backgrounds transparent with images that don't meet both these requirements, | ||
+ | |||
+ | To make the background of a "well suited" | ||
+ | - Add a transparent layer to the image with //Layer > Transparency > Add Alpha Channel// | ||
+ | - Select the Fuzzy Select Tool (//Tools > Selection Tools > Fuzzy Select// or in the Toolbox). | ||
+ | - Click on the background. | ||
+ | - Confirm that the background has been correctly detected and selected. | ||
+ | - You may need to adjust the tool's Threshold parameter to get the best results. | ||
+ | - You can " | ||
+ | - Clear the selected region by going to //Edit > Clear// or by hitting the Delete key. | ||
+ | |||
+ | {{youtube> | ||
+ | |||
+ | ===== Resizing images ===== | ||
+ | To shrink an image down, | ||
+ | - Go to //Image > Scale Image...// (NOT //Canvas Size...// or //Print Size...// | ||
+ | - In the dialog' | ||
+ | - If you want the height and width to scale proportionately, | ||
+ | - Set the width and/or height. | ||
+ | - Click the " | ||
+ | |||
+ | {{youtube> | ||
+ | Feel free to experiment with the different Interpolation settings. Some algorithms work better for some images than others. " |
basic_game_image_editing_with_gimp.1396060865.txt.gz · Last modified: 2014/03/29 02:41 (external edit)