The next update will also include a first implementation of "Tower and Creep Specifications" for creating
custom themes - yes, right. A specification is a simple .ini file that defines the look and behaviour of creeps and towers.
An example taken from the "Default" theme.ini:
- Code:
[TOWER2]
name=EMP Emitter
rotation=AUTO
shot=DIRECT
shotInnerColor=ffffff
shotOuterColor=00ffff
splashInnerColor=00ffff
splashOuterColor=
ani=towers/2.png
turretAni=towers/2turret.png
This means that the name of that tower is "EMP Emitter", rotates automatically (aiming at creeps), uses a direct shot (no ORBIT shot like the Ion Cannon or no shot at all like the Missile Solo), uses the defined colors to draw the 3px outer and 1px inner effects, uses the "towers/2.png" inside the folder of that theme as its animation and the "towers/2turret.png" as its turret animation.
Another example from the same file, but for a creep:
- Code:
[CREEP12]
name=Huge Titan
rotation=0.035R
ani=creeps/12.png
dieAni=creeps/explode.png
This means that this creep is named "Huge Titan", rotates randomly clockwise/anticlockwise with a rotation delta of 0.035, uses the "creeps/12.png" animation from the theme folder and the "creeps/explode.png" as its dying animation.
As soon as custom themes are working, I'll release the contents of the default theme as an example that can be used as a starting point then - plus the PNG-Animation spectification used in CreepTD so that you are also able to create your own animated graphics. It will work with non-animated images as well, but of course the result will look more like the Classic+ theme. As far as I can tell currently: Creating your own theme will be just a little more difficult than creating your own maps but will require more time and testing efforts than it would take to just create a map.
Cheers
dc