Javanie's Recent Forum Activity

  • Hi, no problem.

    Just use browser Execute javascript then add (select one):

    //For open URL using system browser use this:

    "cordova.InAppBrowser.open('https://www.construct.net', '_system');"

    //For open URL using Cordova InAppBrowser use this

    "cordova.InAppBrowser.open('https://www.construct.net', '_blank');"

    Also don't forget in your config.xml have:

    <access origin="*" />

    <plugin name="cordova-plugin-inappbrowser" />

    Edit:

    Note: This will not working when you run layout preview on PC Web browser.

  • Hi, you're welcome.

    I can't answer your question about "Does Scirra no longer support this plugin that is part of Construct 2?", maybe this post can answer your question:

    https://www.construct.net/en/blogs/construct-official-blog-1/launching-the-new-construct-3-runtime-1048

    Scroll down until you find heading "THE FUTURE'.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Alternative method you can try youtu.be/xHjw3McA4z4 hopefully can help.

    You can use cordova-plugin-ringtone to set an audio file as ringtone, notification tone or alarm tone.

    Call the plugin JS function https://github.com/Hiraqui/cordova-plugin-ringtone#example-3 using browser object.

    If your Android target SDK 22+ then you need cordova-diagnostic-plugin to prompt app permission before using this plugin. For how to implement this plugin in Construct 2 you can watch video tutorial https://youtu.be/aHbY7BkF8Pg

  • Are you mean the new page design without search feature on this tutorial page? https://www.construct.net/en/tutorials

    You can use google, just type:

    For Construct 2 Tutorial

    site:www.construct.net/en/tutorials/construct-2 *Your Keyword here*

    example

    site:www.construct.net/en/tutorials/construct-2 platform tutorial

    For Construct 3 Tutorial

    site:www.construct.net/en/tutorials/construct-3 *Your Keyword here*

    example

    site:www.construct.net/en/tutorials/construct-3 platform tutorial

  • So is Construct 3 still HTML/Javascript Based. Someone had said it outputs in the different game engines language. Like native android and ios and windows, and you don't need plugins and phonegap or cocoon.io(dead) or apk signing or all those little nonsense tools. Which at one point I thought I was pretty awesome because I learned to use all those things. I have one app on Windows Store and 6 on Google play. I mean me IRL I don't know anybody that has ever published any app anywhere.

    My question Is Construct 3 really Magic like they say?

    honestly.

    Construct 3 is more than Magic I think,based on my experience using C2 and C3.

    C2 is powerful enough for creating 2D games but C3 is more than powerful for creating 2D games. Also the dev is very active and we have great community here. I am one of the happy customers using C2 and C3. :)

  • Create one variable, example variable counter

    Event 1: Object on collisions with X -> every 1 second add to counter 1

    Event 2: Counter => 5 then destroy object and set counter to 0

    Note: Also you can use instance variable for the object.

  • You can create a group and put events inside that group, when you need to disable events just set the group disable or set group enable again when needed.

    Example 1 :

    |Group A

    |-Events 1

    |--Events 2

    Player when collisions with X then set Group A Disable

    else

    Set Group A enable

    Example 2 :

    |Group A

    |-Events 1

    |--Events 2

    Player collisions with X then set Group A Disable

    Player collisions with Z then set Group A Enable

  • You can use Cordova CLI to build an APK.

    Software requirement for build APK on Windows 7 or Windows 10:

    1. Node.js --> nodejs.org/en

    2. Apache Cordova CLI "npm install -g cordova"

    3. Java Development Kit (JDK) --> oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

    4. Android SDK --> developer.android.com/studio

    Video Tutorial step by step install all requirement software:

    1. Install Node.js & Cordova CLI --> youtu.be/vA6rGgZx90A

    2. Install JDK & Add Environment Variables --> youtu.be/a_0UPnCuH9A

    3. Install Android SDK Add Environment Variables --> youtu.be/cADh81pw9DU

    Tutorial Cordova Build Debug APK

    youtu.be/PujiWDZBrfA

    Tutorial Create Keystore & Build Release APK

    youtu.be/amYLLFRact8

    Update:

    Construct 2 Build APK Using Android Studio --> youtu.be/_MMSJIpQQeQ

  • chmod your file game executable, because on linux run executable need permission. Execute permission type on terminal:

    only for current user permission

    chmod u+x your_game_executable

    for all user permission

    chmod a+x your_game_executable

  • Create text file on c3 then name it 1.txt, copy this text then paste to 1.txt:

    text1 -end

    text2 -end

    text3 -end

    text4 -end

    text5 -end

    text6 -end

    text7 -end

    text8 -end

    text9 -end

    text10 -end

    then create 1 TextInput, add function, ajax, array, nwjs.

    If you want external file different with project root directory then use copy file on nwjs action,

    Example copy file from C:\1.txt to NWjs.AppFolder then use ajax to request the file ( ajax request file->1.txt).

    Hope helps.

    More information:

    construct.net/en/make-games/manuals/construct-3/plugin-reference/nw-js

Javanie's avatar

Javanie

Member since 1 Apr, 2017

None one is following Javanie yet!

Connect with Javanie

Trophy Case

  • 7-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies