It is currently 20 May 2025, 13:09
   
Text Size

Got Android?

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

Got Android?

Postby mastermindg » 19 Nov 2010, 17:01

I just rooted my Droid the other day and have been playing with some features. I built the SDK with Eclipse and it's got me thinking....

It wouldn't be that difficult to port Forge over to Android. I'm just throwing this out there. I'll do some more research on my end.
mastermindg
 
Posts: 10
Joined: 01 Sep 2010, 15:04
Has thanked: 0 time
Been thanked: 0 time

Re: Got Android?

Postby Rob Cashwalker » 19 Nov 2010, 17:13

There's a good chance that the advanced GUI stuff won't translate. Then there's the fact that unless you're running an actual Motorola Droid X, with a 1 GHz processor, Forge will perform so horribly you'd have to wait forever for the AI to return priority.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Got Android?

Postby slapshot5 » 19 Nov 2010, 18:31

I was just thinking about this the other day. How much fun would that be to play Forge on the phone instead of listening to a boring speaker? Lots.

But then the UI... How do you best use screen real-estate to display the state of a MTG game?

Is there currently a MTG game for Android/iWhatever that we could model a GUI after?

(I don't actually know anything about programming for mobile platforms. yet.)

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Got Android?

Postby silly freak » 19 Nov 2010, 23:40

I have an android phone (HTC Desire), and actually did a small program (Game of Life) as a demo for myself. The application wasn't too hard to port, but only because logic and UI were properly separated, so I had to rewrite the GUI with google's widget system, and that was it.

I'm not at all sure if forge's GUI could be removed without taking some logic with it, so chances are that it's not possible, even with a usable GUI design.

A major point for such a GUI would be scrolling. one approach is to have a regular game table and do the usual slide and zoom operations, the other is to massively stack cards and flip through them
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: Got Android?

Postby friarsol » 06 Dec 2010, 01:12

Master lemme know if you get anywhere in this. I'd love to see Forge bridge into a mobile environment.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Got Android?

Postby vermpat » 12 May 2011, 20:00

Hi all,

I'm completely new at this forum, but i've been playing with the idea of writing an android game for MTG.

Instead of completely starting anew i decided to first look around what is available. there are no MTG games available for android(yet).
Forge does look like it could be ported so i am willing to go and give it a try. i've downloaded the code from the svn and will look into it as soon as i can.

As a response to the question about the screen estate, i think the best solution is an automatic scrolling screen (if it is your turn it shows your cards, if it is the opponents turn it shows their cards, for battle phase just show the creature cards, etc. etc.). What do you guys think of this?

vermpat
vermpat
 
Posts: 2
Joined: 12 May 2011, 19:56
Has thanked: 0 time
Been thanked: 0 time

Re: Got Android?

Postby friarsol » 12 May 2011, 20:57

If you need any help filtering through things let me know. At this point I know there are some game logic that exist in the UI that should be pulled out.

I think as long as you can shift around between Zones and quickly see your hand I think the screen real estate issue won't be a major problem.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Got Android?

Postby DennisBergkamp » 12 May 2011, 21:08

I think Forge would look and work amazing on a Motorola Xoom :)
The trickiest part would be screen estate issues for low res phones. I'm not sure if autoscrolling would be the answer (since oftentimes you're targeting your opponents' permanents anyway). My recommendation would be to look at how Wagic handles it (no need for a PSP, there's a windows version also : http://wololo.net/wagic/download ).
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Got Android?

Postby vermpat » 12 May 2011, 21:50

Ah ok, ill take a look into that as well..
At the moment i only own and advent vega android tablet (10.2 inch) so i will not be having any screen size problems:P
I will however try to port it in a way that you can also use it on smaller devices.
I didn't expect such a fast response on a thread that was this old ;)
Once again thanks, ill first look into the code and make some sense out of it for myself.

vermpat
vermpat
 
Posts: 2
Joined: 12 May 2011, 19:56
Has thanked: 0 time
Been thanked: 0 time

Re: Got Android?

Postby slapshot5 » 13 May 2011, 01:34

vermpat wrote:I didn't expect such a fast response on a thread that was this old ;)
Once again thanks, ill first look into the code and make some sense out of it for myself.
I think we're all very excited about it, we just don't know how to do it ourselves.

Glad to hear someone's looking into it!

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Got Android?

Postby Rob Cashwalker » 13 May 2011, 02:04

Since the thread began, my company switched from blackberry to droids. I've got a Droid 2 Global, and the rest of the company got the Droid X. I've also played with the SDK, which is just a plugin to eclipse.

The GUI API for android is really difficult to work with. Everything uses Layout Managers. All components must be declared in XML files, I don't think you can create a GUI object on the fly.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Got Android?

Postby frwololo » 18 Jul 2011, 05:24

I'm hijacking one of your threads again guys (on top of necroposting, apologies for that).
We are actively working on an Android port of Wagic and are always looking for devs.

When I initially worked on Wagic, my goal was to port forge to the PSP. The code of Forge at the time was unfortunately extremely heavy (CPU intensive), and the gui was not adapted to small screens at all, so I gave up and instead started my own project.

If Forge is to ever be ported to android, there must be an extremely strong separation between the GUI and the logic.
I'm not too worried about the engine being heavy, nowadays' androids have enough CPU.

So, Porting Forge to android would be doable I believe.

That being said, we're so close with Wagic that I would love to get help rather than see the two projects fight on that platform ;) (haha, I know none of you guys will buy this, we all love the project we spent years on, perfectly human feeling :mrgreen: )

anyways:

As you can see the port is technically ready, but we're hit by the Paretto rule: the remaining 20% of the work is taking most of the time. Controls need to be improved for small screen, etc...
frwololo
DEVELOPER
 
Posts: 265
Joined: 21 Jun 2008, 04:33
Has thanked: 0 time
Been thanked: 3 times

Re: Got Android?

Postby Hellfish » 18 Jul 2011, 05:58

Now that's just plain cool!
The controls didn't look near as finicky as I thought they would be,either.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Got Android?

Postby Rob Cashwalker » 18 Jul 2011, 17:20

{Ron Simmons from WWE}DAMN!{/Ron Simmons from WWE}

=D>

Is it compiled to be compatible with phone size or tablet size only?
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Got Android?

Postby DennisBergkamp » 18 Jul 2011, 20:31

Wow, very cool!!!!
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Next

Return to Forge

Who is online

Users browsing this forum: No registered users and 15 guests


Who is online

In total there are 15 users online :: 0 registered, 0 hidden and 15 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 15 guests

Login Form