How do i remove ads on my game?

Get help using Construct 2

Post » Mon Aug 15, 2016 12:25 pm

i want to release my game on playstore for free. i will put ads in my game but player can remove that ads, in the game there is a option remove ads for 0.5$. how make that posible? i dont understand the mechanism. please help
B
20
S
8
Posts: 23
Reputation: 1,488

Post » Mon Aug 15, 2016 10:02 pm

There are multiple methods:

1) If your app if just on Android, you can use the IAP C2 plugin event - HASPRODUCT, and then invert it to show the ad. Thats what I did for the Android version of my app and it works fine.

Image

2) On purchase you can set a variable to be changed, and then just check what the value of that variable is. I used this for my IOS app, as for some reason the C2 IAP wasn't working properly with itunes.

Image

As you can see the first method is easier

The advantage of the second method is that its doesn't require an internet connection to make the check.

Hope that helps

Regards
B
6
S
1
Posts: 32
Reputation: 476

Post » Tue Aug 16, 2016 9:23 am

New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
291
S
114
G
95
Posts: 7,293
Reputation: 70,144


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests