"Rate game" button.

Get help using Construct 2

Post » Fri Aug 16, 2013 3:47 pm

For android and Ios..
We want people to rate our game. (hopefully)

I know the link tag in-app is: market://details?id=<package_name>

Do I have to use the Ajax object for this... and will it work with Cocoonjs?

Anyone got experience with this?
B
9
S
4
G
1
Posts: 104
Reputation: 2,278

Post » Sun Mar 23, 2014 12:34 am

@Wizlore - what is the answer to this? What is the easiest way to put a "Rate this App" link in-game using C2?
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Sun Mar 23, 2014 6:09 am

@WizLore @Manley23
Use the basic built-in plugin, "Browser".
Put the action "Go to URL" and set the URL like "http://play.google.com/store/apps/details?id=<pakage_name>".
For example, you can try my game. There's a star button at the bottom of the screen, and that's a rate button.
B
23
S
8
G
1
Posts: 172
Reputation: 2,780

Post » Sun Mar 23, 2014 4:27 pm

@shaircast - is there any difference to using "Go to URL" or "Open URL in new window" ? The reason I ask is when I am testing my APK on smartphone and tablet (this is before published to Google Play), if I click on my RATE button, it will open up a window that says "We're sorry, the requested URL was not found on this server." That is normal since I haven't published it yet, HOWEVER, I am not able to leave this screen except with the device's home button. The device's back button does not work and my app is stuck on this screen forever. Even if I go back to tablet home screen and click the app icon, it still goes to the "URL not found screen" instead of starting at my app's title screen.
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Sun Mar 23, 2014 10:34 pm

Yeah, I don't like what happens with either of these Browser->URL actions for rating games. Both of them (Goto URL or Open URL in new window) don't allow the user to easily get back to the game. They both open up a "browser window" but you cannot use the device's back button to get back to app. You have to go all the way back to device home screen and click app icon again to re-start game.

Is there a better way to do this?
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Sun Mar 23, 2014 10:40 pm

Use browser go to :
"market://details?id=com.yourstuff.yourstuff&write_review=true"

It will go directly to the Play store on android.
B
32
S
10
G
3
Posts: 310
Reputation: 6,101

Post » Sun Mar 23, 2014 11:15 pm

stctr wrote:Use browser go to :
"market://details?id=com.yourstuff.yourstuff&write_review=true"

It will go directly to the Play store on android.


@stctr - yes, thank you very much. This works just the way I wanted.
B
33
S
7
G
8
Posts: 312
Reputation: 8,528


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests