Post by Leartin on Jun 3, 2018 14:23:40 GMT
Hello, dear forumites
Sooo... I'm creating my own game and so far, I was able to move my photoshopped card design into MSE quite nicely. For one card type, I could use if-statements to change the background and move some elements around, so even though it's the same style format, the cardtypes look quite different.
However, now I want to add a cardtype which is played horizontally (it's 'upright' if it's tapped). I know I can do this, but I'm not sure what's the best approach in two different occasions:
1) Should it be a new style, or the same? Since I can position everything using functions, I could do that, with the benefit that everything that stays the same only needs to be edited once to be changed (EG. due to my inexpierience, my Costs are currently all images with different numbers, instead of one image with a number as text. So I will probably change that at some point, and if I create a new style, I'll have to change it twice). But it would probably be messy in the code. I also did not experiment much with how different styles work, so I'm not sure if it's possible to reference other styles (IE use the style I now have, but apply alterations with an additional style... is such a thing possible?)
2) Since the cards are horizontally, should I design them horizontally or vertically? I assume it doesn't make too much of a difference, since you could turn them in MSE anyway, but there might be something I'm not aware of. Currently, I'd design them vertically, since that's how I'd see them in my hand during a game, and it wouldn't constantly flip everything when looking through the cards.
Sooo... I'm creating my own game and so far, I was able to move my photoshopped card design into MSE quite nicely. For one card type, I could use if-statements to change the background and move some elements around, so even though it's the same style format, the cardtypes look quite different.
However, now I want to add a cardtype which is played horizontally (it's 'upright' if it's tapped). I know I can do this, but I'm not sure what's the best approach in two different occasions:
1) Should it be a new style, or the same? Since I can position everything using functions, I could do that, with the benefit that everything that stays the same only needs to be edited once to be changed (EG. due to my inexpierience, my Costs are currently all images with different numbers, instead of one image with a number as text. So I will probably change that at some point, and if I create a new style, I'll have to change it twice). But it would probably be messy in the code. I also did not experiment much with how different styles work, so I'm not sure if it's possible to reference other styles (IE use the style I now have, but apply alterations with an additional style... is such a thing possible?)
2) Since the cards are horizontally, should I design them horizontally or vertically? I assume it doesn't make too much of a difference, since you could turn them in MSE anyway, but there might be something I'm not aware of. Currently, I'd design them vertically, since that's how I'd see them in my hand during a game, and it wouldn't constantly flip everything when looking through the cards.