Forge Android App
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Forge Android App
by drdev » 31 Mar 2014, 02:04
So I've managed to add support for pan and fling gestures for scrolling, which makes it possible to scroll through all cards on the field no matter how many, as well as be able to scroll through all settings. I also made it so the first and second rows of the field can be scrolled independently, so you can scroll through lots of creatures without losing sight of your lands and other permanents, and vice versa.
I also got card stacking on the field to work for lands and tokens. Due to vertical space constraints and only supporting horizontal scrolling, these stacks are horizontal in nature, as you can see below:
As always, feedback is welcome.
Thanks.
-Dan
I also got card stacking on the field to work for lands and tokens. Due to vertical space constraints and only supporting horizontal scrolling, these stacks are horizontal in nature, as you can see below:
As always, feedback is welcome.
Thanks.
-Dan
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge Android App
by squee1968 » 31 Mar 2014, 08:13
I'm glad you changed your mind about showing full text on the stack, it looks great now! Making the rows independent is a fantastic idea. I also like the way the log looks. I made this request about the log items long ago, maybe you'll think this is a good idea -- what if the log items were color-coded like the stack? Some events would be hard to assign a color to, and there would probably have to be several events with the same color, but I think it would make it easier/faster to read. You could kind of skip over events you don't care about because you recognize the color.
Re: Forge Android App
by serrasmurf » 31 Mar 2014, 17:41
Hi dan,
i look forward to playing forge during boring meetings, speeches or train trips! The screenshots look cool, i'll make sure i try it and provide feedback when you've posted the alpha version
Kr,
Alex
i look forward to playing forge during boring meetings, speeches or train trips! The screenshots look cool, i'll make sure i try it and provide feedback when you've posted the alpha version
Kr,
Alex
- serrasmurf
- Posts: 316
- Joined: 30 Jan 2010, 14:09
- Location: The Netherlands
- Has thanked: 3 times
- Been thanked: 18 times
Re: Forge Android App
by drdev » 11 Apr 2014, 03:19
So it's been awhile since I've had an update, since I've been working on refactoring things. However, now that the refactoring is done, I can finally share another screenshot. I'm working on the Constructed screen so you can configure players, teams, decks, and variants. Here's what I've got so far:
It will work a lot like the left half of the Constructed screen for the desktop game, with the main difference being the use of a combo box to select the number of players instead of an Add button and X buttons in the player panels, as well as a single combo box for selecting variants. I also replaced the Human/AI radio buttons with a toggle switch to converse space and make it look nice.
For supporting multiple variants in combination, I will probably just add an "Advanced" option to the combo box which will allow a more involved setup on a separate screen.
As always, any and all feedback is welcome.
Thanks.
-Dan
It will work a lot like the left half of the Constructed screen for the desktop game, with the main difference being the use of a combo box to select the number of players instead of an Add button and X buttons in the player panels, as well as a single combo box for selecting variants. I also replaced the Human/AI radio buttons with a toggle switch to converse space and make it look nice.
For supporting multiple variants in combination, I will probably just add an "Advanced" option to the combo box which will allow a more involved setup on a separate screen.
As always, any and all feedback is welcome.
Thanks.
-Dan
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge Android App
by squee1968 » 11 Apr 2014, 04:42
One small critique. I think the player selection box should match the other boxes. No highlighting, both choices on the left side of the box, and the same arrows on the right. I would use the same combo box for that. Feel free to say no.
Re: Forge Android App
by drdev » 11 Apr 2014, 14:48
@squee1968 - what do you mean by the "player selection box"? Are you referring to the avatar box? Could you maybe post a mockup of what you're thinking?
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge Android App
by squee1968 » 11 Apr 2014, 16:03
The box that shows Human/AI. Human ▼ AI ▼drdev wrote:@squee1968 - what do you mean by the "player selection box"? Are you referring to the avatar box? Could you maybe post a mockup of what you're thinking?
Re: Forge Android App
by friarsol » 11 Apr 2014, 16:26
All the other boxes are dropdowns. The Human/AI looks like a boolean switch.squee1968 wrote:The box that shows Human/AI. Human ▼ AI ▼drdev wrote:@squee1968 - what do you mean by the "player selection box"? Are you referring to the avatar box? Could you maybe post a mockup of what you're thinking?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge Android App
by drdev » 11 Apr 2014, 20:15
It is a boolean switch. There are only two options: "Human" or "AI". Having a combo box for just two options adds an unnecessary second tap any time you'd want to change it. I created the switch control specifically for this UI as I thought it looked better (and takes up less room) than the two radio buttons we use in the desktop UI.
I'd prefer to keep it using the switch control. Is that ok with everyone?
I'd prefer to keep it using the switch control. Is that ok with everyone?
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge Android App
by friarsol » 11 Apr 2014, 20:27
Yea we use the same type of switches at my day job for the exact same reason. Easier than checkboxes for touch-ability, and can provide two different descriptions in the same control.drdev wrote:I'd prefer to keep it using the switch control. Is that ok with everyone?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge Android App
by drdev » 12 Apr 2014, 01:28
So an update on variant support. I've made it so the combo box has a "More..." item at the bottom which, when selected, opens a separate screen with checkboxes and descriptions for each variant and support for checking one or more variants. The combo box can then support displaying a comma-delimited list of variants of going back from this screen.
Here's an idea of what this all looks like:
Does this seem reasonable to everyone? I didn't want to always require a separate screen for selecting variants, so this seemed like a reasonable compromise.
Thanks.
-Dan
Here's an idea of what this all looks like:
Does this seem reasonable to everyone? I didn't want to always require a separate screen for selecting variants, so this seemed like a reasonable compromise.
Thanks.
-Dan
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge Android App
by drdev » 12 Apr 2014, 08:23
I just finished adding support for selecting a deck and viewing a decklist using ItemManagers:
Note that this a re-implentation of ItemManager, so only ListView currently works and, as you can see, the layout of the different "cells" on each row need some work. I also need to work out how best to support sorting by specific information without access to column headers.
Thanks in advance for any feedback.
-Dan
Note that this a re-implentation of ItemManager, so only ListView currently works and, as you can see, the layout of the different "cells" on each row need some work. I also need to work out how best to support sorting by specific information without access to column headers.
Thanks in advance for any feedback.
-Dan
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge Android App
by drdev » 14 Apr 2014, 19:47
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Forge Android App
by Corwin72 » 14 Apr 2014, 19:59
Quick question, what resolution is this being optimized for?
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: Forge Android App
by drdev » 14 Apr 2014, 21:17
I'm going to make it work at every resolution 320x480 and up. 320x480 is what I'm currently testing against and what all my screenshots are. If you have a phone or tablet with better resolution, things should scale accordingly while making card images and other icons appear sharper.Corwin72 wrote:Quick question, what resolution is this being optimized for?
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Who is online
Users browsing this forum: No registered users and 16 guests