METR1C's Forum Posts

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Hi Mind,

    I tried using local/web storage but i have no idea how to save coordinates with it. And seeing as an infinite amount of new objects could be created, would a new web/local storage not be needed for each of them.

    Thanks

  • Hello all,

    Im working on a calendar like app and i want to save the position of text placed on various points on the calendar. It works ok until the app is forced closed, or the device goes dead or if you refresh the page. The .capx is attached, simply drag any text from the left over to the dates on the right. What i want to happen is as you drag the text over to the right, the position of that newly created text will be saved for when you open the app again.

    https://www.dropbox.com/s/uh2gsr3m4ehjw ... .capx?dl=0

    Thanks guys

  • Try this:

    Thank you very much Phimaka, that worked perfect. So simple when you know how eh

  • There is something wrong with your link.

    Fixed, apologies

  • Getting no joy on the How Do I sections of the forums so i thought i would post this here and hopefully get a bit more visibility.

    "Hello,

    I have a progress bar that scales with the number of points gained. The bar has 3 stages - bronze,silver and gold. When the Bronze bar reaches its limit ( 500 ) it changes to a Silver bar, however, the silver bar progress is halfway filled as the points are currently at 500/1000. I cant reset the points when the bar reaches Silver as that just creates the Bronze bar again.

    What i need is for each goal reached, the progress bar resets to 0width instead of continuing from the previous goal.

    CapX is attached for those that can help. Just press the "+" to add points and you will see what i mean.

    https://www.dropbox.com/s/ndtommlh1nnth ... .capx?dl=0

    Thanks in advance

    Metr1c"

  • *Bump - Anybody?

  • Hello,

    I have a progress bar that scales with the number of points gained. The bar has 3 stages - bronze,silver and gold. When the Bronze bar reaches its limit ( 500 ) it changes to a Silver bar, however, the silver bar progress is halfway filled as the points are currently at 500/1000. I cant reset the points when the bar reaches Silver as that just creates the Bronze bar again.

    What i need is for each goal reached, the progress bar resets to 0width instead of continuing from the previous goal.

    CapX is attached for those that can help. Just press the "+" to add points and you will see what i mean.

    https://www.dropbox.com/s/ndtommlh1nnth ... .capx?dl=0

    Thanks in advance

    Metr1c

  • cranberrygame

    On the Facebook plugin, regarding the leaderboards - is it possible for the leaderboard to also show the profile picture of your friends on the leaderboard?

    Thanks

    Metric

  • gmgllc

    cranberrygame

    I managed to get this working with Cranberrys plugin. I had to actually export the .apk and run it on my phone for it to work. Login works, posting to wall works and friend leader-board works. ( though you can only see friends scores that are "Test users" on your FB dev account until you submit it for review )

    BIG thank you to Cranberry for making this so easy and possible.