Place four dynasty cards face down on the play field when the game starts.
These cards should drawn from the top of the dynasty deck after the game starts and placed in the lower part of the play field.
The cards should have a space between them that scales is in proportion to the current scaling of the cards, maybe equal to 1/3 the width of a card.
Along with this change, we should probably move the Stonghold to the left side of the play field.
See the attached image for an example.
- province_spacing_example.jpg 37.2KB
Comment #1
Posted on Jan 5, 2009 by Helpful KangarooChanged this Summary to say cards, as actual provinces will come later.
Comment #2
Posted on Jan 5, 2009 by Helpful KangarooWanna have a go at this? You'll have to do some math to figure out position and spacing.
Comment #3
Posted on Jan 5, 2009 by Swift PandaI think this change is a little larger in scope than just putting 4 cards on the field.
My vision for this solution would be to create a class of card called Province. Province would need to know whether it is Filled and whether it is Active. If Not Active, draw at reduced opacity, ex. 40%, to show that it is no longer in play. If it is active and not filled, draw at regular opacity. It should have its own texture to represent the space of the province. If it is Active and Filled, render the Dynasty Back texture.
The Province class will also allow us to implement a context sensitive menu that will allow players to easily fill and flip the province cards as necessary. As well, players could use the current attachment system to attach regions to the Province.
Once the class is worked out, all we would need to do is replicate the Province in the play field with a proportional distance between it and the previous card (or set distance if it is the first card).
Is this too much of a change? Should this be broken up into smaller tasks?
Comment #4
Posted on Jan 6, 2009 by Helpful KangarooAgreed. It is much bigger an just that.
I sent you almost your same reply in an email this morning. :)
The only big difference that I would think about is the "active/not active" attribute. If a province is destroyed, it should disappear, or if you gain a new one, you should see it added to the playing field. We should not assume that there will be 4 provinces, we should assume that there will be between 1 and 999 million (or slightly less), and therefore, add/remove them from the tabletop as needed.
All this taken into account, please see issue23 as it is the actual "Add Provinces" issue. I figured that this would be a quick addition to the code that would put four dynasty cards in play at the start of the game. Nothing more.
Comment #5
Posted on Jan 7, 2009 by Helpful KangarooThis will be rolled into issue23. Instead of cards, we will make issue23 work and then do it four times.
Status: Duplicate
Labels:
Type-Enhancement
Usability
Priority-Medium
Component-UI