It is currently 23 May 2025, 19:32
   
Text Size

Forge Android App

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Forge Android App

Postby 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:

LandStacking.png
TokenStacking.png

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

Postby 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.
squee1968
 
Posts: 254
Joined: 18 Nov 2011, 03:28
Has thanked: 110 times
Been thanked: 45 times

Re: Forge Android App

Postby 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
serrasmurf
 
Posts: 316
Joined: 30 Jan 2010, 14:09
Location: The Netherlands
Has thanked: 3 times
Been thanked: 18 times

Re: Forge Android App

Postby 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:

Constructed2.png

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

Postby 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.
squee1968
 
Posts: 254
Joined: 18 Nov 2011, 03:28
Has thanked: 110 times
Been thanked: 45 times

Re: Forge Android App

Postby 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

Postby squee1968 » 11 Apr 2014, 16:03

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?
The box that shows Human/AI. Human ▼ AI ▼
squee1968
 
Posts: 254
Joined: 18 Nov 2011, 03:28
Has thanked: 110 times
Been thanked: 45 times

Re: Forge Android App

Postby friarsol » 11 Apr 2014, 16:26

squee1968 wrote:
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?
The box that shows Human/AI. Human ▼ AI ▼
All the other boxes are dropdowns. The Human/AI looks like a boolean switch.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge Android App

Postby 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?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App

Postby friarsol » 11 Apr 2014, 20:27

drdev wrote:I'd prefer to keep it using the switch control. Is that ok with everyone?
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.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge Android App

Postby 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:

Variants.png

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

Postby drdev » 12 Apr 2014, 08:23

I just finished adding support for selecting a deck and viewing a decklist using ItemManagers:

DeckChooser.png

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

Postby drdev » 14 Apr 2014, 19:47

I just finished working on message, option, and confirmation boxes. They look like this:

MessageBox.png

As with dialogs in the desktop version, you'll be able to use your finger to move the message box around in case you need to see behind it.

Let me know if you have any questions or concerns.

Thanks.
-Dan
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App

Postby Corwin72 » 14 Apr 2014, 19:59

Quick question, what resolution is this being optimized for?
User avatar
Corwin72
 
Posts: 793
Joined: 15 Sep 2009, 13:26
Location: Grayson, Ga
Has thanked: 25 times
Been thanked: 9 times

Re: Forge Android App

Postby drdev » 14 Apr 2014, 21:17

Corwin72 wrote:Quick question, what resolution is this being optimized for?
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.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 16 guests

cron

Who is online

In total there are 16 users online :: 0 registered, 0 hidden and 16 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 16 guests

Login Form