BluePhaze's Recent Forum Activity

  • xXxForsakenxXx That is what the debugger does. It tells you the amount of time each object takes to load, teh CPU usage of each object, etc... hit ctrl + F5 to launch your app with the debugger.

  • Darklinki Just PM'd you... if you have a few minutes let me know :) Thanks

  • You can always use Podes HTML iFrame plugin to show whatever ads you want. Others have said this works with leadbolt (not via cocoonjs from what I have been able to find so far). Then you can put the ads wherever you want as they are placed like a sprite. Also showing ads between layouts doesn't really work. What you need are layouts just for your ads and go to those layouts before/after your main layouts.

  • ameersak You select the iframe plugin object on the screen/layout, then in the properties for it under Style you add "border: none" without the quotes. This will remove the border on the iframe. Be careful what size you set it to as well because if the page you are loading into the iframe is bigger than the iframe you may still get scroll bars even if scroll is set to no. And that looks really bad in a mobile game :)

  • hazneliel You need to have logic to handle the on purchase failed. My assumption here is that your logic is simply moving to the next step without handling the purchase failed event. Use a variable to track if they did the purchase, only set the variable to yes if on purchase failed does not get called.

  • funkyos Ah, ok. Windows lets you do a trial mode so even paid apps can have a free download. You then control what happens in trial mode vs full license. So I could show ads in trial mode, and remove them if the app has been purchased. Wasn't sure if google, etc... Had a similar option. Sounds like they don't. Though cocoonjs does have a has app, or purchased app check I believe. Sounds like the variable route with IAP is the way to go on ios and android.

  • funkyos Instead of having an in app purchase called remove_ads, can't you just check to see if the app is purchased? Wouldn't that simplify it and not require a restore of purchases?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Darklinki Do you have some time to go over how you integrate with your apps on these? I am trying to support both free with ads and paid with no ads in the same app...

  • Hello All,

    Currently all versions of my game are for pay. I want to support free with Ads, and then disable them when they purchase the app. I don't want separate versions of the app because this instantly removes you from being eligible for promotions and being highlighted in certain marketplaces.

    Currently my game is available on Windows 8, Google Play, Amazon and Tizen. It is currently going through the approval process for iTunes(iOS) and Windows Phone.

    I need to find good way of doing this (hopefully across platforms).

    For windows 8 I tried the Windows 8 Advertising plugin but it just gives me JavaScript errors and causes the app to fail certification. This would be ideal as it is a design time object that I can place in my layouts and then would be able to destroy it if "App Purchased" is true.

    So next I am left with putting a div in the index.html of the app. This will work fine, except that I need to be able to disable the ads if they purchase my app. Has anyone found a good way to do this?

    For iOS, Google Play and Amazon I have a Premium Ludei CocoonJS account, I just don't know the best way to display the ads if the app has not been purchased, and turn them off if it has. I have read through some of the tutorials and none seem to specifically go over this piece. Unless I missed something. So here is a summary of what I am looking for:

    Step by Step on support ads and turning them off when the app is purchased:

    1. Windows 8 - Free with Ads, Purchase to disable ads. (pubcenter is already setup). Plugin or Div method?

    2. iOS, Google Play, Amazon - Use CocoonJS to display and disable ads when purchased...

    Also, when the user sees ad's in the game, do you use interstitial (full screen) ads? If so what do you do to hide them so the user can continue to play if they do not want to click the ad? Display the ad via a timer?

  • Opender did you ever get past that error? I get the same one...

  • kenhes How did you get past that error in regards to undefined properties? I am getting the same error and so can't test my game in visual studio to make sure the ads work...

  • not to highjack.. but one of these days I would love if you could share your boomerang logic with me... I was originally going to have the rock throw in my game be more like a boomerang where it went out a certain distance, then returned to the current position of the player. Never quite got it...

BluePhaze's avatar

BluePhaze

Member since 20 Dec, 2012

Twitter
BluePhaze has 1 followers

Connect with BluePhaze

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies