Re: Bulk buy/sell/drop interface collaboration
Posted: Sat Jul 16, 2011 6:41 am
OK. Thanks,Oskar. Glad it will be coming along.
Roguelike RPG on Android
https://www.andorstrail.com/
Just for reference, but I still stand by that when you're selling an item, it you only have 1 of that item, then it doesn't open up the slider-dialogue. It's just a second press that isn't necessary when you're trying to quickly sell things. I'm sure this could be easily done. Just add a if statement that checks the quantity being sold. If equal to 1, then it just sells, otherwise, it goes into the slider-function.oskarwiksten wrote:Thanks for the idea LiL, but this has already been committed with the interface that ejwessel and Samuel did (see above). That interface allows you to either input a number or drag a slider to the correct amount.
Good idea qasur. This was something I considered while coding it, but decided not to add. My hope was that the quantity selection dialog now also could serve as a confirmation dialog if you would happen to misclick another item. Do you think it would work that way? In the case of misclicking a magical or extraordinary item while selling, there would most likely only be one such item in your inventory, and in those cases we really want some kind of confirmation dialog I think.qasur wrote:Just for reference, but I still stand by that when you're selling an item, it you only have 1 of that item, then it doesn't open up the slider-dialogue. It's just a second press that isn't necessary when you're trying to quickly sell things. I'm sure this could be easily done. Just add a if statement that checks the quantity being sold. If equal to 1, then it just sells, otherwise, it goes into the slider-function.
Code: Select all
if ( Count > 1 )
{
slider-dialogue.show();
}
else
{
buy the item;
}
Code: Select all
if ( Count == 1 )
{
if ( item is a magical or extraordinary )
{
confirmation-dialogue.show();
}
else
{
sell the item;
}
}
else
{
slider-dialogue.show();
}
This was found to be unintuitive, back on the first page of this discussion. If others support you on this we'll be inclined to add it of coursetek wrote:Today I had the priviledge of testing an issue for oskar and got my first exposure to this slider, and let's just say I was disappointed. I have developed many web based ui controls that allow a users to reorder items that allowed the user to move the first item in the list up and it would result in the item to be moved to the bottom of the list.
With that said, why can't when @ 1 and the user clicks the minus button have the quantity shown be the max allowed/available?
I hate having to enter in the total amount I want to sell when that total = quantity available. I just want to click the minus button then click sell.