METR1C's Recent Forum Activity

  • > rexrainbow

    > METR1C

    >

    > I just tested it on WebView+ and got this error message.

    >

    > [quote:19vsk0ol]This operation is not supported in the environment this application is running on. "location.protocol" must be htttp or https.

    >

    Regards

    Andy

    Hi guys.

    I was facing problem like this.

    Here is my solution:

    i use Cordova FB plugin from cranberrygame to login to facebook, then use this token to login using Rex's firebase plugin. It work fine on webview+, not sure about cocoon.io

    Hope this can help.

    Hi Mikeyboy,

    Thank you for your help! But i have no idea how to go about this, could you post a screenshot of the login behaviours/actions from Construct used in conjunction with cranberrys plugin? I am sorry to be a pain in the ***

    Thanks again Mikey

  • AndreasR

    rexrainbow

    Thanks Andy, hopefully Rex can help with your issue and you can get this working on mobile. Il pop both of you in teh "Special Thanks" credits.

  • AndreasR

    rexrainbow

    Hi Andy,

    I am not getting a message when i hit the Fb button. Nothing at all happens when i tap on it yet in Chrome it works perfectly. Im building it on Cocoon as WebView+ Ive attached a screen shot of the code, any ideas?

    post a picture

  • AndreasR

    Awesome, will do. In work atm so will try again when home. Thank you very much Andy

  • AndreasR

    Hi Andy, i am not getting any error. Basically you click on the facebook button to login and nothing at all happens Works fine in Chrome/Firefox ect.

  • METR1C

    According to AndreasR said,

    [quote:3i3oggv8]It should work for WebView(+) on CocoonIO and Intel XDK (install the inapp browser plugin), however it will not work with CocoonIO's canvas+ engine due to the fact that Canvas+ do not support websockets.

    rexrainbow

    AndreasR

    Thanks for the reply Rex, and once again thanks to Andreas who has helped me before with other issues. But WebView+ isnt allowing the Auth popup to login. Is there any other way around the issue? Or a sample capX that shows this working on mobile?

    Thanks guys

  • Try Construct 3

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

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

    I am trying to get your FireBase Authentication plugin working on mobile(Facebook login) but cant for the life of me get it to work. I tried Cranberrys "InAppBroswer" plugin but this doesn't work properly ( it gets stuck on the FB login page after entering details ) and i have tried just using the "Browser" object to see if i can get it too work but no luck there either - Have you, or anybody else, using Cocoon, been able to get Firebase Auth to work on mobile?

    Thanks for the plugins Rex, you are awesome.

    Metric

  • I posted this in the "bugs" section but i was just wondering if anybody has the same issue or found a way around it.

    Basically after watching a video ad which then restarts the layout there is no sound at all for the duration of anything in the game, even going to other layouts doesnt trigger and sound. There is however sound if you choose to watch the video ad again, but ONLY for the video - no sound again once the video is finished. Tested using both Intel and Cocoon. Happens on iOS and Android using both Chartboost and AdMod videos.

    Any ideas?

    Peter

  • Problem Description

    After watching a video ad and continuing or restarting the layout no sounds/music is played. There is however sound if you choose to watch the video ad again, but ONLY for the video - no sound again once the video is finished. Tested with both AdMob and Chartboost using both Cocoon and IntelXDK.

    Attach a Capx

    I need to make one. But simply watching a video and then proceeding to the next layout ( sometimes the same layout after watching an add ) all sound stops.

    Description of Capx

    ^

    Steps to Reproduce Bug

    • Watch video ad
    • Proceed to next layout

    Observed Result

    No sound or music plays

    Expected Result

    Music and sound to be played as it would without watching the video ad

    Affected Browsers

    • Android/iOS

    Operating System and Service Pack

    Windows 7 sp1

    Construct 2 Version ID229 64bit

  • The easiest way to achieve that is with 'save game'.

    You could for example trigger the 'save game' with 'On DragDrop drop'

    TextX|On DragDrop drop -> System| Save game to slot "position"

    and load it in the 'on start of layout' event.

    System| On start of layout -> System |Load game from slot "position"

    The whole thing would be much easier if you use only one text-object and instances of it not so many different text-objects. Now in this example you have to trigger 'save game' with every text-object.

    Thank you VERY much Asmodean

    Simply triggering a "Save" on Drop and refreshing the page saves the position of all the text. Your help is extremely appreciated good man.

  • Could anybody point me to a template/tutorial or start me off in the general direction i need to go in to store the location of newly created objects using arrays or any other means?

    Ty

  • Ive looked into using arrays, but couldn't quite wrap my head around it for what im trying to achieve. I was hoping someone could give me a basic template i could build on.

    Thanks again Mind.

METR1C's avatar

METR1C

Member since 2 Jan, 2014

None one is following METR1C yet!

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies