Kyatric's Forum Posts

  • Using the NW.JS "Open in browser" action and actually setting the folder you want to use will open it in the explorer.

    (ie : Open in browser "c:\windows")

  • I confirm both effects work in FF now.

    Good job !

  • Going from a layout to another one, instances are deleted, but the texture for the sprite object stays in memory.

    If you keep piling memory (or memory leak) perhaps do you have some loop in your code that tries to create/destroy objects which could cause such an issue.

    C2 has its own garbage collection so you don't have to worry about this normally, unless you're going against this logic somehow.

    Debug/profile your project to see what may be going on.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    You already asked about this in another post, and the answer was to add the URL you are trying to embed to Intel XDK's whitelist.

    You might also need to add a plugin to your XDK project to allow your application to support iFrames.

    Are you aware that Intel XDK is NOT Construct 2 and that instead of spamming C2's forums you should try and do some search by yourself and post your intel XDK related questions into Intel XDK's forums/support ?

    And also use FAR LESS CAPITAL LETTERS on a general basis.

  • https://www.scirra.com/tutorials/4848/how-to-get-admob-official-plugin-working-on-android-crosswalk => Most up to date tutorial explaining how to use the official Ad Mob plugin and export it out of XDK.

    Since this tutorial, it seems the admob cordova plugin of cranberry games has been removed by Intel in there "featured" list.

    Also this is actually completely out of the scope of Construct 2 and an issue with Cordova/Intel XDK itself.

    This article explains how to add an admob plugin (and so where to find it.

    At the time of writing this message the plugin registry contains a few admob plugins.

    I would attempt using "cordova-plugin-admobpro" - "com.google.cordova.admob".

    I haven't tested it, but it should do the work and is more up to date than cranberry's last plugin.

  • Please don't bump posts less than 24 hours before your last post, this is useless and will ultimately get you in troubles.

    Please read the manual article for the "Touch" object and see how you can use the "On tap object" condition, meaning you can either tap your "Right_key" object or your "Left_key" object and have them have different animations/values for the current animation/turn you've setup.

  • : Indeed floor() has an impact on the number of decimals.

    But it also impacts the result, whether the last decimal is greater than 5 or not, when using "floor" the returned number will always be rounded down, whereas "round" allows to have a distribution in both direction (down if the last decimal is less than 5, up if it is 5 or more).

    To impact on the number of decimals you want, modify the value "100" to bigger, depending on the decimals you need.

  • sizcoz: Looks nice in Chrome, doesn't works in FireFox though.

  • What do you mean "open a folder". Are you implying displaying it in the windows explorer ?

    Are you using NW.JS and its dialogs or are you attempting a browser to open a folder on the local hard drive ?

    Please be more specific on what you are wanting to exactly achieve and under which circumstances.

    NW.JS can open a folder using the "Show folder dialog" action for example.

  • Make sure your graphic card drivers are up to date.

    Consider posting your capx directly so others can open it up and see if it happens on their end as well.

    It will also make investigating the issue easier.

  • The actual expression is spelled "Ceil()" and it will round to the upper integer.

    In doubts always refer to the system expressions manual article.

    Asmodean formula is the best answer for your actual question.

  • Don't bump your post before 24 hours have passed.

    Especially since this has nothing to do with Construct 2 but is HTML language.

    Set the size in the <img> tag.

    http://www.w3schools.com/tags/tag_img.asp

    I've removed the bumps from this topic.

  • Carbincopy: Cool job (although it is a bit of a monologue you have there), but please next time, do edit your post yourself instead of multiposting in a row.

    Bumps of 24 hours are the only one accepted.

  • Your project is indeed messy. Too messy for it not to be faulty I assume but honestly, I can't review 800+ events and tell you how/where.

    "Has gamepads" does work as intended in a clear new project.

    If it doesn't work as intended in your game, I would then suspect your game's logic is at fault.

  • Use the browser object.

    One of its action is "Close". If the script is permitted, it will close the tab/windows currently executing.

    As mentioned it may not work 100% everywhere, as it depends on some user's given permission.

    But that's the closest answer to the question you did ask.