What you can find here
What is a theme? In short, a theme is the visible part of the game. A bit longer: A theme is a set of files that make up the game In SDL-Ball a theme can consist of:
for example: If the author do not want to change the sounds, or only a few sounds, then he only needs to include the files that he want to change, the game will use it's own default files for those that are not present in his theme.
How to use a theme
from one theme, the graphics from another, and even the levels from a third! To do this, you must edit the settings.cfg file located in ~/.config/sdl-ball/settings.cfg Here is an example of a valid path to a theme called retro /home/dusted/.config/sdl-ball/themes/retro And here is another example of a valid path to a theme called Foo /home/dusted/stuff/games/sdl-ball/themes/retro
How to make a theme The easiest way to make a theme is to copy "default" in the themes directoey, and rename it to the name of your theme. After doing that, edit the files that you want to change, and delete the ones that you don't want to change. A theme can contain diffrent things:
modified, in order to allow newer versions to update them. If you save your work in PNG format, you must use RGBA (transperant support) you can use .jpg images aswell. An image should always have a dimension that is a power of two like 16x16, 32x32,64x64,64x32 etc.. Done... If you want your theme to appear on the official themes downloads page so other people can enjoy it too, send it to me, and I'll put it there :) Here follows a short explanation of the parameters that you can change in the .txt files that are used to load graphics. Don't worry about them, you don't need to change them to make a theme. But if you wish to make animated images or change a animated image to not being animated, use this.
|