MArcomage

Free multiplayer on-line fantasy card game

Please log in

Fithz Hood on 18:46, 25. Oct, 2010
Preview works really fine since it can see enemy cards also if they're hidden.
so I can see how divine intervention or benediction will work.
dimitris on 18:51, 25. Oct, 2010
Really tricky... I guess some cards need to be excluded from preview?
Fithz Hood on 18:52, 25. Oct, 2010
I wonder how it works with draft or overpower
Mojko on 18:55, 25. Oct, 2010
Well, there is not much what can I do here, only disable preview in hidden games. Preview button runs the full simulation of playing that card. With random-based effects such as draft, you will get some effect, but when you play it for real you can get a different effect, so it doesn't really say much.
vault on 19:10, 25. Oct, 2010
Lol, it's many cards... also each card with "for each .... in game"

Mojko wrote:
Well, there is not much what can I do here, only disable preview in hidden games.

And what about to disable it also in non-hidden and give back old system? ;)
Mojko on 19:13, 25. Oct, 2010
Even I removed the preview functionality completely I would keep the new system. There will be more card actions in the future (for example the "Pass" action for 2v2 game). Old system can't support more than 2 card actions, so it's unusable.
vault on 19:18, 25. Oct, 2010
I think it's no problem to add more functions and keep "one click" playing of cards...
Mojko on 19:19, 25. Oct, 2010
3 action buttons per card is a mess.
vault on 19:27, 25. Oct, 2010
well, I didn't talk about three or more buttons around each card... I think play button and menu with other actions and confirm button could be better... and you can add later so many actions as you wish...
Mojko on 19:29, 25. Oct, 2010
Menu with list of actions was my initial design, however it's very vulnerable to misclicks. Global buttons are a better option, I think.
dimitris on 19:32, 25. Oct, 2010
Given that javascript is enabled an option could be this:

left click on a card ---> play
right click on a card ---> discard
all other actions could be in a selectable combobox above each card, or somewhere else, for not card related actions.
Mojko on 19:34, 25. Oct, 2010
I thought about that too. There many JavaScript events that can be binded to card actions (also middle click, double click), however right click is usually reserved by browser (opens a menu), middle click as well (scrolling). Double click can be inconvenient and some browsers use it for paragraph selection. I would like to prevent binding multiple events to one action.
vault on 19:35, 25. Oct, 2010
Mojko wrote:
Menu with list of actions was my initial design, however it's very vulnerable to misclicks. Global buttons are a better option, I think.

I suggest keep PLAY button separately as it was, under card (you use it maybe in 95%) and above the cards could be menu with default choice DISCARD (maybe about 4%) and only if you will need to show preview (or another new function) you can change it in menu. (I think the rest 1%) so do you really think it's vulnerable to misclicks?
I can create a picture if my idea isn't clear... :)
vault on 19:36, 25. Oct, 2010
dimitris wrote:
left click on a card ---> play
right click on a card ---> discard


it IS vulnerable to misclick ;)
Fithz Hood on 19:37, 25. Oct, 2010
I like vault's idea
vault on 19:44, 25. Oct, 2010
Something like this.
dimitris on 19:49, 25. Oct, 2010
vault wrote:
dimitris wrote:
left click on a card ---> play
right click on a card ---> discard


it IS vulnerable to misclick ;)


I don't agree. It's more usual to misclick a button or a select box, rather than a whole card. If it's clear to the players that left click plays and right click discards, and with some animation maybe, a hand cursor etc. there's no problem in my opinion.

Another option would be right clicking on a card to bring a context menu with all the additional actions apart from play (Discard, Preview etc) but I guess this requires some more coding.

And Mojko with JQuery (it's used in deck builder right?) it's not difficult to distinguish left click from right click cross-browser.


EDIT: of course the image that vault attached is also a good suggestion, and easy to implement I guess.
Mojko on 19:58, 25. Oct, 2010
dimitris wrote:
And Mojko with JQuery (it's used in deck builder right?) it's not difficult to distinguish left click from right click cross-browser.


Of course it's not an implementation problem. I'm more concerned about how will it effect user-browser interaction. I think the problem is more on the design level.
Tibelix on 21:44, 25. Oct, 2010
I vote for vault's idea. I miss the "play" button very much.
Mojko on 11:42, 26. Oct, 2010
Preview button is now disabled in the hidden cards mode (r1207).