SamRock's Forum Posts

  • Hey RenatoB

    Sorry for late response. Let me know if you would like to try my game on your iOS device. I will need your mail ID which you can PM me

  • I am not a C2 "noob" anymore, but I can tell you I am having the extact same problem! iOS does not start in Landscape mode. I tried every hack, tip, function found on internet! NOTHING WORKS :'(

  • Ashley,

    When I test my game on iPad, it always starts in Portrait mode, even though I have set the screen orientation to "Landscape" in both C2 and Intel XDK Build setting.

    I also tried calling the Browser->Lock Landscape action. Strangely, one started and when I press Home button on iPad and go back to the game, its locked in Landscape forever!! But always starts in Portrait mode.

    I know this is totally different from the above bug, but you might be able to tell if its related. I am scared my app review will fail

  • > 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 wouldnt know. After months and months of asking, Ashley never responded.

    It's a moot point now as iAds recently announced theyre folding up.

    Who would have thought a question from a paying customer would go that long unanswered that the business would fold before getting feedback

    lol thats funny

    SO I better stick with Admob.

    BTW, when I export using Cordova (for iOS), I dont see any reference for AdMob plugin in the additions.xml file.

    Will Admob work on iOS without an explicit reference? Or do I need to add it using Plugin Manager?

  • SamRock

    I want to publish an Universal Windows App for Windows 10

    On the Dev Windows Portal there are two options:

    1) PC's and tablets and

    2) Phones

    And I need two Ads for each, two for banners and two for interstitial

    Is it possible to do that with the pubCenter official plugin?

    Ohk. But I am using the same ad unit for both PC and phone and it works!

    All I did was modified the exported c2runtime.js file to include additional Ad uit size infor

  • fixed this by waiting until preload completed event

    Hey great you fixed the issues. I am having same problem.

    Could you elaborate on the fix please?

    Where and how do you use the "preload completed " event? Do I check it in the first layout before playing any sound?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • RenatoB

    [quote:1m4md88x]Don't worry. Things like this happen to me all the time

    Yeah man!

    Now, I only need to fix teh Orientation issue. Funny thing is the game starts in Portrait but when I press "Home" button and then come back to the game its locked in Landscape and doesnt change back to Portrait anymore. For soem reason it doesnt start up in locked Landscape mode

    Not sure if the issue is on iPad only. Do you have an iPhone to try it? Do I need to add new devices to Provision file to allow testing?

    [quote:1m4md88x]I don't know if the problem is the frequency. Did you use the "Trigger once while true" to reproduce your audio file?

    No I am not using the event. I am reading few thread that talking about distorted sounds. Will let you know the finding

    Ashley, I got it to work now. And thanks for the explanation!

    Also, you can Facepalm at me on this one!

    I didnt know that was a freakingi MUTE button on Apple Devices

    Sorry this is my first experience with Apple iPad (I borrowed it to test the game).

    Only thing is, few sound are bit distorted, I guess I need to encode with higher frequency?

    Now my last issue to to fix the Orientation to start in Landscape. I tried all methods, but it still starts i Portrait mode.

  • > RenatoB yes man. Its all set to Landscape. Now, I am even calling the browser->Landscape action.

    >

    The browser action didn't work for me. You had commented about the cranberry orientation plugin. I tried to use but when the ads opened, the screen decreased and stood in the corner. A very strange behaviour. Did you removed this plugin and others from the project panel, right?

    [quote:2o528fsb]The sound files are all in m4a format too

    Did you create the sound files or encoded them? Did you try to use other sound files to verify whether the problem are your files or not?

    Okay, so this is definitely Facepalm worthy!

    I didnt know that was a fishing MUTE button on Apple Devices

    Sorry this is my first experience with Apple iPad (I borrowed it to test the game). The audio was always playing!

    Only thing is, few sound are bit distorted, I guess I need to encode with higher frequency?

  • >

    > Thats also implemented

    >

    Really? The plugin only have one field for that

    No, when you call the Pubcenter->"Prepare Interstitial" Action, it will ask you for the Video Ads Unit. Just enter it once, next time you call pubcenter->"Show Interstitial" it will play the video ad

  • RenatoB yes man. Its all set to Landscape. Now, I am even calling the browser->Landscape action.

    The sound files are all in m4a format too

  • SamRock

    I had included the chartboost plugin through plugin manager, as the intel support asked for. I removed it and the game was built. I have some tests and now the Revmob/Chartboost ads are working thanks for your information. Thank you!

    The orientation code is working very well for me. Did you inserted this code in the addition file? I put it in the end. Did you try it?

    Glad to know that you got it working! Yes that was the trick, remove plugins included in Additions.xml from Plugin Manager

    (For others, this is only for iOS, on Android you need to manually add plugins using Plugin Management screen and clear the Addition.xml file)

    And yes, I have included you code both on top and bottom of the file still no result. Have yuu added the device Orientation plugin by any chance? Also how did you make ur Sound work?

  • 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)??