How do I test my game on android.

Just started using Construct 2? Post your questions here

Post » Wed Sep 23, 2015 4:53 am

I want to test my game on android to ensure it works the way it does on a browser, and with touch functions, before I continue to my next phase of development.

Tried doing some research online but found nothing helpful. Everything kept pointing to cocoonjs, but I'm guessing that requires some sort of purchase? Because it isn't listed as an export option. I'm not in a position now where I can pay for anything... and I'm just looking to personally test it at the point.
B
9
S
1
Posts: 49
Reputation: 551

Post » Wed Sep 23, 2015 12:59 pm

Take a look at this :)

How to preview on a local network
B
9
S
1
Posts: 50
Reputation: 650

Post » Wed Sep 23, 2015 1:44 pm

..also search net for
WAMP , XAMPP , MAMP , AMPPS ....
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Thu Sep 24, 2015 2:35 am

Are all of these just ways to play it on my phone as an html5 game? Im really more interested in more of a mobile export or replica of it, that let's me test how well touch works.
B
9
S
1
Posts: 49
Reputation: 551

Post » Thu Sep 24, 2015 9:37 am

CocoonJS is not an official export option since its support was dropped last year.
The tutorial mentioned by vendara is an official way, but indeed requires a licensed version of Construct2 to work.

In your case, it sounds like you need to export as a HTML5 website, host it online (through a file service like dropbox or google drive) and then go to that URL with a Chrome for Android from your phone.
This is the equivalent of the export option for Android since it's wrapping a chrome browser to execute your game.

Also, to export to Android you need a Construct 2 license, so perhaps are you targeting the wrong device anyway since you can't buy it according to what you say.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
293
S
117
G
96
Posts: 7,310
Reputation: 71,069

Post » Thu Sep 24, 2015 6:50 pm

Thank you that helps. I will gladly get the license when I havery my finished product, this is more of an alpha test of sorts.

Do you think chrome would run. It ok? Aren't there some drop box services/ apps that would make it run much more like a mobile game?

I'll be attempting tonight, I'm fearing the screen sizing will not be right, and any hold finger on screen actions may not act right.
B
9
S
1
Posts: 49
Reputation: 551

Post » Fri Sep 25, 2015 3:19 am

Maybe I'm just not in it tonight... tried exporting with html5, uploaded to google drive, and I cannot open the game. If I click to open the html document it just opens up a view of all the raw code.
B
9
S
1
Posts: 49
Reputation: 551

Post » Fri Sep 25, 2015 4:31 pm

August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Fri Sep 25, 2015 5:30 pm

Got it working, touch functionality wasnt working correctly... guess until I purchase the full version and get to do a real upload I wont really know.
B
9
S
1
Posts: 49
Reputation: 551

Post » Tue Sep 29, 2015 3:43 am

Prowl wrote:Got it working, touch functionality wasnt working correctly... guess until I purchase the full version and get to do a real upload I wont really know.



You don't have to purchase a "Personal License" for the touch functionality to work...
Image
B
82
S
16
G
4
Posts: 503
Reputation: 8,978


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests