SamRock's Recent Forum Activity

  • SamRock

    But what about pubCenter multiple Ad Unit support?

    Thats also implemented

  • RenatoB

    Thats strange. I am able to use all the above mentioned Cranberry plugins and build on CLI 5 without any issues

    1. So you created a totally new project on XDK and used the newly exported files right?

    2. Also have you updated the ChartBoost plugin from Cranberry?

    3. You dont have anything in the PLUGIN Management screen?

    Just need to know, so that I can think of other possible issue

    SamRock - the engine now works around the issue in the original post, if you're on the latest stable or beta release of C2 then it should basically work exactly the same as it used to, but unmuting on the first touchend instead of touchstart.

    Thanks Ashley. This is teh first time I am building for iOS. When you say "Unmute" you mean I need to call the Audio->Set no Silent

    Or Audio->Set muted ( for a tag)??

  • RenatoB

    Emptying Plugin references from Addition.xml is true only for Android! For some strange reason it doesnt work for iOS. Thats why I had to Cordava export from C2 to a new folder and leave the contents of the Addition.xml as it is. Created a new XDK project.

    I only removed Google Analytics and fixed the Product ID for Game plugin (was not required as its Google store, but still the Game Plugin XML is wrong).

    You dont need to add anything from Plugin Management screen. This is just like old time. Export from C2 and build as it is.

    Here is sample of how my addtion.xml looks like. Note I have added your Orientation code as well. But it doesnt work for me.

    <platform name="ios">
        <preference name="Orientation" value="landscape" />
    </platform>
    <intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/cordova-plugin-ad-adcolony" intelxdk:value="https://github.com/cranberrygame/cordova-plugin-ad-adcolony" />
    <intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/cordova-plugin-ad-chartboost" intelxdk:value="https://github.com/cranberrygame/cordova-plugin-ad-chartboost" />
    <intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/cordova-plugin-game" intelxdk:value="https://github.com/cranberrygame/cordova-plugin-game">
        <intelxdk:param intelxdk:name="APP_ID" intelxdk:value="635233333330"/> 
    </intelxdk:plugin>
    <intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/cordova-plugin-payment-iap" intelxdk:value="https://github.com/cranberrygame/cordova-plugin-payment-iap" />
    <intelxdk:plugin intelxdk:name="org.apache.cordova.inappbrowser" intelxdk:value="org.apache.cordova.inappbrowser" />[/code:wejuolom]
    
    Please help me with teh Orientation and Audio on CLI5
  • Nice game hazneliel

    hazneliel and SamRock

    I'm having problems to lock the orientation in the landscape mode when I use the Intel XDK to build a iOS application. Normally I use a code to fix it, but it only works if I build the app using the CLI 5.1. Before that, I used a cranberry plugin that doesn't work anymore. By the way, any of the cranberry plugins didn't work in the CLI 5.1 version (I already downloaded the latest versions). How can you do to fix this orientation problem? Do you use CLI 4.2 or 5.1 to build your games? Did you have success to publish your games with cranberry plugins in the CLI 5.1 version? I really appreciate any suggestion/help to fix this problem.

    Thanks in advance

    I am using CLI5.1.1 and all cranberry plugins work for perfectly fine for me! The secret is to leave the addition.xml file as it is, unless you adding some extra plugins. I had issues with Google Analytiics so I decided to remove it. Game Plugin, Adcolony, Admob and Chartboost working well.

    What plugin have you used?

    I am using problem with Landscape Orientation lock as well! How did you fix it on CLI5?

    Infact, I tried your suggestion from one of teh forum topics to add teh XML to Addition file. It didnt work. Plus I am having issues with Audio, were you have to play Sounds? How do I make sound work?

  • Hey!

    Iolva

    Aphrodite

    kenhes

    fldr

    Thanks for the support. Just wanted to let you all know that Ashley and his team added support to Video Interstitial in recent C2 updates (infact few months ago)

    I have already implemented Video ads in my game. Works great!

  • Every tick might be a bad idea. The same "Browser" object has an event called "On Resumed"

    This is basically used when you pressed the HOME button or went out of the game and returned back.

    You can set your scroll to layout center in this event.

    Similarly there is an event called "On Suspended". Trigger when you go out of the game by pressing "HOME". Both events are good for Pausing and resuming the game

    BTW, what platform are you testing teh Orientation on?

    Ashley, I am testing my game n iOS (iPAD) and tried your suggestions of playing Sound at "End of Touch" event. I created a separate START screen when I placed a single button. On Touch end event, I am playing a sound file.

    But this does not enable the sound inside the next game screens. Am I doing something wrong? Would be nice if you could direct to a CAPX that has implemented this process for iOS

    Thanks again for your amazing support

  • hazneliel

    Wow! Thanks to the quick response and a sample CAPX! That was really nice of you

    Are you using any specific Window/Layout size or the ones given in your CAPX will do?

    BTW have you been able to get the sound to work in iOS?

    I tried the trick/hack to play audio at "End of Touch" event, but its not playing any sound after that. Thanks again for your help.

    Also, I was able to successfully test IAP (after Tax/Bank Contract was "In Effect") and Game Center (Enable Sandbox mode in settings->Game Center)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • JLH1964 tavi I am close to getting my game ported to iOS.

    I always wanted to know if teh revenue from using iAd is better than adMob? I am using crannyberry's adMob plugin on Android. Since it support banner and fullscreen on Apple as weel I was wondering if I can generate good revenue compared to iAd?

  • Finally got my game on the App Store using the IntelXDK and the CRanberry IAPs.

    Sexy Runner: https://itunes.apple.com/us/app/sexy-runner/id954899012

    Hey! Just came across your game. COngrats on the successful iOS launch and getting your IAPs to work! Iam using cranberry as well. Just completed the Bank/Tax updations , waiting for Contracts to go into effect before I can test the IAP.

    I noticed that you have varying resoltion screenshots for iPhone and iPad. Did you manage to create a single project that supports all resolution? Would really appreciate if you can share your ideas <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Currently I am having a single resoltuion that looks okay on iPhones but having two ugly black bars in iPad <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • Hi all, I have been trying all day to solve this issue and its driving me loopy. I get as far the 'Build' section in Intel XDK but when I click on any of the options (Crosswalk for Android, iOS etc) I get an error which says:

    ************************

    BUILD ERROR

    Unable to build. Please verify that you are connected to the internet and try again. (I DEFINITELY AM CONNECTED TO THE INTERNET

    plugin cordova-plugin-device does not exist.

    *************************

    Does anyone have an idea how to fix this error? Thanks in advance.

    I know its an OLD post. For for people who prefer CLI5.1.1 (like me), in XDK,

      Just goto the Plugin Management Screen.
      Remove the "cordova-plugin-device" by clicking the minus button

      -

      and re-add the same by clicking the + button.
      Goto Core Plugin and select "Device". Add "Splash" as well because it gets removed too.

    Then click on BUILD again. It should work now

SamRock's avatar

SamRock

Member since 7 Apr, 2014

None one is following SamRock yet!

Connect with SamRock

Trophy Case

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

Progress

11/44
How to earn trophies