The first in (hopefully) a series of tutorials on how to make skins for Championship Manager 4.
This tutorial will take you through the process of making a button graphic in Photoshop and expanding the canvas to include the other three button states (over, clicked and disabled) and slicing these up and batch exporting them to png files which will then be your new button in the game.
This process can be used for all the other graphics in the game.
Firstly, you need a button to start with.
Open Photoshop and create a new image {ctrl n} with the following settings.
Width: 100 pixels
Height: 20 pixels
Resolution: 72 pixels/inch
Mode: RGB Color
Contents: Transparent
Then draw a rounded rectangle using the rounded rectangle tool {u} You can change the roundness by changing the Radius setting.
Once you have done that, you might want to add a nice bevel effect to it. In the layers tab. click the Layer Style icon (looks like an f in a circle and choose bevel and emboss.
In the window that pops up, change the size to 2 and the opacity of both the highlight mode and shadow mode to 50
Change the layer opacity to 99% in the layers tab.
You now have a standard button that you are going to use in the game.
You now need to do graphics for the three other button states (over, clicked and disabled)
In the Image menu, select Canvas Size. In the window that pops up, select the up arrow as the anchor point, and change the height to 80 pixels.
Now, right click on the layer name in the layers tab (should be Shape 1) and choose 'Duplicate Layer'. Name this new layer 'Shape Over'. Click OK
Select the 'Shape Over' layer and then choose the move tool {v} Then press shift and the down arrow key twice to move the layer 20 pixels down just below the other layer. You now have a duplicate button! You now need to make this button different to the original one to give a rollover effect. Add a new layer style like you did with bevel and emboss, but this time select 'Color Overlay'. The button should go bright red... don't panic!
Click on the red box in the window that came up and choose white in the colour selector. Then OK that and change the opacity to 10. Now you have a rollover effect!
Right click on the Shape Over layer, and choose Duplicate Layer like you did before and call it Shape Clicked, and move this new layer down 20 pixels as before. Go to the Layer Styles again and choose bevel and emboss. All you need to change is the Direction to Down. Now you have a clicked button!
Duplicate this layer and name it Shape Disabled. Move it down 20 pixels and in the layers tab, change the opacity to 50%. You now have a complete button set. Now would be a good idea to save your work... so save your file as a PSD. This will keep all your layer sets intact.
Part two of this tutorial will take you through adding and naming the image slices and part three will take you through the export process. |