Cards database, configuration file...
Hello, this is my first post here although I've been lurking around for a few months now. I'm working on a game project for the PSP, for which a demo video can be seen at http://fr.youtube.com/watch?v=Dh42ne3g2cE
(I know that some of you know about this project
)
There are lots of cool apps here that try to do rules enforcement, so I was wondering how these apps were defining the cards' behavior ?
Obviously, the easiest way is to hardcode it in the application, but that gives no flexibility for other people who want to add cards.
My app currently uses a configuration file for cards that have basic abilities (creatures, cards that create mana,...), but it is very limited.
The ideal would be some sort of scripting language rather than a plain text file, but I have no idea where to start for that...
It seems that FireMox has a quite complex XML file format to do that, but how is it processed afterwards ?
Incantus has a card DB. I haven't tried the editor yet (is it included in the game) but from what I've read, it is quite powerful... Could I have some basic explanations, or examples, on how this is done ?
Thanks in advance for your replies
(I know that some of you know about this project
There are lots of cool apps here that try to do rules enforcement, so I was wondering how these apps were defining the cards' behavior ?
Obviously, the easiest way is to hardcode it in the application, but that gives no flexibility for other people who want to add cards.
My app currently uses a configuration file for cards that have basic abilities (creatures, cards that create mana,...), but it is very limited.
The ideal would be some sort of scripting language rather than a plain text file, but I have no idea where to start for that...
It seems that FireMox has a quite complex XML file format to do that, but how is it processed afterwards ?
Incantus has a card DB. I haven't tried the editor yet (is it included in the game) but from what I've read, it is quite powerful... Could I have some basic explanations, or examples, on how this is done ?
Thanks in advance for your replies