Information |
Snake is a very easy program to skin. Here's what you need to have a fully skinned snake:
|
. |
Graphics |
skin.bmp - the background of the game. The transparent color is the very first pixel. food.gif - the 'food.' Supports standard .gif transparency. Needs to be the same size as the 'ratio' setting in the config file, or it will be stretched. |
. |
Editing Config.ini |
Config.ini holds all the setting for your skin. They are Explained below. [Info]: (please fill out) Name - the name of your skin. Author - you ;) WebSite - to url to your homepage. Comments - Write anything you want here :) [Ratio]: SizeRatio - this determines how big your play area will be. The play area is always a 19x19 square, 361 units, but the size of the square units is what this key determines. [Positions]: PlayArea X,Y - Determines the X,Y coordinates of the play square. ScoreText X,Y - Determines the X,Y coordinates of the score text. The Score text is aligned left and expands to the right. [Colors]: (note that if a border is shut off the border attribute does nothing) Snake R,G,B - the RGB values of the snake's body. SnakeBorder R,G,B - the RGB values of the snake's border. Notifier R,G,B - the RGB value of the snake head notifier. PlayBorder R,G,B - The color of the play area's border. Score R,G,B - The RGB color of the score text. [Styles]: Shapes -
3 = Circle 5 = Rounded Square
1 = Solid 2 = Dash 3 = Dot 4 = Dash Dot 5 = Dash Dot Dot Font - The name of the score text font. |
. |
Have fun! |